Searched refs:subtypes (Results 1 – 20 of 20) 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()
229 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local230 inputMethodManager.setEnabledInputMethodSubtypeList(subtypes); in createMockInputMethodInfoWithSubtypes()247 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local248 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()
324 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfoWithSubtypes() local326 eq(mockInfo), anyBoolean())).thenReturn(subtypes); in createMockInputMethodInfoWithSubtypes()341 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local342 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()
1013 List<InputMethodSubtype> subtypes = createSubtypes(); in createMockInputMethodInfo() local1014 inputMethodManager.setEnabledInputMethodSubtypeList(subtypes); in createMockInputMethodInfo()1029 List<InputMethodSubtype> subtypes = new ArrayList<>(); in createSubtypes() local1030 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()
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()
112 final List<InputMethodSubtype> subtypes = in getUserDictionaryLocalesSet() local115 for (InputMethodSubtype subtype : subtypes) { in getUserDictionaryLocalesSet()
105 List<InputMethodSubtype> subtypes = in getSummaryString() local109 subtypes, context, inputMethodInfo); in getSummaryString()
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_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...