Home
last modified time | relevance | path

Searched refs:ContactDisplayUtils (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DContactDisplayUtilTests.java49 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); in testIsCustomPhoneTypeReturnsTrue()
50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT)); in testIsCustomPhoneTypeReturnsTrue()
54 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME)); in testIsCustomPhoneTypeReturnsFalse()
55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK)); in testIsCustomPhoneTypeReturnsFalse()
56 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE)); in testIsCustomPhoneTypeReturnsFalse()
57 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER)); in testIsCustomPhoneTypeReturnsFalse()
61 assertEquals(R.string.call_other, ContactDisplayUtils.getPhoneLabelResourceId(null)); in testGetPhoneLabelResourceIdReturnsOther()
65 assertEquals(R.string.call_home, ContactDisplayUtils.getPhoneLabelResourceId( in testGetPhoneLabelResourceIdReturnsMatchHome()
70 assertEquals(R.string.sms_other, ContactDisplayUtils.getSmsLabelResourceId(null)); in testGetSmsLabelResourceIdReturnsOther()
74 assertEquals(R.string.sms_home, ContactDisplayUtils.getSmsLabelResourceId(Phone.TYPE_HOME)); in testGetSmsLabelResourceIdReturnsMatchHome()
[all …]
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java33 import com.android.contacts.common.util.ContactDisplayUtils;
135 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onCreateDialog()
140 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onCreateDialog()
180 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onActivityCreated()
201 return ContactDisplayUtils.getTtsSpannedPhoneNumber( in getBlockedMessage()
206 return ContactDisplayUtils.getTtsSpannedPhoneNumber( in getUnblockedMessage()
/packages/apps/Contacts/src/com/android/contacts/widget/
DAlphaTouchInterceptorOverlay.java23 import com.android.contacts.detail.ContactDisplayUtils;
69 if (mAlphaLayer == this) ContactDisplayUtils.setAlphaOnViewBackground(this, 0.0f); in setAlphaLayer()
79 ContactDisplayUtils.setAlphaOnViewBackground(mAlphaLayer, mAlpha); in setAlphaLayerValue()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java28 import com.android.contacts.common.util.ContactDisplayUtils;
166 ContactDisplayUtils.getTelephoneTtsSpannable(msg, viaNumber); in createAccountLabelDescription()
170 ContactDisplayUtils.getTtsSpannedPhoneNumber( in createAccountLabelDescription()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java54 import com.android.contacts.common.util.ContactDisplayUtils;
182 case ContactDisplayUtils.INTERACTION_SMS: in performAction()
210 activity, ContactDisplayUtils.INTERACTION_CALL, isVideoCall, callSpecificAppData) in startInteractionForPhoneCall()
474 ContactDisplayUtils.getLabelForCallOrSms( in getView()
544 interactionType == ContactDisplayUtils.INTERACTION_SMS in onCreateDialog()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java35 public class ContactDisplayUtils { class
37 private static final String TAG = ContactDisplayUtils.class.getSimpleName();
199 return ContactDisplayUtils.getTelephoneTtsSpannable(msg, number); in getTtsSpannedPhoneNumber()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java35 public class ContactDisplayUtils { class
244 return ContactDisplayUtils.getTelephoneTtsSpannable(msg, number); in getTtsSpannedPhoneNumber()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailNotifier.java35 import com.android.contacts.common.util.ContactDisplayUtils;
163 ContactDisplayUtils.getTtsSpannedPhoneNumber( in createNotificationForVoicemail()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactDeletionInteraction.java44 import com.android.contacts.util.ContactDisplayUtils;
353 final String name = ContactDisplayUtils.getPreferredDisplayName(mDisplayName, in doDeleteContact()
DContactMultiDeletionInteraction.java40 import com.android.contacts.util.ContactDisplayUtils;
217 final String name = ContactDisplayUtils.getPreferredDisplayName(displayName, in onLoadFinished()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVvm3VoicemailMessageCreator.java29 import com.android.contacts.common.util.ContactDisplayUtils;
284 return ContactDisplayUtils.getTtsSpannedPhoneNumber( in getCustomerSupportString()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java116 import com.android.contacts.detail.ContactDisplayUtils;
955 final String displayName = ContactDisplayUtils.getDisplayName(this, data).toString(); in bindContactData()
958 final String phoneticName = ContactDisplayUtils.getPhoneticName(this, data); in bindContactData()
1542 phoneContentDescription = com.android.contacts.util.ContactDisplayUtils in dataItemToEntry()
1556 smsContentDescription = com.android.contacts.util.ContactDisplayUtils in dataItemToEntry()
2200 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in toggleStar()
2319 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in onPrepareOptionsMenu()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java56 import com.android.contacts.common.util.ContactDisplayUtils;
627 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onNotNullableQueryComplete()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java46 import com.android.contacts.util.ContactDisplayUtils;
541 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom()
546 return ContactDisplayUtils.getPhoneLabelResourceId(type); in getTypeLabelResource()
553 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom()
558 return ContactDisplayUtils.getSmsLabelResourceId(type); in getTypeLabelResource()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java42 import com.android.contacts.common.util.ContactDisplayUtils;
684 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom()
689 return ContactDisplayUtils.getPhoneLabelResourceId(type); in getTypeLabelResource()
697 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom()
702 return ContactDisplayUtils.getSmsLabelResourceId(type); in getTypeLabelResource()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java59 import com.android.contacts.util.ContactDisplayUtils;
1397 if (ContactDisplayUtils.isPossiblePhoneNumber(text)) { in setSnippet()
1534 if (ContactDisplayUtils.isPossiblePhoneNumber(name)) { in setDisplayName()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java53 public class ContactDisplayUtils { class
/packages/apps/Contacts/
Dproguard.flags91 -keep class com.android.contacts.util.ContactDisplayUtils { *; }
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java89 import com.android.contacts.util.ContactDisplayUtils;
1456 return ContactDisplayUtils.getPreferredDisplayName(displayName, displayNameAlt, in getNameToDisplay()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java68 import com.android.contacts.util.ContactDisplayUtils;
1506 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()