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/core/java/com/android/server/inputmethod/
DSubtypeUtils.java76 final Locale subtypeLocale = subtype.getLocaleObject(); in containsSubtypeOf() local
77 if (subtypeLocale == null in containsSubtypeOf()
78 || !TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage()) in containsSubtypeOf()
79 || !TextUtils.equals(subtypeLocale.getCountry(), locale.getCountry())) { in containsSubtypeOf()
83 final Locale subtypeLocale = new Locale(LocaleUtils.getLanguageFromLocaleString( in containsSubtypeOf() local
85 if (!TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage())) { in containsSubtypeOf()
260 final String subtypeLocale = subtype.getLocale(); in findLastResortApplicableSubtype() local
261 final String subtypeLanguage = LocaleUtils.getLanguageFromLocaleString(subtypeLocale); in findLastResortApplicableSubtype()
268 if (locale.equals(subtypeLocale)) { in findLastResortApplicableSubtype()
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()
76 subtypeLocale); in ImeSubtypeListItem()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java78 for (String subtypeLocale : subtypeLocales) { in addDummyImeSubtypeListItems()
79 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems()
90 final String subtypeLocale = subtypeLocales.get(i); in addDummyImeSubtypeListItems() local
91 items.add(new ImeSubtypeListItem(imeName, subtypeLocale, imi, i, subtypeLocale, in addDummyImeSubtypeListItems()
98 String imeName, String subtypeName, String subtypeLocale, int subtypeIndex, in createDummyItem() argument
116 .setSubtypeLocale(subtypeLocale) in createDummyItem()
123 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.java248 final String subtypeLocale = subtypeInUse.getLocale(); in newSpellCheckerSession() local
249 final String subtypeLanguage = parseLanguageFromLocaleString(subtypeLocale); in newSpellCheckerSession()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java236 public InputMethodSubtypeBuilder setSubtypeLocale(String subtypeLocale) { in setSubtypeLocale() argument
237 mSubtypeLocale = subtypeLocale == null ? "" : subtypeLocale; in setSubtypeLocale()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java461 final Locale subtypeLocale = SubtypeLocaleUtils.constructLocaleFromString( in findAvailSystemSpellCheckerLocked() local
463 if (locale.equals(subtypeLocale)) { in findAvailSystemSpellCheckerLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1173 field public static final int subtypeLocale = 16843673; // 0x1010399
/frameworks/base/core/api/
Dcurrent.txt1602 field public static final int subtypeLocale = 16843673; // 0x1010399
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75864 Lcom/android/internal/R$attr;->subtypeLocale:I