Searched refs:subtypes (Results 1 – 18 of 18) sorted by relevance
306 final List<InputMethodSubtype> subtypes) { in checkIfSubtypeBelongsToList() argument307 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND; in checkIfSubtypeBelongsToList()311 final List<InputMethodSubtype> subtypes) { in getSubtypeIndexInList() argument312 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 …]
84 final InputMethodSubtype[] subtypes = in updateCustomInputStylesSummary() local87 for (final InputMethodSubtype subtype : subtypes) { in updateCustomInputStylesSummary()270 final ArrayList<InputMethodSubtype> subtypes = new ArrayList<>(); in getSubtypes() local278 subtypes.add(subtypePref.getSubtype()); in getSubtypes()281 return subtypes.toArray(new InputMethodSubtype[subtypes.size()]); in getSubtypes()288 final InputMethodSubtype[] subtypes = getSubtypes(); in onPause() local289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in onPause()297 mRichImm.setAdditionalInputMethodSubtypes(subtypes); in onPause()
260 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local262 .thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()279 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local280 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()
330 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local332 eq(mockInfo), anyBoolean())).thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()347 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local348 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()
1082 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfo() local1084 .thenReturn(subtypes); in createMockInputMethodInfo()1099 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local1100 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()
97 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createInputMethodInfo() local99 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo()101 subtypes.add(new InputMethodSubtype.InputMethodSubtypeBuilder() in createInputMethodInfo()115 subtypes, in createInputMethodInfo()
133 public static String createPrefSubtypes(final InputMethodSubtype[] subtypes) { in createPrefSubtypes() argument134 if (subtypes == null || subtypes.length == 0) { in createPrefSubtypes()138 for (final InputMethodSubtype subtype : subtypes) { in createPrefSubtypes()
192 @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()
82 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()
87 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local90 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
174 final InputMethodSubtype[] subtypes = { EN_US_DVORAK, ZZ_AZERTY }; in testRestorable() local175 final String prefSubtype = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in testRestorable()
93 private static void enableSubtypes(final RichInputMethodSubtype ... subtypes) { in enableSubtypes() argument95 for (final RichInputMethodSubtype subtype : subtypes) { in enableSubtypes()
105 List<InputMethodSubtype> subtypes = in getSummaryString() local109 subtypes, context, inputMethodInfo); in getSummaryString()
112 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local115 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
833 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()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...