Home
last modified time | relevance | path

Searched refs:subtypes (Results 1 – 20 of 20) 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/robotests/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceControllerTest.java229 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local
230 inputMethodManager.setEnabledInputMethodSubtypeList(subtypes); in createMockInputMethodInfoWithSubtypes()
247 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
248 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
249 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
250 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
251 return subtypes; in createSubtypes()
DInputMethodUtilTest.java324 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local
326 eq(mockInfo), anyBoolean())).thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()
341 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
342 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
343 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
344 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
345 return subtypes; in createSubtypes()
DKeyboardManagementPreferenceControllerTest.java1013 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfo() local
1014 inputMethodManager.setEnabledInputMethodSubtypeList(subtypes); in createMockInputMethodInfo()
1029 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local
1030 subtypes.add(createSubtype(1, "en_US")); in createSubtypes()
1031 subtypes.add(createSubtype(2, "de_BE")); in createSubtypes()
1032 subtypes.add(createSubtype(3, "oc-FR")); in createSubtypes()
1033 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/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java112 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local
115 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...