Searched refs:bestLocale (Results 1 – 2 of 2) sorted by relevance
426 final Locale bestLocale = locales.getFirstMatchWithEnglishSupported( in updateConfiguration() local428 if (bestLocale != null && bestLocale != locales.get(0)) { in updateConfiguration()429 mConfiguration.setLocales(new LocaleList(bestLocale, locales)); in updateConfiguration()
6146 final Locale bestLocale = context.getResources().getConfiguration().getLocales().get(0); in updateLocaleListFromAppContext() local6149 if (bestLocale.equals(newLocaleList.get(i))) { in updateLocaleListFromAppContext()6158 LocaleList.setDefault(new LocaleList(bestLocale, newLocaleList)); in updateLocaleListFromAppContext()