Home
last modified time | relevance | path

Searched refs:nameAlt (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java215 public static String getInitials(String name, String nameAlt) { in getInitials() argument
221 if (!TextUtils.isEmpty(nameAlt) in getInitials()
222 && !TextUtils.equals(name, nameAlt) in getInitials()
223 && Character.isLetter(nameAlt.charAt(0))) { in getInitials()
224 initials.append(Character.toUpperCase(nameAlt.charAt(0))); in getInitials()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java286 String nameAlt = null; in getPhoneNumberInfo()
310 nameAlt = cursor.getString(altNameColumn); in getPhoneNumberInfo()
318 initials = getInitials(name, nameAlt); in getPhoneNumberInfo()
529 public static String getInitials(String name, String nameAlt) { in getInitials() argument
534 if (!TextUtils.isEmpty(nameAlt) in getInitials()
535 && !TextUtils.equals(name, nameAlt) in getInitials()
536 && Character.isLetter(nameAlt.charAt(0))) { in getInitials()
537 initials.append(Character.toUpperCase(nameAlt.charAt(0))); in getInitials()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1492 String nameAlt = null; in queryNameOfLinkedContacts() local
1498 nameAlt = cursor.getString(2); in queryNameOfLinkedContacts()
1506 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()