Home
last modified time | relevance | path

Searched refs:translatedOnly (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DSystemLocaleCollector.java41 public HashSet<String> getIgnoredLocaleList(boolean translatedOnly) { in getIgnoredLocaleList() argument
43 if (!translatedOnly) { in getIgnoredLocaleList()
53 boolean translatedOnly, boolean isForCountryMode) { in getSupportedLocaleList() argument
54 Set<String> langTagsToIgnore = getIgnoredLocaleList(translatedOnly); in getSupportedLocaleList()
58 langTagsToIgnore, parent, translatedOnly, mExplicitLocales); in getSupportedLocaleList()
61 null /* no parent */, translatedOnly, mExplicitLocales); in getSupportedLocaleList()
DLocalePickerWithRegion.java84 HashSet<String> getIgnoredLocaleList(boolean translatedOnly); in getIgnoredLocaleList() argument
88 boolean translatedOnly, boolean isForCountryMode); in getSupportedLocaleList() argument
96 boolean translatedOnly, OnActionExpandListener onActionExpandListener, in createNumberingSystemPicker() argument
102 translatedOnly, localePickerCollector); in createNumberingSystemPicker()
108 boolean translatedOnly, OnActionExpandListener onActionExpandListener, in createCountryPicker() argument
113 translatedOnly, localePickerCollector); in createCountryPicker()
118 LocaleSelectedListener listener, boolean translatedOnly) { in createLanguagePicker() argument
119 return createLanguagePicker(context, listener, translatedOnly, null, null, null); in createLanguagePicker()
123 LocaleSelectedListener listener, boolean translatedOnly, LocaleList explicitLocales) { in createLanguagePicker() argument
124 return createLanguagePicker(context, listener, translatedOnly, explicitLocales, null, null); in createLanguagePicker()
[all …]
DAppLocaleCollector.java152 LocaleStore.LocaleInfo parent, boolean translatedOnly) { in getSystemSupportedLocale() argument
153 return LocaleStore.getLevelLocales(mContext, langTagsToIgnore, parent, translatedOnly); in getSystemSupportedLocale()
170 public HashSet<String> getIgnoredLocaleList(boolean translatedOnly) { in getIgnoredLocaleList() argument
195 boolean translatedOnly, boolean isForCountryMode) { in getSupportedLocaleList() argument
206 Set<String> langTagsToIgnore = getIgnoredLocaleList(translatedOnly); in getSupportedLocaleList()
215 systemLocaleList = getSystemSupportedLocale(langTagsToIgnore, parent, translatedOnly); in getSupportedLocaleList()
217 systemLocaleList = getSystemSupportedLocale(langTagsToIgnore, null, translatedOnly); in getSupportedLocaleList()
DLocaleStore.java544 Set<String> ignorables, LocaleInfo li, boolean translatedOnly) { in isShallIgnore() argument
551 if (translatedOnly && !li.isTranslated()) return true; in isShallIgnore()
583 LocaleInfo parent, boolean translatedOnly) { in getLevelLocales() argument
584 return getLevelLocales(context, ignorables, parent, translatedOnly, null); in getLevelLocales()
598 LocaleInfo parent, boolean translatedOnly, LocaleList explicitLocales) { in getLevelLocales() argument
606 return getTierLocales(ignorables, parent, translatedOnly, supportedLcoaleInfos); in getLevelLocales()
612 boolean translatedOnly, in getTierLocales() argument
619 if (isShallIgnore(ignorables, li, translatedOnly)) { in getTierLocales()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java334 private static int getLevel(Set<String> ignorables, LocaleInfo li, boolean translatedOnly) { in getLevel() argument
337 if (translatedOnly && !li.isTranslated()) return 0; in getLevel()
350 LocaleInfo parent, boolean translatedOnly) { in getLevelLocales() argument
357 int level = getLevel(ignorables, li, translatedOnly); in getLevelLocales()