/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
H A D | InputMethodUtilsTest.java | 276 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 300 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 324 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 349 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 370 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 392 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 414 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 431 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 448 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 470 subtypes); in testGetImplicitlyApplicableSubtypesLocked() [all …]
|
H A D | InputMethodSubtypeSwitchingControllerTest.java | 81 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodSubtypeArrayTest.java | 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() 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() 51 assertEquals(subtypes.get(0), clonedArray.get(0)); in testInstantiate() 52 assertEquals(subtypes.get(1), clonedArray.get(1)); in testInstantiate() [all …]
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | RichInputMethodManager.java | 306 final List<InputMethodSubtype> subtypes) { in checkIfSubtypeBelongsToList() argument 311 final List<InputMethodSubtype> subtypes) { in getSubtypeIndexInList() argument 312 final int count = subtypes.size(); in getSubtypeIndexInList() 314 final InputMethodSubtype ims = subtypes.get(index); in getSubtypeIndexInList() 380 if (subtypes.isEmpty()) { in hasMultipleEnabledSubtypes() 386 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledSubtypes() 409 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledSubtypes() 435 final List<InputMethodSubtype> subtypes = in findSubtypeByLocale() local 437 final int count = subtypes.size(); in findSubtypeByLocale() 479 getInputMethodIdOfThisIme(), subtypes); in setAdditionalInputMethodSubtypes() local [all …]
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | CustomInputStyleSettingsFragment.java | 84 final InputMethodSubtype[] subtypes = in updateCustomInputStylesSummary() local 87 for (final InputMethodSubtype subtype : subtypes) { in updateCustomInputStylesSummary() 270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local 278 subtypes.add(subtypePref.getSubtype()); in getSubtypes() 281 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]); in getSubtypes() 288 final InputMethodSubtype[] subtypes = getSubtypes(); in onPause() local 289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in onPause() 297 mRichImm.setAdditionalInputMethodSubtypes(subtypes); in onPause()
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 196 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in InputMethodInfo() local 276 subtypes.add(subtype); in InputMethodInfo() 286 if (subtypes.size() == 0) { in InputMethodInfo() 294 if (!subtypes.contains(subtype)) { in InputMethodInfo() 295 subtypes.add(subtype); in InputMethodInfo() 302 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo() 362 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 372 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument 374 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 384 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument [all …]
|
H A D | InputMethodSubtypeArray.java | 54 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()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
H A D | InputMethodAndSubtypePreferenceControllerTest.java | 97 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createInputMethodInfo() local 99 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo() 101 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo() 115 subtypes, in createInputMethodInfo()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
H A D | EnabledKeyboardPreferenceControllerTest.java | 260 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local 262 .thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes() 279 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local 280 subtypes.add(createSubtype(1, "en_US")); in createSubtypes() 281 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes() 282 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes() 283 return subtypes; in createSubtypes()
|
H A D | InputMethodUtilTest.java | 330 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local 332 eq(mockInfo), anyBoolean())).thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes() 347 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local 348 subtypes.add(createSubtype(1, "en_US")); in createSubtypes() 349 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes() 350 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes() 351 return subtypes; in createSubtypes()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | AdditionalSubtypeUtils.java | 133 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) { in createPrefSubtypes() argument 134 if (subtypes == null || subtypes.length == 0) { in createPrefSubtypes() 138 for (final InputMethodSubtype subtype : subtypes) { in createPrefSubtypes()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/ |
H A D | InputMethodSettingsImpl.java | 82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); in getEnabledSubtypesLabel() 84 final int N = subtypes.size(); in getEnabledSubtypesLabel() 86 final InputMethodSubtype subtype = subtypes.get(i); in getEnabledSubtypesLabel()
|
/aosp12/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodUtils.java | 418 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local 421 subtypes.add(imi.getSubtypeAt(i)); in getSubtypes() 423 return subtypes; in getSubtypes() 508 final int numSubtypes = subtypes.size(); in getImplicitlyApplicableSubtypesLockedImpl() 514 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() 531 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() 572 res, subtypes, SUBTYPE_MODE_KEYBOARD, systemLocale, true); in getImplicitlyApplicableSubtypesLockedImpl() 613 if (subtypes == null || subtypes.size() == 0) { in findLastResortApplicableSubtypeLocked() 623 final int N = subtypes.size(); in findLastResortApplicableSubtypeLocked() 625 InputMethodSubtype subtype = subtypes.get(i); in findLastResortApplicableSubtypeLocked() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardPasswordViewController.java | 282 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes() 285 if (subtypes.isEmpty()) { in hasMultipleEnabledIMEsOrSubtypes() 291 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes() 296 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledIMEsOrSubtypes()
|
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
H A D | InputDeviceResultTask.java | 192 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence() 194 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence() 198 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence() 201 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionaryList.java | 87 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local 90 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | AdditionalSubtypeUtilsTests.java | 174 final InputMethodSubtype[] subtypes = { EN_US_DVORAK, ZZ_AZERTY }; in testRestorable() local 175 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in testRestorable()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeUtil.java | 386 @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()
|
H A D | InputMethodAndSubtypeUtilCompat.java | 386 @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()
|
H A D | InputMethodPreference.java | 230 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString() local 232 subtypes, getContext(), mImi); in getSummaryString()
|
/aosp12/art/test/1982-no-virtuals-structural-redefinition/ |
H A D | info.txt | 1 Test that structural redefinition works on classes with super-types and subtypes with virtual
|
/aosp12/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | UserDictionaryListPreferenceController.java | 112 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local 115 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
H A D | InputMethodUtil.java | 105 List<InputMethodSubtype> subtypes = in getSummaryString() local 109 subtypes, context, inputMethodInfo); in getSummaryString()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeUtilCompatTest.java | 237 InputMethodSubtype... subtypes) { in createFakeIme() argument 251 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createFakeIme()
|
H A D | InputMethodAndSubtypeUtilTest.java | 230 InputMethodSubtype... subtypes) { in createFakeIme() argument 243 return new InputMethodInfo(ri, isAuxIme, "", Arrays.asList(subtypes), 1, false); in createFakeIme()
|