Searched refs:subtypes (Results 1 - 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DDistracterFilterTest.java43 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>();
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/
H A DRichInputMethodManager.java88 // 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
267 checkIfSubtypeBelongsToList(final InputMethodSubtype subtype, final List<InputMethodSubtype> subtypes) argument
272 getSubtypeIndexInList(final InputMethodSubtype subtype, final List<InputMethodSubtype> subtypes) argument
386 setAdditionalInputMethodSubtypes(final InputMethodSubtype[] subtypes) argument
[all...]
H A DSubtypeSwitcher.java149 final List<InputMethodSubtype> subtypes = shortcuts.get(imi);
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.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DAdditionalSubtypeUtils.java118 // Here we assume that all the additional subtypes have AsciiCapable and EmojiCapable.
132 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) { argument
133 if (subtypes == null || subtypes.length == 0) {
137 for (final InputMethodSubtype subtype : subtypes) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DCustomInputStyleSettingsFragment.java409 final InputMethodSubtype[] subtypes =
412 for (final InputMethodSubtype subtype : subtypes) {
594 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>();
602 subtypes.add(subtypePref.getSubtype());
605 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]);
612 final InputMethodSubtype[] subtypes = getSubtypes();
613 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes);
618 mRichImm.setAdditionalInputMethodSubtypes(subtypes);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryList.java107 final List<InputMethodSubtype> subtypes =
110 for (InputMethodSubtype subtype : subtypes) {
119 // enabled subtypes. If we already have the locale-without-country version of the system
H A DInputMethodPreference.java201 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true);
203 for (final InputMethodSubtype subtype : subtypes) {
H A DInputMethodAndLanguageSettings.java433 // An IME is being disabled. Save enabled subtypes of the IME to shared preference to be
434 // able to re-enable these subtypes when the IME gets re-enabled.
444 // An IME is being enabled. Load the previously enabled subtypes from shared preference
445 // and enable these subtypes.
716 List<InputMethodSubtype> subtypes = inputMethodManager
718 final int subtypeCount = subtypes.size();
720 InputMethodSubtype subtype = subtypes.get(j);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionaryList.java85 final List<InputMethodSubtype> subtypes =
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/
H A DAdditionalSubtypeUtilsTests.java164 final InputMethodSubtype[] subtypes = { EN_UK_DVORAK, ZZ_AZERTY };
165 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DLanguageOnSpacebarHelperTests.java78 private static List<InputMethodSubtype> asList(final InputMethodSubtype ... subtypes) { argument
79 return Arrays.asList(subtypes);
/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeper.java797 final List<InputMethodSubtype> subtypes =
799 // IMEs that have no subtypes should be counted.
800 if (subtypes.isEmpty()) {
806 for (InputMethodSubtype subtype : subtypes) {
811 final int nonAuxCount = subtypes.size() - auxCount;
813 // IMEs that have one or more non-auxiliary subtypes should be counted.
815 // subtypes should be counted as well.

Completed in 844 milliseconds