Home
last modified time | relevance | path

Searched refs:localeList (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCorrectionSettingsFragment.java97 final TreeSet<String> localeList = UserDictionaryList.getUserDictionaryLocalesSet(activity); in overwriteUserDictionaryPreference() local
98 if (null == localeList) { in overwriteUserDictionaryPreference()
102 } else if (localeList.size() <= 1) { in overwriteUserDictionaryPreference()
110 if (localeList.size() == 1) { in overwriteUserDictionaryPreference()
111 final String locale = (String)localeList.toArray()[0]; in overwriteUserDictionaryPreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DLocaleListCompatUtils.java33 public static boolean isEmpty(final Object localeList) { in isEmpty() argument
34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); in isEmpty()
37 public static Locale get(final Object localeList, final int index) { in get() argument
38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index); in get()
DEditorInfoCompatUtils.java89 final Object localeList = CompatUtils.getFieldValue(editorInfo, null, FIELD_HINT_LOCALES); in getPrimaryHintLocale() local
90 if (localeList == null) { in getPrimaryHintLocale()
93 if (LocaleListCompatUtils.isEmpty(localeList)) { in getPrimaryHintLocale()
96 return LocaleListCompatUtils.get(localeList, 0); in getPrimaryHintLocale()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java282 public void updateLocalesWhenAnimationStops(final LocaleList localeList) { in updateLocalesWhenAnimationStops() argument
283 if (localeList.equals(mLocalesToSetNext)) { in updateLocalesWhenAnimationStops()
289 LocaleList.setDefault(localeList); in updateLocalesWhenAnimationStops()
291 mLocalesToSetNext = localeList; in updateLocalesWhenAnimationStops()
DLocaleListEditor.java225 final LocaleList localeList = LocalePicker.getLocales(); in getUserLocaleList() local
226 for (int i = 0; i < localeList.size(); i++) { in getUserLocaleList()
227 Locale locale = localeList.get(i); in getUserLocaleList()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java150 final LocaleList localeList = systemLocales.getAllLocales(); in getLocalesForBuckets() local
153 localeList.size() + sDefaultLabelLocales.length); in getLocalesForBuckets()
154 for (int i = 0; i < localeList.size(); i++) { in getLocalesForBuckets()
155 locales.add(localeList.get(i)); in getLocalesForBuckets()
DLocaleSet.java36 private LocaleSet(LocaleList localeList, Locale defaultLocaleOverrideForTest) { in LocaleSet() argument
37 mLocaleList = localeList; in LocaleSet()