Searched refs:displayLocale (Results 1 – 2 of 2) sorted by relevance
115 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() argument116 final ULocale displayULocale = ULocale.forLocale(displayLocale); in getDisplayName()120 return sentenceCase ? toSentenceCase(result, displayLocale) : result; in getDisplayName()142 public static String getDisplayCountry(Locale locale, Locale displayLocale) { in getDisplayCountry() argument144 final ULocale uDisplayLocale = ULocale.forLocale(displayLocale); in getDisplayCountry()175 LocaleList locales, Locale displayLocale, @IntRange(from=1) int maxLocales) { in getDisplayLocaleList() argument177 final Locale dispLocale = displayLocale == null ? Locale.getDefault() : displayLocale; in getDisplayLocaleList()
522 @Nullable Locale displayLocale, @Nullable Locale localeToDisplay, in getLocaleDisplayName()528 displayLocale != null ? displayLocale : Locale.getDefault(); in getLocaleDisplayName()