/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
InputMethodSubtypeArrayTest.java | 30 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 31 subtypes.add(createDummySubtype(0, "en_US")); 32 subtypes.add(createDummySubtype(1, "en_US")); 33 subtypes.add(createDummySubtype(2, "ja_JP")); 35 final InputMethodSubtypeArray array = new InputMethodSubtypeArray(subtypes); 36 assertEquals(subtypes.size(), array.getCount()); 37 assertEquals(subtypes.get(0), array.get(0)); 38 assertEquals(subtypes.get(1), array.get(1)); 39 assertEquals(subtypes.get(2), array.get(2)); 42 assertEquals(subtypes.size(), clonedArray.getCount()) [all...] |
InputMethodTest.java | 220 List<InputMethodSubtype> subtypes) { 234 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault); 255 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 256 subtypes.add(createDummyInputMethodSubtype("auto", SUBTYPE_MODE_VOICE, IS_AUX, IS_AUTO, 258 subtypes.add(createDummyInputMethodSubtype("en_US", SUBTYPE_MODE_VOICE, IS_AUX, 261 "dummy.voice0", "DummyVoice0", IS_AUX, IS_DEFAULT, subtypes)); 270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 271 subtypes.add(createDummyInputMethodSubtype("auto", SUBTYPE_MODE_VOICE, IS_AUX, IS_AUTO, 273 subtypes.add(createDummyInputMethodSubtype("en_US", SUBTYPE_MODE_VOICE, IS_AUX, 276 "dummy.voice1", "DummyVoice1", IS_AUX, !IS_DEFAULT, subtypes)); 279 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 288 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 295 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 322 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 332 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 346 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 357 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 369 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 386 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local [all...] |
InputMethodSubtypeSwitchingControllerTest.java | 69 List<InputMethodSubtype> subtypes = null; local 71 subtypes = new ArrayList<InputMethodSubtype>(); 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) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
DistracterFilterTest.java | 43 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local 44 subtypes.add(richImm.findSubtypeByLocaleAndKeyboardLayoutSet( 46 subtypes.add(richImm.findSubtypeByLocaleAndKeyboardLayoutSet( 48 subtypes.add(richImm.findSubtypeByLocaleAndKeyboardLayoutSet( 50 mDistracterFilter.updateEnabledSubtypes(subtypes);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputMethodManager.java | 88 // Initialize additional subtypes. 133 Log.w(TAG, "Can't find current subtype in enabled subtypes: subtype=" 268 final List<InputMethodSubtype> subtypes) { 269 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND; 273 final List<InputMethodSubtype> subtypes) { 274 final int count = subtypes.size(); 276 final InputMethodSubtype ims = subtypes.get(index); 326 final List<InputMethodSubtype> subtypes = getEnabledInputMethodSubtypeList(imi, true); 327 // IMEs that have no subtypes should be counted. 328 if (subtypes.isEmpty()) 353 final List<InputMethodSubtype> subtypes = getMyEnabledInputMethodSubtypeList(true); local 388 getInputMethodIdOfThisIme(), subtypes); local [all...] |
SubtypeSwitcher.java | 149 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); local 153 // TODO: Pick up the first found subtype for now. Should handle all subtypes 155 mShortcutSubtype = subtypes.size() > 0 ? subtypes.get(0) : null; 268 // An IME with no subtypes is found.
|
/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/ |
InputMethodInfo.java | 91 * An array-like container of the subtypes. 125 * @param additionalSubtypes additional subtypes being added to this InputMethodInfo 143 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 178 // Parse all subtypes 212 subtypes.add(subtype); 222 if (subtypes.size() == 0) { 231 if (!subtypes.contains(subtype)) { 232 subtypes.add(subtype); 239 mSubtypes = new InputMethodSubtypeArray(subtypes); 271 String settingsActivity, List<InputMethodSubtype> subtypes, int isDefaultResId [all...] |
InputMethodSubtypeArray.java | 54 * @param subtypes A list of {@link InputMethodSubtype} from which 57 public InputMethodSubtypeArray(final List<InputMethodSubtype> subtypes) { 58 if (subtypes == null) { 62 mCount = subtypes.size(); 63 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
|
/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/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPasswordView.java | 220 final List<InputMethodSubtype> subtypes = 222 // IMEs that have no subtypes should be counted. 223 if (subtypes.isEmpty()) { 229 for (InputMethodSubtype subtype : subtypes) { 234 final int nonAuxCount = subtypes.size() - auxCount; 236 // IMEs that have one or more non-auxiliary subtypes should be counted. 238 // subtypes should be counted as well.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
AdditionalSubtypeUtils.java | 118 // Here we assume that all the additional subtypes have AsciiCapable and EmojiCapable. 132 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) { 133 if (subtypes == null || subtypes.length == 0) { 137 for (final InputMethodSubtype subtype : subtypes) {
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 407 Slog.w(TAG, "Found no subtypes in a system IME: " + imi.getPackageName()); 461 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 464 subtypes.add(imi.getSubtypeAt(i)); 466 return subtypes; 471 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>(); local 476 subtypes.add(subtype); 479 return subtypes; 523 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi); local 529 final int N = subtypes.size(); 531 // scan overriding implicitly enabled subtypes 804 ArrayList<String> subtypes = pair.second; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
CustomInputStyleSettingsFragment.java | 409 final InputMethodSubtype[] subtypes = local 412 for (final InputMethodSubtype subtype : subtypes) { 594 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); local 602 subtypes.add(subtypePref.getSubtype()); 605 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]); 612 final InputMethodSubtype[] subtypes = getSubtypes(); local 613 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); 618 mRichImm.setAdditionalInputMethodSubtypes(subtypes);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryList.java | 107 final List<InputMethodSubtype> subtypes = local 110 for (InputMethodSubtype subtype : subtypes) { 119 // enabled subtypes. If we already have the locale-without-country version of the system
|
InputMethodPreference.java | 201 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); local 203 for (final InputMethodSubtype subtype : subtypes) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 85 final List<InputMethodSubtype> subtypes = local 88 for (InputMethodSubtype subtype : subtypes) { 97 // 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 | 164 final InputMethodSubtype[] subtypes = { EN_UK_DVORAK, ZZ_AZERTY }; local 165 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes);
|
/external/chromium_org/third_party/libxml/src/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/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
|
/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 | 78 void setAdditionalInputMethodSubtypes(String id, in InputMethodSubtype[] subtypes);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
LanguageOnSpacebarHelperTests.java | 78 private static List<InputMethodSubtype> asList(final InputMethodSubtype ... subtypes) { 79 return Arrays.asList(subtypes);
|
/external/jmdns/src/javax/jmdns/impl/ |
JmDNSImpl.java | 107 * This is used to store type entries. The type is stored as a call variable and the map support the subtypes. 1111 ServiceTypeEntry subtypes = _serviceTypes.get(loname); local 1876 ServiceTypeEntry subtypes = _serviceTypes.get(key); local [all...] |