/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 112 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_NullContactsPreferences() 117 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, null, in testGetPreferredDisplayName_NullContactsPreferences_NullAlternative() 122 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(null, in testGetPreferredDisplayName_NullContactsPreferences_NullPrimary() 127 assertNull(ContactDisplayUtils.getPreferredDisplayName(null, null, null)); in testGetPreferredDisplayName_NullContactsPreferences_BothNull() 133 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, "", in testGetPreferredDisplayName_EmptyAlternative() 139 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_InvalidPreference() 146 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Primary() 153 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Alternative()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactEntry.java | 49 public String getPreferredDisplayName() { in getPreferredDisplayName() method in ContactEntry
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoriteSquareTileView.java | 113 return contactEntry.getPreferredDisplayName(); in getNameForView()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 127 .setDisplayName(entry.getPreferredDisplayName()) in refresh()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallCardPresenter.java | 977 ContactDisplayUtils.getPreferredDisplayName( in getNameForCall() 990 ContactDisplayUtils.getPreferredDisplayName( in getNumberForCall()
|
D | ExternalCallNotifier.java | 395 ContactDisplayUtils.getPreferredDisplayName( in getContentTitle()
|
D | ConferenceParticipantListAdapter.java | 236 ContactDisplayUtils.getPreferredDisplayName( in getView()
|
D | StatusBarNotifier.java | 573 ContactDisplayUtils.getPreferredDisplayName( in getContentTitle()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 260 public static String getPreferredDisplayName( in getPreferredDisplayName() method in ContactDisplayUtils
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 253 public static String getPreferredDisplayName(String namePrimary, String nameAlternative, in getPreferredDisplayName() method in ContactDisplayUtils
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactDeletionInteraction.java | 353 final String name = ContactDisplayUtils.getPreferredDisplayName(mDisplayName, in doDeleteContact()
|
D | ContactMultiDeletionInteraction.java | 217 final String name = ContactDisplayUtils.getPreferredDisplayName(displayName, in onLoadFinished()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 1408 return ContactDisplayUtils.getPreferredDisplayName(displayName, displayNameAlt, in getNameToDisplay()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 1506 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()
|