Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java106 String[] allLocales = context.getResources().getStringArray(R.array.supported_locales); in getSupportedLocales() local
110 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()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java549 final HashMap<Locale, Locale> allLocales = new HashMap<>(supportedLocales.length); in resolveLocales() local
552 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() argument
607 Locale locale = allLocales.remove(toFullLocale(restoreLocale)); in getFilteredLocale()
617 return allLocales.remove(toFullLocale(filteredLocale)); in getFilteredLocale()