/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 49 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/ |
D | BlockNumberDialogFragment.java | 33 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/ |
D | AlphaTouchInterceptorOverlay.java | 23 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/ |
D | PhoneCallDetails.java | 28 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/ |
D | PhoneNumberInteraction.java | 54 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/ |
D | ContactDisplayUtils.java | 35 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/ |
D | ContactDisplayUtils.java | 35 public class ContactDisplayUtils { class 244 return ContactDisplayUtils.getTelephoneTtsSpannable(msg, number); in getTtsSpannedPhoneNumber()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | VisualVoicemailNotifier.java | 35 import com.android.contacts.common.util.ContactDisplayUtils; 163 ContactDisplayUtils.getTtsSpannedPhoneNumber( in createNotificationForVoicemail()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactDeletionInteraction.java | 44 import com.android.contacts.util.ContactDisplayUtils; 353 final String name = ContactDisplayUtils.getPreferredDisplayName(mDisplayName, in doDeleteContact()
|
D | ContactMultiDeletionInteraction.java | 40 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/ |
D | Vvm3VoicemailMessageCreator.java | 29 import com.android.contacts.common.util.ContactDisplayUtils; 284 return ContactDisplayUtils.getTtsSpannedPhoneNumber( in getCustomerSupportString()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 116 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/ |
D | SpecialCharSequenceMgr.java | 56 import com.android.contacts.common.util.ContactDisplayUtils; 627 ContactDisplayUtils.getTtsSpannedPhoneNumber( in onNotNullableQueryComplete()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | BaseAccountType.java | 46 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/ |
D | BaseAccountType.java | 42 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/ |
D | ContactListItemView.java | 59 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/ |
D | ContactDisplayUtils.java | 53 public class ContactDisplayUtils { class
|
/packages/apps/Contacts/ |
D | proguard.flags | 91 -keep class com.android.contacts.util.ContactDisplayUtils { *; }
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 89 import com.android.contacts.util.ContactDisplayUtils; 1456 return ContactDisplayUtils.getPreferredDisplayName(displayName, displayNameAlt, in getNameToDisplay()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 68 import com.android.contacts.util.ContactDisplayUtils; 1506 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()
|