Home
last modified time | relevance | path

Searched refs:subtypes (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java306 final List<InputMethodSubtype> subtypes) { in checkIfSubtypeBelongsToList() argument
307 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND; in checkIfSubtypeBelongsToList()
311 final List<InputMethodSubtype> subtypes) { in getSubtypeIndexInList() argument
312 final int count = subtypes.size(); in getSubtypeIndexInList()
314 final InputMethodSubtype ims = subtypes.get(index); in getSubtypeIndexInList()
378 final List<InputMethodSubtype> subtypes = getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledSubtypes()
380 if (subtypes.isEmpty()) { in hasMultipleEnabledSubtypes()
386 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledSubtypes()
391 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledSubtypes()
404 final List<InputMethodSubtype> subtypes = getMyEnabledInputMethodSubtypeList(true); in hasMultipleEnabledSubtypes() local
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java84 final InputMethodSubtype[] subtypes = in updateCustomInputStylesSummary() local
87 for (final InputMethodSubtype subtype : subtypes) { in updateCustomInputStylesSummary()
270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local
278 subtypes.add(subtypePref.getSubtype()); in getSubtypes()
281 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]); in getSubtypes()
288 final InputMethodSubtype[] subtypes = getSubtypes(); in onPause() local
289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in onPause()
297 mRichImm.setAdditionalInputMethodSubtypes(subtypes); in onPause()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceControllerTest.java260 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local
262 .thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()
279 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
280 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
281 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
282 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
283 return subtypes; in createSubtypes()
DInputMethodUtilTest.java330 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local
332 eq(mockInfo), anyBoolean())).thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()
347 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
348 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
349 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
350 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
351 return subtypes; in createSubtypes()
DKeyboardManagementPreferenceControllerTest.java1082 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfo() local
1084 .thenReturn(subtypes); in createMockInputMethodInfo()
1099 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
1100 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
1101 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
1102 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
1103 return subtypes; in createSubtypes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DInputMethodAndSubtypePreferenceControllerTest.java97 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createInputMethodInfo() local
99 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo()
101 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo()
115 subtypes, in createInputMethodInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtils.java133 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) { in createPrefSubtypes() argument
134 if (subtypes == null || subtypes.length == 0) { in createPrefSubtypes()
138 for (final InputMethodSubtype subtype : subtypes) { in createPrefSubtypes()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInputDeviceResultTask.java192 @NonNull final List<InputMethodSubtype> subtypes, @NonNull final Context context, in getSubtypeLocaleNameListAsSentence()
194 if (subtypes.isEmpty()) { in getSubtypeLocaleNameListAsSentence()
198 final int subtypeCount = subtypes.size(); in getSubtypeLocaleNameListAsSentence()
201 subtypeNames[i] = subtypes.get(i).getDisplayName(context, in getSubtypeLocaleNameListAsSentence()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java82 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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java87 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local
90 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java174 final InputMethodSubtype[] subtypes = { EN_US_DVORAK, ZZ_AZERTY }; in testRestorable() local
175 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in testRestorable()
DLanguageOnSpacebarUtilsTests.java93 private static void enableSubtypes(final RichInputMethodSubtype ... subtypes) { in enableSubtypes() argument
95 for (final RichInputMethodSubtype subtype : subtypes) { in enableSubtypes()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DInputMethodUtil.java105 List<InputMethodSubtype> subtypes = in getSummaryString() local
109 subtypes, context, inputMethodInfo); in getSummaryString()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java112 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local
115 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java833 final List<InputMethodSubtype> subtypes = in hasMultipleEnabledIMEsOrSubtypes()
836 if (subtypes.isEmpty()) { in hasMultipleEnabledIMEsOrSubtypes()
842 for (InputMethodSubtype subtype : subtypes) { in hasMultipleEnabledIMEsOrSubtypes()
847 final int nonAuxCount = subtypes.size() - auxCount; in hasMultipleEnabledIMEsOrSubtypes()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...