Searched refs:nameAlt (Results 1 – 3 of 3) sorted by relevance
215 public static String getInitials(String name, String nameAlt) { in getInitials() argument221 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()
286 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() argument534 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()
1492 String nameAlt = null; in queryNameOfLinkedContacts() local1498 nameAlt = cursor.getString(2); in queryNameOfLinkedContacts()1506 final String formattedName = ContactDisplayUtils.getPreferredDisplayName(name, nameAlt, in queryNameOfLinkedContacts()