Home | History | Annotate | Download | only in inputmethod

Lines Matching defs:subtypes

134             Slog.w(TAG, "Found no subtypes in a system IME: " + imi.getPackageName());
160 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
163 subtypes.add(imi.getSubtypeAt(i));
165 return subtypes;
170 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
175 subtypes.add(subtype);
178 return subtypes;
223 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi);
228 final int N = subtypes.size();
230 // scan overriding implicitly enabled subtypes.
231 InputMethodSubtype subtype = subtypes.get(i);
243 final InputMethodSubtype subtype = subtypes.get(i);
252 // need to find applicable subtypes aggressively unlike
256 // If more applicable subtypes are contained, skip.
270 final InputMethodSubtype subtype = subtypes.get(i);
280 res, subtypes, SUBTYPE_MODE_KEYBOARD, systemLocale, true);
299 * If there are no selected subtypes, tries finding the most applicable one according to the
301 * @param subtypes this function will search the most applicable subtype in subtypes
302 * @param mode subtypes will be filtered by mode
303 * @param locale subtypes will be filtered by locale
309 Resources res, List<InputMethodSubtype> subtypes, String mode, String locale,
311 if (subtypes == null || subtypes.size() == 0) {
321 final int N = subtypes.size();
323 InputMethodSubtype subtype = subtypes.get(i);
326 // and all subtypes with all modes can be candidates.
327 if (mode == null || subtypes.get(i).getMode().equalsIgnoreCase(mode)) {
461 ArrayList<String> subtypes = pair.second;
463 // Inputmethod and subtypes are saved in the settings as follows:
465 for (String subtypeId: subtypes) {
767 // If there are no explicitly enabled subtypes, applicable subtypes are
769 // If IME is enabled and no subtypes are enabled, applicable subtypes