/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
D | InputMethodUtilsTest.java | 225 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in testGetImplicitlyApplicableSubtypesLocked() local 226 subtypes.add(nonAutoEnUS); in testGetImplicitlyApplicableSubtypesLocked() 227 subtypes.add(nonAutoEnGB); in testGetImplicitlyApplicableSubtypesLocked() 228 subtypes.add(nonAutoJa); in testGetImplicitlyApplicableSubtypesLocked() 229 subtypes.add(nonAutoFil); in testGetImplicitlyApplicableSubtypesLocked() 230 subtypes.add(autoSubtype); // overridesImplicitlyEnabledSubtype == true in testGetImplicitlyApplicableSubtypesLocked() 231 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype); in testGetImplicitlyApplicableSubtypesLocked() 232 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype2); in testGetImplicitlyApplicableSubtypesLocked() 233 subtypes.add(nonAutoHandwritingEn); in testGetImplicitlyApplicableSubtypesLocked() 234 subtypes.add(nonAutoHandwritingFr); in testGetImplicitlyApplicableSubtypesLocked() [all …]
|
D | InputMethodSubtypeSwitchingControllerTest.java | 69 List<InputMethodSubtype> subtypes = null; in addDummyImeSubtypeListItems() local 71 subtypes = new ArrayList<>(); in addDummyImeSubtypeListItems() 73 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems() 77 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID, in addDummyImeSubtypeListItems() 79 if (subtypes == null) { in addDummyImeSubtypeListItems() 83 for (int i = 0; i < subtypes.size(); ++i) { in addDummyImeSubtypeListItems() 105 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in createDummyItem() local 106 subtypes.add(new InputMethodSubtypeBuilder() in createDummyItem() 113 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID, in createDummyItem()
|
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodSubtypeArrayTest.java | 29 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in testInstanciate() local 30 subtypes.add(createDummySubtype(0, "en_US")); in testInstanciate() 31 subtypes.add(createDummySubtype(1, "en_US")); in testInstanciate() 32 subtypes.add(createDummySubtype(2, "ja_JP")); in testInstanciate() 34 final InputMethodSubtypeArray array = new InputMethodSubtypeArray(subtypes); in testInstanciate() 35 assertEquals(subtypes.size(), array.getCount()); in testInstanciate() 36 assertEquals(subtypes.get(0), array.get(0)); in testInstanciate() 37 assertEquals(subtypes.get(1), array.get(1)); in testInstanciate() 38 assertEquals(subtypes.get(2), array.get(2)); in testInstanciate() 41 assertEquals(subtypes.size(), clonedArray.getCount()); in testInstanciate() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 155 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); in InputMethodInfo() local 226 subtypes.add(subtype); in InputMethodInfo() 236 if (subtypes.size() == 0) { in InputMethodInfo() 244 if (!subtypes.contains(subtype)) { in InputMethodInfo() 245 subtypes.add(subtype); in InputMethodInfo() 252 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo() 285 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId, in InputMethodInfo() argument 287 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 296 List<InputMethodSubtype> subtypes, int isDefaultResId, boolean forceDefault, in InputMethodInfo() argument 304 mSubtypes = new InputMethodSubtypeArray(subtypes); in InputMethodInfo()
|
D | InputMethodSubtypeArray.java | 52 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { in InputMethodSubtypeArray() argument 53 if (subtypes == null) { in InputMethodSubtypeArray() 57 mCount = subtypes.size(); in InputMethodSubtypeArray() 58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray()
|
D | InputMethodManager.java | 2161 ArrayList<InputMethodSubtype> subtypes = null; in getShortcutInputMethodsAndSubtypes() local 2171 subtypes = new ArrayList<>(); in getShortcutInputMethodsAndSubtypes() 2172 ret.put((InputMethodInfo)o, subtypes); in getShortcutInputMethodsAndSubtypes() local 2173 } else if (subtypes != null && o instanceof InputMethodSubtype) { in getShortcutInputMethodsAndSubtypes() 2174 subtypes.add((InputMethodSubtype)o); in getShortcutInputMethodsAndSubtypes() 2306 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument 2309 mService.setAdditionalInputMethodSubtypes(imiId, subtypes); in setAdditionalInputMethodSubtypes()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodUtils.java | 391 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local 394 subtypes.add(imi.getSubtypeAt(i)); in getSubtypes() 396 return subtypes; in getSubtypes() 401 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getOverridingImplicitlyEnabledSubtypes() local 406 subtypes.add(subtype); in getOverridingImplicitlyEnabledSubtypes() 409 return subtypes; in getOverridingImplicitlyEnabledSubtypes() 491 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi); in getImplicitlyApplicableSubtypesLockedImpl() local 495 final int numSubtypes = subtypes.size(); in getImplicitlyApplicableSubtypesLockedImpl() 501 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() 518 final InputMethodSubtype subtype = subtypes.get(i); in getImplicitlyApplicableSubtypesLockedImpl() [all …]
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 268 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes() 271 if (subtypes.isEmpty()) { in hasMultipleEnabledIMEsOrSubtypes() 277 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes() 282 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledIMEsOrSubtypes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 385 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence() 387 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence() 391 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence() 394 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
|
D | InputMethodPreference.java | 221 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString() local 223 subtypes, getContext(), mImi); in getSummaryString()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 83 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes); in setAdditionalInputMethodSubtypes() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 2138 final List<InputMethodSubtype> subtypes = in shouldShowImeSwitcherLocked() local 2140 final int subtypeCount = subtypes.size(); in shouldShowImeSwitcherLocked() 2145 final InputMethodSubtype subtype = subtypes.get(j); in shouldShowImeSwitcherLocked() 3030 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument 3036 if (TextUtils.isEmpty(imiId) || subtypes == null) return; in setAdditionalInputMethodSubtypes() 3054 mFileManager.addInputMethodSubtypes(imi, subtypes); in setAdditionalInputMethodSubtypes() 4168 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in addInputMethodSubtypes() local 4172 if (!subtypes.contains(subtype)) { in addInputMethodSubtypes() 4173 subtypes.add(subtype); in addInputMethodSubtypes() 4179 mAdditionalSubtypesMap.put(imi.getId(), subtypes); in addInputMethodSubtypes() local
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 378 for (Type *SubTy : Ty->subtypes()) in EnumerateType()
|