Searched refs:targetLocale (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 401 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry() argument 402 return getDisplayCountryNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayCountry() 407 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage() argument 408 return getDisplayLanguageNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayLanguage() 413 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant() argument 414 return getDisplayVariantNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayVariant() 419 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript() argument 420 return getDisplayScriptNative(targetLocale.toLanguageTag(), locale.toLanguageTag()); in getDisplayScript()
|
/libcore/luni/src/main/java/java/util/ |
D | ResourceBundle.java | 270 Locale targetLocale, ResourceBundle.Control control) { in getBundle() argument 271 return getBundle(baseName, targetLocale, getLoader(), control); in getBundle() 298 Locale targetLocale, ClassLoader loader, in getBundle() argument 301 String bundleName = control.toBundleName(baseName, targetLocale); in getBundle() 306 long time = control.getTimeToLive(baseName, targetLocale); in getBundle() 311 + targetLocale, EMPTY_STRING); in getBundle() 318 ResourceBundle ret = processGetBundle(baseName, targetLocale, loader, in getBundle() 327 throw new MissingResourceException(null, bundleName + '_' + targetLocale, EMPTY_STRING); in getBundle() 331 Locale targetLocale, ClassLoader loader, in processGetBundle() argument 334 List<Locale> locales = control.getCandidateLocales(baseName, targetLocale); in processGetBundle() [all …]
|