Home
last modified time | relevance | path

Searched refs:subtypeLocale (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreference.java54 final Locale subtypeLocale, in InputMethodSubtypePreference() argument
60 if (subtypeLocale == null) { in InputMethodSubtypePreference()
64 mIsSystemLocale = subtypeLocale.equals(systemLocale); in InputMethodSubtypePreference()
66 || TextUtils.equals(subtypeLocale.getLanguage(), systemLocale.getLanguage()); in InputMethodSubtypePreference()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java84 for (String subtypeLocale : subtypeLocales) { in addDummyImeSubtypeListItems()
85 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems()
96 final String subtypeLocale = subtypeLocales.get(i); in addDummyImeSubtypeListItems() local
97 items.add(new ImeSubtypeListItem(imeName, subtypeLocale, imi, i, subtypeLocale, in addDummyImeSubtypeListItems()
104 String imeName, String subtypeName, String subtypeLocale, int subtypeIndex, in createDummyItem() argument
122 .setSubtypeLocale(subtypeLocale) in createDummyItem()
129 return new ImeSubtypeListItem(imeName, subtypeName, imi, subtypeIndex, subtypeLocale, in createDummyItem()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreferenceTest.java104 final Locale subtypeLocale = TextUtils.isEmpty(subtypeLanguageTag) in createPreference() local
110 subtypeLocale, in createPreference()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java181 final String subtypeLocale = subtypeInUse.getLocale(); in newSpellCheckerSession() local
182 final String subtypeLanguage = parseLanguageFromLocaleString(subtypeLocale); in newSpellCheckerSession()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingController.java59 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { in ImeSubtypeListItem() argument
64 if (TextUtils.isEmpty(subtypeLocale)) { in ImeSubtypeListItem()
68 mIsSystemLocale = subtypeLocale.equals(systemLocale); in ImeSubtypeListItem()
74 final String subtypeLanguage = parseLanguageFromLocaleString(subtypeLocale); in ImeSubtypeListItem()
DInputMethodUtils.java351 final Locale subtypeLocale = subtype.getLocaleObject(); in containsSubtypeOf() local
352 if (subtypeLocale == null || in containsSubtypeOf()
353 !TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage()) || in containsSubtypeOf()
354 !TextUtils.equals(subtypeLocale.getCountry(), locale.getCountry())) { in containsSubtypeOf()
358 final Locale subtypeLocale = new Locale(getLanguageFromLocaleString( in containsSubtypeOf() local
360 if (!TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage())) { in containsSubtypeOf()
581 final String subtypeLocale = subtype.getLocale(); in findLastResortApplicableSubtypeLocked() local
582 final String subtypeLanguage = getLanguageFromLocaleString(subtypeLocale); in findLastResortApplicableSubtypeLocked()
589 if (locale.equals(subtypeLocale)) { in findLastResortApplicableSubtypeLocked()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java177 public InputMethodSubtypeBuilder setSubtypeLocale(String subtypeLocale) { in setSubtypeLocale() argument
178 mSubtypeLocale = subtypeLocale == null ? "" : subtypeLocale; in setSubtypeLocale()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java488 final Locale subtypeLocale = SubtypeLocaleUtils.constructLocaleFromString( in findAvailSystemSpellCheckerLocked() local
490 if (locale.equals(subtypeLocale)) { in findAvailSystemSpellCheckerLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1173 field public static final int subtypeLocale = 16843673; // 0x1010399
/frameworks/base/non-updatable-api/
Dcurrent.txt1320 field public static final int subtypeLocale = 16843673; // 0x1010399
/frameworks/base/api/
Dcurrent.txt1320 field public static final int subtypeLocale = 16843673; // 0x1010399
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90936 Lcom/android/internal/R$attr;->subtypeLocale:I