Lines Matching refs:locale
91 Locale locale = new Locale("", entry.mIso);
92 String[] tz = TimeZoneNames.forLocale(locale);
187 Locale locale = null;
190 locale = getLocaleFromMcc(context, mcc);
204 if (locale != null) {
205 config.setLocale(locale);
254 // If this is a regular user and they already have a persisted locale, we're done.
276 for (String locale : locales) {
277 final Locale l = Locale.forLanguageTag(locale.replace('_', '-'));
291 // Otherwise somewhat arbitrarily take the first locale for the language,
301 // We didn't find the exact locale, so return whichever locale we saw first where
319 * Utility code to set the system locale if it's not set already
327 Locale locale = getLocaleForLanguageCountry(context, language, country);
328 if (locale != null) {
330 config.setLocale(locale);
339 Slog.d(LOG_TAG, "setSystemLocale: no locale");
367 * @return locale for the mcc or null if none