Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java510 private final LocaleSet mLocales; field in ContactLocaleUtils
515 mLocales = LocaleSet.newDefault(); in ContactLocaleUtils()
517 mLocales = locales; in ContactLocaleUtils()
519 if (mLocales.shouldPreferJapanese()) { in ContactLocaleUtils()
520 mUtils = new JapaneseContactUtils(mLocales); in ContactLocaleUtils()
521 } else if (mLocales.shouldPreferSimplifiedChinese()) { in ContactLocaleUtils()
522 mUtils = new SimplifiedChineseContactUtils(mLocales); in ContactLocaleUtils()
524 mUtils = new ContactLocaleUtilsBase(mLocales); in ContactLocaleUtils()
526 Log.i(TAG, "AddressBook Labels [" + mLocales.toString() + "]: " in ContactLocaleUtils()
531 return mLocales.equals(locales); in isLocale()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DUserDictionaryPreferenceControllerTest.java71 mController.mLocales.add("en"); in updateState_singleLocale_setUserDictionarySettingsAsFragment_setLocaleInExtra()
82 mController.mLocales.add("en"); in updateState_multiLocale_setUserDictionaryListAsFragment()
83 mController.mLocales.add("de"); in updateState_multiLocale_setUserDictionaryListAsFragment()
95 private TreeSet<String> mLocales = new TreeSet<>(); field in UserDictionaryPreferenceControllerTest.TestController
99 return mLocales; in getDictionaryLocales()