Home
last modified time | relevance | path

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

/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java37 private static final HashMap<String, LocaleInfo> sLocaleCache = new HashMap<>(); field in LocaleStore
230 for (LocaleInfo li : sLocaleCache.values()) { in updateSimCountries()
254 for (LocaleInfo li : sLocaleCache.values()) { in addSuggestedLocalesForRegion()
292 sLocaleCache.put(li.getId(), li); in fillCache()
296 if (!sLocaleCache.containsKey(parentId)) { in fillCache()
297 sLocaleCache.put(parentId, new LocaleInfo(parent)); in fillCache()
310 if (sLocaleCache.containsKey(li.getId())) { // the simple case, e.g. fr-CH in fillCache()
311 cachedLocale = sLocaleCache.get(li.getId()); in fillCache()
314 if (sLocaleCache.containsKey(langScriptCtry)) { in fillCache()
315 cachedLocale = sLocaleCache.get(langScriptCtry); in fillCache()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java47 private static final HashMap<String, LocaleInfo> sLocaleCache = new HashMap<>(); field in LocaleStore
337 for (LocaleInfo li : sLocaleCache.values()) { in updateSimCountries()
369 LocaleInfo cacheInfo = getLocaleInfo(locale, sLocaleCache); in getAppActivatedLocaleInfo()
399 LocaleInfo cacheInfo = getLocaleInfo(locale, sLocaleCache); in transformImeLanguageTagToLocaleInfo()
416 LocaleInfo cacheInfo = getLocaleInfo(sysLocale, sLocaleCache); in getSystemCurrentLocales()
451 for (LocaleInfo li : sLocaleCache.values()) { in addSuggestedLocalesForRegion()
501 sLocaleCache.put(li.getId(), li); in fillCache()
505 if (!sLocaleCache.containsKey(parentId)) { in fillCache()
506 sLocaleCache.put(parentId, new LocaleInfo(parent)); in fillCache()
519 if (sLocaleCache.containsKey(li.getId())) { // the simple case, e.g. fr-CH in fillCache()
[all …]