/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
H A D | InputMethodUtilsTest.java | 287 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 311 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 335 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 360 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 381 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 403 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 425 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 442 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 459 subtypes); in testGetImplicitlyApplicableSubtypesLocked() 1269 return subtypes; in createSubtypeHashCodeArrayFromStr() [all …]
|
H A D | AdditionalSubtypeUtilsTest.java | 69 List<InputMethodSubtype> subtypes = loadedSubtypes.get(fakeImeId); in testSaveAndLoad() local 70 assertNotNull(subtypes); in testSaveAndLoad() 71 assertEquals(2, subtypes.size()); in testSaveAndLoad() 73 verifySubtype(subtypes.get(0), subtype1); in testSaveAndLoad() 74 verifySubtype(subtypes.get(1), subtype2); in testSaveAndLoad()
|
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()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodSubtypeArrayTest.java | 45 subtypes.add(createDummySubtype(0, "en_US")); in testInstantiate() 46 subtypes.add(createDummySubtype(1, "en_US")); in testInstantiate() 47 subtypes.add(createDummySubtype(2, "ja_JP")); in testInstantiate() 50 assertEquals(subtypes.size(), array.getCount()); in testInstantiate() 51 assertEquals(subtypes.get(0), array.get(0)); in testInstantiate() 52 assertEquals(subtypes.get(1), array.get(1)); in testInstantiate() 53 assertEquals(subtypes.get(2), array.get(2)); in testInstantiate() 56 assertEquals(subtypes.size(), clonedArray.getCount()); in testInstantiate() 57 assertEquals(subtypes.get(0), clonedArray.get(0)); in testInstantiate() 58 assertEquals(subtypes.get(1), clonedArray.get(1)); in testInstantiate() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | SubtypeUtils.java | 98 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local 101 subtypes.add(imi.getSubtypeAt(i)); in getSubtypes() 103 return subtypes; in getSubtypes() 156 final List<InputMethodSubtype> subtypes = getSubtypes(imi); in getImplicitlyApplicableSubtypesLockedImpl() local 160 final int numSubtypes = subtypes.size(); in getImplicitlyApplicableSubtypesLockedImpl() 166 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() 183 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() 224 res, subtypes, SUBTYPE_MODE_KEYBOARD, systemLocale, true); in getImplicitlyApplicableSubtypesLockedImpl() 255 if (subtypes == null || subtypes.isEmpty()) { in findLastResortApplicableSubtypeLocked() 265 final int numSubtypes = subtypes.size(); in findLastResortApplicableSubtypeLocked() [all …]
|
H A D | HardwareKeyboardShortcutController.java | 43 final List<InputMethodSubtype> subtypes = in reset() local 45 if (subtypes.isEmpty()) { in reset() 48 for (final InputMethodSubtype subtype : subtypes) { in reset()
|
H A D | InputMethodUtils.java | 877 @NonNull ArrayList<InputMethodSubtype> subtypes, in setAdditionalInputMethodSubtypes() argument 889 if (subtypes.isEmpty()) { in setAdditionalInputMethodSubtypes() 892 additionalSubtypeMap.put(imi.getId(), subtypes); in setAdditionalInputMethodSubtypes() local
|
H A D | InputMethodManagerService.java | 3126 final List<InputMethodSubtype> subtypes = in shouldShowImeSwitcherLocked() local 3128 final int subtypeCount = subtypes.size(); in shouldShowImeSwitcherLocked() 3133 final InputMethodSubtype subtype = subtypes.get(j); in shouldShowImeSwitcherLocked() 4245 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes, in setAdditionalInputMethodSubtypes() argument 4255 if (TextUtils.isEmpty(imiId) || subtypes == null) return; in setAdditionalInputMethodSubtypes() 4257 for (InputMethodSubtype subtype : subtypes) { in setAdditionalInputMethodSubtypes()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 245 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in InputMethodInfo() local 347 subtypes.add(subtype); in InputMethodInfo() 357 if (subtypes.size() == 0) { in InputMethodInfo() 365 if (!subtypes.contains(subtype)) { in InputMethodInfo() 366 subtypes.add(subtype); in InputMethodInfo() 373 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo() 484 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 497 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument 499 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 511 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument [all …]
|
H A D | InputMethodSubtypeArray.java | 55 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { in InputMethodSubtypeArray() argument 56 if (subtypes == null) { in InputMethodSubtypeArray() 60 mCount = subtypes.size(); in InputMethodSubtypeArray() 61 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray()
|
H A D | IInputMethodManagerGlobalInvoker.java | 415 @NonNull InputMethodSubtype[] subtypes, @UserIdInt int userId) { in setAdditionalInputMethodSubtypes() argument 421 service.setAdditionalInputMethodSubtypes(imeId, subtypes, userId); in setAdditionalInputMethodSubtypes()
|
H A D | InputMethodManager.java | 3967 final List<InputMethodSubtype> subtypes = getEnabledInputMethodSubtypeList( in getShortcutInputMethodsAndSubtypes() local 3969 final int subtypeCount = subtypes.size(); in getShortcutInputMethodsAndSubtypes() 4146 @NonNull InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument 4147 IInputMethodManagerGlobalInvoker.setAdditionalInputMethodSubtypes(imiId, subtypes, in setAdditionalInputMethodSubtypes()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardPasswordViewController.java | 276 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes() 279 if (subtypes.isEmpty()) { in hasMultipleEnabledIMEsOrSubtypes() 285 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes() 290 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledIMEsOrSubtypes()
|
/aosp14/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 | 429 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence() 431 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence() 435 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence() 438 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
|
H A D | InputMethodPreference.java | 243 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString() local 245 subtypes, getContext(), mImi); in getSummaryString()
|
/aosp14/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()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodManager.aidl | 105 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes, in setAdditionalInputMethodSubtypes() argument
|
/aosp14/frameworks/base/core/proto/android/server/ |
H A D | biometrics.proto | 176 // BaseClientMonitor subtypes
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |