Home
last modified time | relevance | path

Searched refs:bestLocale (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/res/
DResourcesImpl.java426 final Locale bestLocale = locales.getFirstMatchWithEnglishSupported( in updateConfiguration() local
428 if (bestLocale != null && bestLocale != locales.get(0)) { in updateConfiguration()
429 mConfiguration.setLocales(new LocaleList(bestLocale, locales)); in updateConfiguration()
/frameworks/base/core/java/android/app/
DActivityThread.java6146 final Locale bestLocale = context.getResources().getConfiguration().getLocales().get(0); in updateLocaleListFromAppContext() local
6149 if (bestLocale.equals(newLocaleList.get(i))) { in updateLocaleListFromAppContext()
6158 LocaleList.setDefault(new LocaleList(bestLocale, newLocaleList)); in updateLocaleListFromAppContext()