Searched refs:sLocaleCache (Results 1 – 2 of 2) sorted by relevance
164 private static final HashMap<String, Locale> sLocaleCache = new HashMap<>(); field in LocaleUtils173 synchronized (sLocaleCache) { in constructLocaleFromString()174 if (sLocaleCache.containsKey(localeString)) { in constructLocaleFromString()175 return sLocaleCache.get(localeString); in constructLocaleFromString()187 sLocaleCache.put(localeString, locale); in constructLocaleFromString()
38 private static final HashMap<String, Locale> sLocaleCache = new HashMap<>(); field in LocaleUtils57 synchronized (sLocaleCache) { in constructLocaleFromString()58 if (sLocaleCache.containsKey(localeStr)) { in constructLocaleFromString()59 return sLocaleCache.get(localeStr); in constructLocaleFromString()92 sLocaleCache.put(localeStr, locale); in constructLocaleFromString()