Searched refs:bestLocale (Results 1 – 2 of 2) sorted by relevance
398 final Locale bestLocale = locales.getFirstMatchWithEnglishSupported( in updateConfiguration() local400 if (bestLocale != null && bestLocale != locales.get(0)) { in updateConfiguration()401 mConfiguration.setLocales(new LocaleList(bestLocale, locales)); in updateConfiguration()
5521 final Locale bestLocale = context.getResources().getConfiguration().getLocales().get(0); in updateLocaleListFromAppContext() local5524 if (bestLocale.equals(newLocaleList.get(i))) { in updateLocaleListFromAppContext()5533 LocaleList.setDefault(new LocaleList(bestLocale, newLocaleList)); in updateLocaleListFromAppContext()