/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); in testIsCustomPhoneTypeReturnsTrue() 51 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT)); in testIsCustomPhoneTypeReturnsTrue() 55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME)); in testIsCustomPhoneTypeReturnsFalse() 56 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK)); in testIsCustomPhoneTypeReturnsFalse() 57 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE)); in testIsCustomPhoneTypeReturnsFalse() 58 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER)); in testIsCustomPhoneTypeReturnsFalse() 62 assertEquals(R.string.call_other, ContactDisplayUtils.getPhoneLabelResourceId(null)); in testGetPhoneLabelResourceIdReturnsOther() 66 assertEquals(R.string.call_home, ContactDisplayUtils.getPhoneLabelResourceId( in testGetPhoneLabelResourceIdReturnsMatchHome() 71 assertEquals(R.string.sms_other, ContactDisplayUtils.getSmsLabelResourceId(null)); in testGetSmsLabelResourceIdReturnsOther() 75 assertEquals(R.string.sms_home, ContactDisplayUtils.getSmsLabelResourceId(Phone.TYPE_HOME)); in testGetSmsLabelResourceIdReturnsMatchHome() [all …]
|
/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/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/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/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/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/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/voicemail/listui/error/ |
D | Vvm3VoicemailMessageCreator.java | 29 import com.android.contacts.common.util.ContactDisplayUtils; 284 return ContactDisplayUtils.getTtsSpannedPhoneNumber( in getCustomerSupportString()
|
/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 | ContactMultiDeletionInteraction.java | 40 import com.android.contacts.util.ContactDisplayUtils; 217 final String name = ContactDisplayUtils.getPreferredDisplayName(displayName, in onLoadFinished()
|
D | ContactDeletionInteraction.java | 45 import com.android.contacts.util.ContactDisplayUtils; 357 final String name = ContactDisplayUtils.getPreferredDisplayName(mDisplayName, in doDeleteContact()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 116 import com.android.contacts.detail.ContactDisplayUtils; 956 final String displayName = ContactDisplayUtils.getDisplayName(this, data).toString(); in bindContactData() 959 final String phoneticName = ContactDisplayUtils.getPhoneticName(this, data); in bindContactData() 1436 text = ContactDisplayUtils in dataItemToEntry() 1547 phoneContentDescription = com.android.contacts.util.ContactDisplayUtils in dataItemToEntry() 1561 smsContentDescription = com.android.contacts.util.ContactDisplayUtils in dataItemToEntry() 2205 ContactDisplayUtils.configureStarredMenuItem(starredMenuItem, in toggleStar() 2328 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 | 47 import com.android.contacts.util.ContactDisplayUtils; 544 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom() 549 return ContactDisplayUtils.getPhoneLabelResourceId(type); in getTypeLabelResource() 556 return ContactDisplayUtils.isCustomPhoneType(type); in isCustom() 561 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/detail/ |
D | ContactDisplayUtils.java | 54 public class ContactDisplayUtils { class
|
/packages/apps/Contacts/ |
D | proguard.flags | 90 -keep class com.android.contacts.util.ContactDisplayUtils { *; }
|
/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/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 | 69 import com.android.contacts.util.ContactDisplayUtils; 1514 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()
|