Home
last modified time | relevance | path

Searched refs:targetLocale (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java886 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 …]
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java358 private static void assertRootDataEqualsToTargetLocaleData(Locale targetLocale) { in assertRootDataEqualsToTargetLocaleData() argument
361 android.icu.util.Calendar icuCalendar = android.icu.util.Calendar.getInstance(targetLocale); in assertRootDataEqualsToTargetLocaleData()
364 android.icu.text.DateFormatSymbols.getInstance(targetLocale); in assertRootDataEqualsToTargetLocaleData()
367 android.icu.text.DecimalFormatSymbols.getInstance(targetLocale); in assertRootDataEqualsToTargetLocaleData()