HomeSort by relevance Sort by last modified time
    Searched refs:subtypes (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/tests/coretests/src/android/view/inputmethod/
InputMethodSubtypeArrayTest.java 29 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local
30 subtypes.add(createDummySubtype(0, "en_US"));
31 subtypes.add(createDummySubtype(1, "en_US"));
32 subtypes.add(createDummySubtype(2, "ja_JP"));
34 final InputMethodSubtypeArray array = new InputMethodSubtypeArray(subtypes);
35 assertEquals(subtypes.size(), array.getCount());
36 assertEquals(subtypes.get(0), array.get(0));
37 assertEquals(subtypes.get(1), array.get(1));
38 assertEquals(subtypes.get(2), array.get(2));
41 assertEquals(subtypes.size(), clonedArray.getCount())
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
InputMethodUtilsTest.java 225 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
226 subtypes.add(nonAutoEnUS);
227 subtypes.add(nonAutoEnGB);
228 subtypes.add(nonAutoJa);
229 subtypes.add(nonAutoFil);
230 subtypes.add(autoSubtype); // overridesImplicitlyEnabledSubtype == true
231 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype);
232 subtypes.add(nonAutoEnabledWhenDefaultIsNotAsciiCalableSubtype2);
233 subtypes.add(nonAutoHandwritingEn);
234 subtypes.add(nonAutoHandwritingFr)
250 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
275 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
300 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
321 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
344 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
367 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
384 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
401 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
421 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
441 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
464 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
499 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
516 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
533 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
547 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
561 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
575 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
592 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
640 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
672 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
699 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
726 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
745 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
883 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
900 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
911 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
922 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
930 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
958 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
969 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
985 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
997 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
1010 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
1031 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
1173 ArraySet<String> subtypes = r.get("ime0"); local
1182 ArraySet<String> subtypes = r.get("ime0"); local
1191 ArraySet<String> subtypes = r.get("ime0"); local
    [all...]
InputMethodSubtypeSwitchingControllerTest.java 69 List<InputMethodSubtype> subtypes = null; local
71 subtypes = new ArrayList<>();
73 subtypes.add(createDummySubtype(subtypeLocale));
77 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID,
79 if (subtypes == null) {
83 for (int i = 0; i < subtypes.size(); ++i) {
105 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
106 subtypes.add(new InputMethodSubtypeBuilder()
113 DUMMY_SETTING_ACTIVITY_NAME, subtypes, DUMMY_IS_DEFAULT_RES_ID,
365 // Subtypes of IME "X"
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputMethodManager.java 103 // Initialize additional subtypes.
151 Log.w(TAG, "Can't find current subtype in enabled subtypes: subtype="
306 final List<InputMethodSubtype> subtypes) {
307 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND;
311 final List<InputMethodSubtype> subtypes) {
312 final int count = subtypes.size();
314 final InputMethodSubtype ims = subtypes.get(index);
378 final List<InputMethodSubtype> subtypes = getEnabledInputMethodSubtypeList(imi, true);
379 // IMEs that have no subtypes should be counted.
380 if (subtypes.isEmpty())
404 final List<InputMethodSubtype> subtypes = getMyEnabledInputMethodSubtypeList(true); local
435 final List<InputMethodSubtype> subtypes = local
479 getInputMethodIdOfThisIme(), subtypes); local
560 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); local
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/graph/
AppInfoWithSubtyping.java 19 // Map from types to their subtypes.
43 public ImmutableSet<DexType> subtypes(DexType type) { method in class:AppInfoWithSubtyping
45 ImmutableSet<DexType> subtypes = subtypeMap.get(type); local
46 return subtypes == null ? ImmutableSet.of() : subtypes;
121 Set<DexType> set = subtypes(method.holder);
160 Set<DexType> set = subtypes(method.holder);
188 Set<DexType> set = subtypes(method.holder);
210 Set<DexType> set = subtypes(method.holder);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
CustomInputStyleSettingsFragment.java 84 final InputMethodSubtype[] subtypes = local
87 for (final InputMethodSubtype subtype : subtypes) {
270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
278 subtypes.add(subtypePref.getSubtype());
281 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]);
288 final InputMethodSubtype[] subtypes = getSubtypes(); local
289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes);
297 mRichImm.setAdditionalInputMethodSubtypes(subtypes);
  /external/r8/src/test/java/com/android/tools/r8/shaking/
R8Shaking2LookupTest.java 37 assertTrue(appInfo.subtypes(super_type).contains(sub_type));
39 assertFalse(appInfo.subtypes(sub_type).contains(super_type));
44 assertEquals(size, appInfo.subtypes(type).size());
  /external/wpa_supplicant_8/wpa_supplicant/
interworking.h 15 u16 info_ids[], size_t num_ids, u32 subtypes,
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodSubtypeArray.java 49 * @param subtypes A list of {@link InputMethodSubtype} from which
52 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) {
53 if (subtypes == null) {
57 mCount = subtypes.size();
58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
InputMethodInfo.java 90 * An array-like container of the subtypes.
137 * @param additionalSubtypes additional subtypes being added to this InputMethodInfo
155 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local
190 // Parse all subtypes
226 subtypes.add(subtype);
236 if (subtypes.size() == 0) {
244 if (!subtypes.contains(subtype)) {
245 subtypes.add(subtype);
252 mSubtypes = new InputMethodSubtypeArray(subtypes);
276 settingsActivity, null /* subtypes */, 0 /* isDefaultResId */
    [all...]
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 55 * @return true if this application is an IME and has two or more subtypes, false otherwise.
102 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
104 final int N = subtypes.size();
106 final InputMethodSubtype subtype = subtypes.get(i);
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 48 * @return true if this application is an IME and has two or more subtypes, false otherwise.
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
84 final int N = subtypes.size();
86 final InputMethodSubtype subtype = subtypes.get(i);
  /frameworks/base/core/java/com/android/internal/inputmethod/
InputMethodUtils.java 391 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
394 subtypes.add(imi.getSubtypeAt(i));
396 return subtypes;
401 ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local
406 subtypes.add(subtype);
409 return subtypes;
469 // it does not check if subtypes are also identical.
491 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi); local
495 final int numSubtypes = subtypes.size();
500 // scan overriding implicitly enabled subtypes
798 ArraySet<String> subtypes = new ArraySet<>(); local
816 final ArrayList<String> subtypes = new ArrayList<>(2); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardPasswordView.java 203 // Do not show auxiliary subtypes in password lock screen.
266 final List<InputMethodSubtype> subtypes =
268 // IMEs that have no subtypes should be counted.
269 if (subtypes.isEmpty()) {
275 for (InputMethodSubtype subtype : subtypes) {
280 final int nonAuxCount = subtypes.size() - auxCount;
282 // IMEs that have one or more non-auxiliary subtypes should be counted.
284 // subtypes should be counted as well.
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
AdditionalSubtypeUtils.java 119 // Here we assume that all the additional subtypes have AsciiCapable and EmojiCapable.
133 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) {
134 if (subtypes == null || subtypes.length == 0) {
138 for (final InputMethodSubtype subtype : subtypes) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionaryList.java 87 final List<InputMethodSubtype> subtypes = local
90 for (InputMethodSubtype subtype : subtypes) {
99 // enabled subtypes. If we already have the locale-without-country version of the system
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
AdditionalSubtypeUtilsTests.java 163 final InputMethodSubtype[] subtypes = { EN_US_DVORAK, ZZ_AZERTY }; local
164 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes);
  /external/libxml2/include/libxml/
schemasInternals.h 262 xmlSchemaTypePtr subtypes; /* the type definition */ member in struct:_xmlSchemaAttribute
610 xmlSchemaTypePtr subtypes; member in struct:_xmlSchemaType
631 Could we use @subtypes for this? */
773 xmlSchemaTypePtr subtypes; /* the type definition */ member in struct:_xmlSchemaElement
  /external/r8/src/test/java/com/android/tools/r8/internal/
R8GMSCoreLookupTest.java 60 assert appInfo.subtypes(clazz.type)
61 != null : "Application class must have non null subtypes.";
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
InputMethodAndSubtypeUtil.java 62 // InputMethods and subtypes are saved in the settings as follows:
210 // subtypes are also checked just as an indicator to users. We also need to
212 // subtypes can be saved here.
266 // Redefines SelectedSubtype when all subtypes are unchecked or there is no subtype
338 // There is no need to enable/disable subtypes of disabled IMEs.
385 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context,
387 if (subtypes.isEmpty()) {
391 final int subtypeCount = subtypes.size();
394 subtypeNames[i] = subtypes.get(i).getDisplayName(context,
InputMethodPreference.java 221 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); local
223 subtypes, getContext(), mImi);
  /dalvik/dx/src/com/android/dx/command/findusages/
FindUsages.java 169 * declaringType} and its subtypes.
172 Set<Integer> subtypes = findAssignableTypes(dex, declaringType); local
178 && subtypes.contains(method.getDeclaringClassIndex())) {
  /frameworks/base/core/java/com/android/internal/view/
IInputMethodManager.aidl 83 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes);
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryList.java 115 final List<InputMethodSubtype> subtypes = local
118 for (InputMethodSubtype subtype : subtypes) {
127 // enabled subtypes. If we already have the locale-without-country version of the system
PhysicalKeyboardFragment.java 334 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList( local
336 if (subtypes.isEmpty()) {
345 // If the IME supports subtypes, we pick up "keyboard" subtypes only.
346 final int N = subtypes.size();
348 final InputMethodSubtype subtype = subtypes.get(i);

Completed in 877 milliseconds

1 2 3 4 5 6