Searched refs:bestLocale (Results 1 – 2 of 2) sorted by relevance
285 final Locale bestLocale = context.getResources().getConfiguration().getLocales().get(0); in updateLocaleListFromAppContext() local289 if (bestLocale.equals(newLocaleList.get(i))) { in updateLocaleListFromAppContext()298 LocaleList.setDefault(new LocaleList(bestLocale, newLocaleList)); in updateLocaleListFromAppContext()
490 final Locale bestLocale = locales.getFirstMatchWithEnglishSupported( in updateConfigurationImpl() local492 if (bestLocale != null) { in updateConfigurationImpl()494 adjustLanguageTag(bestLocale.toLanguageTag())}; in updateConfigurationImpl()495 if (!bestLocale.equals(locales.get(0))) { in updateConfigurationImpl()497 new LocaleList(bestLocale, locales)); in updateConfigurationImpl()