Lines Matching refs:subtypes

431         ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
434 subtypes.add(imi.getSubtypeAt(i));
436 return subtypes;
441 ArrayList<InputMethodSubtype> subtypes = new ArrayList<InputMethodSubtype>();
446 subtypes.add(subtype);
449 return subtypes;
497 final List<InputMethodSubtype> subtypes = InputMethodUtils.getSubtypes(imi);
503 final int N = subtypes.size();
505 // scan overriding implicitly enabled subtypes.
506 InputMethodSubtype subtype = subtypes.get(i);
518 final InputMethodSubtype subtype = subtypes.get(i);
531 // need to find applicable subtypes aggressively unlike
538 // If more applicable subtypes are contained, skip.
552 final InputMethodSubtype subtype = subtypes.get(i);
562 res, subtypes, SUBTYPE_MODE_KEYBOARD, systemLocale, true);
584 * If there are no selected subtypes, tries finding the most applicable one according to the
586 * @param subtypes this function will search the most applicable subtype in subtypes
587 * @param mode subtypes will be filtered by mode
588 * @param locale subtypes will be filtered by locale
594 Resources res, List<InputMethodSubtype> subtypes, String mode, String locale,
596 if (subtypes == null || subtypes.size() == 0) {
606 final int N = subtypes.size();
608 InputMethodSubtype subtype = subtypes.get(i);
612 // and all subtypes with all modes can be candidates.
613 if (mode == null || subtypes.get(i).getMode().equalsIgnoreCase(mode)) {
796 // Inputmethod and subtypes are saved in the settings as follows:
1138 // If there are no explicitly enabled subtypes, applicable subtypes are
1140 // If IME is enabled and no subtypes are enabled, applicable subtypes