Searched defs:LocaleInfo (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java58 public static class LocaleInfo implements Comparable<LocaleInfo> { class in class:LocalePicker
64 public LocaleInfo(String label, Locale locale) { method in class:LocalePicker.LocaleInfo
83 public int compareTo(LocaleInfo another) {
96 public static List<LocaleInfo> getAllAssetLocales(Context context, boolean isInDeveloperMode) {
107 final ArrayList<LocaleInfo> localeInfos = new ArrayList<LocaleInfo>(localeList.size());
123 localeInfos.add(new LocaleInfo(toTitleCase(l.getDisplayLanguage(l)), l));
129 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1);
142 localeInfos.add(new LocaleInfo(toTitleCas
[all...]
H A DLocaleStore.java31 private static final HashMap<String, LocaleInfo> sLocaleCache = new HashMap<>();
34 public static class LocaleInfo { class in class:LocaleStore
53 private LocaleInfo(Locale locale) { method in class:LocaleStore.LocaleInfo
63 private LocaleInfo(String localeId) { method in class:LocaleStore.LocaleInfo
224 for (LocaleInfo li : sLocaleCache.values()) {
230 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM;
248 for (LocaleInfo li : sLocaleCache.values()) {
251 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM;
269 LocaleInfo li = new LocaleInfo(localeI
[all...]

Completed in 31 milliseconds