Searched refs:alternativeName (Results 1 – 2 of 2) sorted by relevance
136 default String getDisplayName(@Nullable String primaryName, @Nullable String alternativeName) { in getDisplayName() argument137 if (TextUtils.isEmpty(alternativeName)) { in getDisplayName()144 return alternativeName; in getDisplayName()150 default String getSortName(@Nullable String primaryName, @Nullable String alternativeName) { in getSortName() argument151 if (TextUtils.isEmpty(alternativeName)) { in getSortName()158 return alternativeName; in getSortName()
219 private static Pair<Locale, String> getFriendlyName(String alternativeName) { in getFriendlyName() argument222 if (TextUtils.isEmpty(alternativeName) || alternativeName.length() < LANGUAGE_CODE_LENGTH) { in getFriendlyName()227 String language = alternativeName.substring(0, LANGUAGE_CODE_LENGTH); in getFriendlyName()237 String friendlyName = alternativeName.substring(LANGUAGE_CODE_LENGTH); in getFriendlyName()