Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java298 String nameAlt = null; in getPhoneNumberInfo()
322 nameAlt = cursor.getString(altNameColumn); in getPhoneNumberInfo()
330 initials = getInitials(name, nameAlt); in getPhoneNumberInfo()
541 public static String getInitials(String name, String nameAlt) { in getInitials() argument
546 if (!TextUtils.isEmpty(nameAlt) in getInitials()
547 && !TextUtils.equals(name, nameAlt) in getInitials()
548 && Character.isLetter(nameAlt.charAt(0))) { in getInitials()
549 initials.append(Character.toUpperCase(nameAlt.charAt(0))); in getInitials()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java294 public static String getInitials(String name, String nameAlt) { in getInitials() argument
300 if (!TextUtils.isEmpty(nameAlt) in getInitials()
301 && !TextUtils.equals(name, nameAlt) in getInitials()
302 && Character.isLetter(nameAlt.charAt(0))) { in getInitials()
303 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()