Searched refs:getPreferredDisplayName (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 78 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_NullContactsPreferences() 83 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, null, in testGetPreferredDisplayName_NullContactsPreferences_NullAlternative() 88 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(null, in testGetPreferredDisplayName_NullContactsPreferences_NullPrimary() 93 assertNull(ContactDisplayUtils.getPreferredDisplayName(null, null, null)); in testGetPreferredDisplayName_NullContactsPreferences_BothNull() 99 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, "", in testGetPreferredDisplayName_EmptyAlternative() 105 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_InvalidPreference() 112 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Primary() 119 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Alternative()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactEntry.java | 43 public String getPreferredDisplayName(Context context) { in getPreferredDisplayName() method in ContactEntry
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoriteSquareTileView.java | 107 return contactEntry.getPreferredDisplayName(getContext()); in getNameForView()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 127 .setDisplayName(entry.getPreferredDisplayName(context)) in refresh()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 212 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 | 1456 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()
|