/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | LocaleListCompatUtils.java | 33 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()
|
D | EditorInfoCompatUtils.java | 89 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CorrectionSettingsFragment.java | 97 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/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | GpsCoordinatesTextClassifier.java | 66 CharSequence text, int start, int end, LocaleList localeList) { in classifyText() argument 89 return mSystemClassifier.classifyText(text, start, end, localeList); in classifyText() 94 CharSequence context, int start, int end, LocaleList localeList) { in suggestSelection() argument 104 return mSystemClassifier.suggestSelection(context, start, end, localeList); in suggestSelection()
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | LocaleDragAndDropAdapter.java | 276 public void updateLocalesWhenAnimationStops(final LocaleList localeList) { in updateLocalesWhenAnimationStops() argument 277 if (localeList.equals(mLocalesToSetNext)) { in updateLocalesWhenAnimationStops() 283 LocaleList.setDefault(localeList); in updateLocalesWhenAnimationStops() 285 mLocalesToSetNext = localeList; in updateLocalesWhenAnimationStops()
|
D | LocaleListEditor.java | 263 final LocaleList localeList = LocalePicker.getLocales(); in getUserLocaleList() local 264 for (int i = 0; i < localeList.size(); i++) { in getUserLocaleList() 265 Locale locale = localeList.get(i); in getUserLocaleList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/ |
D | LocaleDragAndDropAdapter.java | 276 public void updateLocalesWhenAnimationStops(final LocaleList localeList) { in updateLocalesWhenAnimationStops() argument 277 if (localeList.equals(mLocalesToSetNext)) { in updateLocalesWhenAnimationStops() 283 LocaleList.setDefault(localeList); in updateLocalesWhenAnimationStops() 285 mLocalesToSetNext = localeList; in updateLocalesWhenAnimationStops()
|
D | LocaleListEditor.java | 263 final LocaleList localeList = LocalePicker.getLocales(); in getUserLocaleList() local 264 for (int i = 0; i < localeList.size(); i++) { in getUserLocaleList() 265 Locale locale = localeList.get(i); in getUserLocaleList()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLocaleUtils.java | 150 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()
|
D | LocaleSet.java | 36 private LocaleSet(LocaleList localeList, Locale defaultLocaleOverrideForTest) { in LocaleSet() argument 37 mLocaleList = localeList; in LocaleSet()
|