Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/com/android/internal/app/
DLocaleStoreTest.java86 Collection<LocaleInfo> supportedLocale = getFakeSupportedLocales(); in convertExplicitLocales_noExplicitLcoales_returnEmptyHashMap() local
90 LocaleList.getEmptyLocaleList(), supportedLocale); in convertExplicitLocales_noExplicitLcoales_returnEmptyHashMap()
99 Collection<LocaleInfo> supportedLocale = getFakeSupportedLocales(); in convertExplicitLocales_hasEmptyLocale_receiveException() local
103 LocaleStore.convertExplicitLocales(localelist, supportedLocale); in convertExplicitLocales_hasEmptyLocale_receiveException()
114 Collection<LocaleInfo> supportedLocale = getFakeSupportedLocales(); in convertExplicitLocales_hasSameLocale_returnNonSameLocales() local
117 LocaleStore.convertExplicitLocales(locales, supportedLocale); in convertExplicitLocales_hasSameLocale_returnNonSameLocales()
126 Collection<LocaleInfo> supportedLocale = getFakeSupportedLocales(); in convertExplicitLocales_hasEnUs_resultHasParentEn() local
129 LocaleStore.convertExplicitLocales(locales, supportedLocale); in convertExplicitLocales_hasEnUs_resultHasParentEn()
137 Collection<LocaleInfo> supportedLocale = getFakeSupportedLocales(); in convertExplicitLocales_hasZhTw_resultZhHantTw() local
140 LocaleStore.convertExplicitLocales(locales, supportedLocale); in convertExplicitLocales_hasZhTw_resultZhHantTw()
[all …]
/frameworks/base/core/java/android/os/
DLocaleList.java375 private int findFirstMatchIndex(Locale supportedLocale) { in findFirstMatchIndex() argument
377 if (matchesLanguageAndScript(supportedLocale, mList[idx])) { in findFirstMatchIndex()
406 final Locale supportedLocale = Locale.forLanguageTag(languageTag); in computeFirstMatchIndex() local
409 final int idx = findFirstMatchIndex(supportedLocale); in computeFirstMatchIndex()