Home
last modified time | relevance | path

Searched refs:subtypes (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java259 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() local
260 subtypes.add(nonAutoEnUS); in testGetImplicitlyApplicableSubtypesLocked()
261 subtypes.add(nonAutoEnGB); in testGetImplicitlyApplicableSubtypesLocked()
262 subtypes.add(nonAutoJa); in testGetImplicitlyApplicableSubtypesLocked()
263 subtypes.add(nonAutoFil); in testGetImplicitlyApplicableSubtypesLocked()
264 subtypes.add(autoSubtype); // overridesImplicitlyEnabledSubtype == true in testGetImplicitlyApplicableSubtypesLocked()
265 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype); in testGetImplicitlyApplicableSubtypesLocked()
266 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype2); in testGetImplicitlyApplicableSubtypesLocked()
267 subtypes.add(nonAutoHandwritingEn); in testGetImplicitlyApplicableSubtypesLocked()
268 subtypes.add(nonAutoHandwritingFr); in testGetImplicitlyApplicableSubtypesLocked()
[all …]
DInputMethodSubtypeSwitchingControllerTest.java81 List<InputMethodSubtype> subtypes = null; in addDummyImeSubtypeListItems() local
83 subtypes = new ArrayList<InputMethodSubtype>(); in addDummyImeSubtypeListItems()
85 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems()
89 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID, in addDummyImeSubtypeListItems()
91 if (subtypes == null) { in addDummyImeSubtypeListItems()
95 for (int i = 0; i < subtypes.size(); ++i) { in addDummyImeSubtypeListItems()
118 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in createDummyItem() local
119 subtypes.add(new InputMethodSubtypeBuilder() in createDummyItem()
126 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID, in createDummyItem()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeArrayTest.java38 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in testInstantiate() local
39 subtypes.add(createDummySubtype(0, "en_US")); in testInstantiate()
40 subtypes.add(createDummySubtype(1, "en_US")); in testInstantiate()
41 subtypes.add(createDummySubtype(2, "ja_JP")); in testInstantiate()
43 final InputMethodSubtypeArray array = new InputMethodSubtypeArray(subtypes); in testInstantiate()
44 assertEquals(subtypes.size(), array.getCount()); in testInstantiate()
45 assertEquals(subtypes.get(0), array.get(0)); in testInstantiate()
46 assertEquals(subtypes.get(1), array.get(1)); in testInstantiate()
47 assertEquals(subtypes.get(2), array.get(2)); in testInstantiate()
50 assertEquals(subtypes.size(), clonedArray.getCount()); in testInstantiate()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java163 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in InputMethodInfo() local
235 subtypes.add(subtype); in InputMethodInfo()
245 if (subtypes.size() == 0) { in InputMethodInfo()
253 if (!subtypes.contains(subtype)) { in InputMethodInfo()
254 subtypes.add(subtype); in InputMethodInfo()
261 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo()
297 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, in InputMethodInfo() argument
299 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo()
308 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument
316 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo()
DInputMethodSubtypeArray.java54 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { in InputMethodSubtypeArray() argument
55 if (subtypes == null) { in InputMethodSubtypeArray()
59 mCount = subtypes.size(); in InputMethodSubtypeArray()
60 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray()
DInputMethodManager.java2819 final List<InputMethodSubtype> subtypes = getEnabledInputMethodSubtypeList( in getShortcutInputMethodsAndSubtypes() local
2821 final int subtypeCount = subtypes.size(); in getShortcutInputMethodsAndSubtypes()
2962 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
2964 mService.setAdditionalInputMethodSubtypes(imiId, subtypes); in setAdditionalInputMethodSubtypes()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java373 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local
376 subtypes.add(imi.getSubtypeAt(i)); in getSubtypes()
378 return subtypes; in getSubtypes()
459 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi); in getImplicitlyApplicableSubtypesLockedImpl() local
463 final int numSubtypes = subtypes.size(); in getImplicitlyApplicableSubtypesLockedImpl()
469 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl()
486 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl()
527 res, subtypes, SUBTYPE_MODE_KEYBOARD, systemLocale, true); in getImplicitlyApplicableSubtypesLockedImpl()
566 Resources res, List<InputMethodSubtype> subtypes, String mode, String locale, in findLastResortApplicableSubtypeLocked() argument
568 if (subtypes == null || subtypes.size() == 0) { in findLastResortApplicableSubtypeLocked()
[all …]
DInputMethodManagerService.java2459 final List<InputMethodSubtype> subtypes = in shouldShowImeSwitcherLocked() local
2461 final int subtypeCount = subtypes.size(); in shouldShowImeSwitcherLocked()
2466 final InputMethodSubtype subtype = subtypes.get(j); in shouldShowImeSwitcherLocked()
3402 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
3405 if (TextUtils.isEmpty(imiId) || subtypes == null) return; in setAdditionalInputMethodSubtypes()
3407 for (InputMethodSubtype subtype : subtypes) { in setAdditionalInputMethodSubtypes()
3435 if (subtypes.length > 0) { in setAdditionalInputMethodSubtypes()
DMultiClientInputMethodManagerService.java1691 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java278 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes()
281 if (subtypes.isEmpty()) { in hasMultipleEnabledIMEsOrSubtypes()
287 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes()
292 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledIMEsOrSubtypes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtil.java386 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence()
388 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence()
392 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence()
395 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
DInputMethodAndSubtypeUtilCompat.java386 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence()
388 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence()
392 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence()
395 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
DInputMethodPreference.java229 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString() local
231 subtypes, getContext(), mImi); in getSummaryString()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompatTest.java237 InputMethodSubtype... subtypes) { in createDummyIme() argument
251 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createDummyIme()
DInputMethodAndSubtypeUtilTest.java230 InputMethodSubtype... subtypes) { in createDummyIme() argument
243 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createDummyIme()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl67 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes); in setAdditionalInputMethodSubtypes() argument
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()