Searched refs:targetLocale (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 427 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry() argument 428 return getDisplayCountryNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayCountry() 433 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage() argument 434 return getDisplayLanguageNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayLanguage() 439 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant() argument 440 return getDisplayVariantNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayVariant() 445 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript() argument 446 return getDisplayScriptNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayScript()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 886 public static final ResourceBundle getBundle(String baseName, Locale targetLocale, in getBundle() argument 888 return getBundleImpl(baseName, targetLocale, in getBundle() 1288 public static ResourceBundle getBundle(String baseName, Locale targetLocale, in getBundle() argument 1293 return getBundleImpl(baseName, targetLocale, loader, control); in getBundle() 1350 for (Locale targetLocale = locale; in getBundleImpl() 1351 targetLocale != null; in getBundleImpl() 1352 targetLocale = control.getFallbackLocale(baseName, targetLocale)) { in getBundleImpl() 1353 List<Locale> candidateLocales = control.getCandidateLocales(baseName, targetLocale); in getBundleImpl() 1413 Locale targetLocale = candidateLocales.get(index); in findBundle() local 1418 } else if (baseBundle != null && Locale.ROOT.equals(targetLocale)) { in findBundle() [all …]
|