Home
last modified time | relevance | path

Searched refs:getLocaleInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DSuggestedLocaleAdapterTest.java44 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
45 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.GERMANY)); in setUp()
46 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.JAPAN)); in setUp()
47 LocaleInfo korea = LocaleStore.getLocaleInfo(Locale.KOREA); in setUp()
53 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
54 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.UK)); in setUp()
55 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.CANADA)); in setUp()
56 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-IN"))); in setUp()
57 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-HK"))); in setUp()
58 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-SG"))); in setUp()
[all …]
DLocaleHelperTest.java73 LocaleInfo germany = LocaleStore.getLocaleInfo(Locale.GERMANY); in localeInfoComparator_shouldSortLocales()
74 LocaleInfo unitedStates = LocaleStore.getLocaleInfo(Locale.US); in localeInfoComparator_shouldSortLocales()
75 LocaleInfo japan = LocaleStore.getLocaleInfo(Locale.JAPAN); in localeInfoComparator_shouldSortLocales()
DLocaleStoreTest.java63 LocaleInfo localeInfo = LocaleStore.getLocaleInfo(Locale.forLanguageTag("zh-Hant-HK")); in getLevel()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DBilingualSuggestedLocaleAdapterTest.java45 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
46 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.GERMANY)); in setUp()
47 mLocaleOptions.add(LocaleStore.getLocaleInfo(Locale.JAPAN)); in setUp()
48 LocaleInfo korea = LocaleStore.getLocaleInfo(Locale.KOREA); in setUp()
54 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.US)); in setUp()
55 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.UK)); in setUp()
56 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.CANADA)); in setUp()
57 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-IN"))); in setUp()
58 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-HK"))); in setUp()
59 mEnglishCountryOptions.add(LocaleStore.getLocaleInfo(Locale.forLanguageTag("en-SG"))); in setUp()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java369 LocaleInfo cacheInfo = getLocaleInfo(locale, sLocaleCache); in getAppActivatedLocaleInfo()
399 LocaleInfo cacheInfo = getLocaleInfo(locale, sLocaleCache); in transformImeLanguageTagToLocaleInfo()
416 LocaleInfo cacheInfo = getLocaleInfo(sysLocale, sLocaleCache); in getSystemCurrentLocales()
628 LocaleInfo localeInfo = getLocaleInfo(locale, supportedLocaleInfos); in getTierLocales()
636 LocaleInfo localeInfo = getLocaleInfo(locale, supportedLocaleInfos); in getTierLocales()
711 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo() method in LocaleStore
712 LocaleInfo localeInfo = getLocaleInfo(locale, sLocaleCache); in getLocaleInfo()
717 private static LocaleInfo getLocaleInfo( in getLocaleInfo() method in LocaleStore
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java367 result.add(getLocaleInfo(li.getParent())); in getLevelLocales()
375 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo() method in LocaleStore