Searched refs:allLocales (Results 1 – 2 of 2) sorted by relevance
106 String[] allLocales = context.getResources().getStringArray(R.array.supported_locales); in getSupportedLocales() local110 return allLocales; in getSupportedLocales()113 List<String> result = new ArrayList<>(allLocales.length); in getSupportedLocales()114 for (String locale : allLocales) { in getSupportedLocales()121 return (localeCount == allLocales.length) ? allLocales in getSupportedLocales()
549 final HashMap<Locale, Locale> allLocales = new HashMap<>(supportedLocales.length); in resolveLocales() local552 allLocales.put(toFullLocale(locale), locale); in resolveLocales()563 allLocales.remove(toFullLocale(locale)); in resolveLocales()569 getFilteredLocale(restore.get(i), allLocales)); in resolveLocales()606 HashMap<Locale, Locale> allLocales) { in getFilteredLocale() argument607 Locale locale = allLocales.remove(toFullLocale(restoreLocale)); in getFilteredLocale()617 return allLocales.remove(toFullLocale(filteredLocale)); in getFilteredLocale()