Lines Matching refs:subtype

216                 for (InputMethodSubtype subtype : explicitlyOrImplicitlyEnabledSubtypeList) {
217 enabledSubtypeSet.add(String.valueOf(subtype.hashCode()));
226 final InputMethodSubtype subtype = imi.getSubtypeAt(j);
227 final String subtypeHashCode = String.valueOf(subtype.hashCode());
230 && ((inputShown && !isScreenLocked) || !subtype.isAuxiliary())) {
232 subtype.overridesImplicitlyEnabledSubtype() ? null : subtype
236 subtypeLabel, imi, j, subtype.getLocale(), mSystemLocaleStr));
238 // Removing this subtype from enabledSubtypeSet because we no
239 // longer need to add an entry of this subtype to imList to avoid
254 private static int calculateSubtypeId(InputMethodInfo imi, InputMethodSubtype subtype) {
255 return subtype != null ? InputMethodUtils.getSubtypeIdFromHashCode(imi,
256 subtype.hashCode()) : NOT_A_SUBTYPE_ID;
266 * Returns the index of the specified input method and subtype in the given list.
268 * @param subtype The {@link InputMethodSubtype} to be searched. null if the input method
269 * does not have a subtype.
272 private int getIndex(InputMethodInfo imi, InputMethodSubtype subtype) {
273 final int currentSubtypeId = calculateSubtypeId(imi, subtype);
277 // Skip until the current IME/subtype is found.
286 InputMethodInfo imi, InputMethodSubtype subtype) {
293 final int currentIndex = getIndex(imi, subtype);
299 // Start searching the next IME/subtype from the next of the current index.
334 private int getUsageRank(final InputMethodInfo imi, InputMethodSubtype subtype) {
335 final int currentSubtypeId = calculateSubtypeId(imi, subtype);
350 public void onUserAction(InputMethodInfo imi, InputMethodSubtype subtype) {
351 final int currentUsageRank = getUsageRank(imi, subtype);
363 InputMethodInfo imi, InputMethodSubtype subtype) {
364 int currentUsageRank = getUsageRank(imi, subtype);
367 Slog.d(TAG, "IME/subtype is not found: " + imi.getId() + ", " + subtype);
439 InputMethodSubtype subtype) {
445 subtype);
448 subtype);
452 public void onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) {
457 mSwitchingAwareRotationList.onUserAction(imi, subtype);
491 public void onUserActionLocked(InputMethodInfo imi, InputMethodSubtype subtype) {
498 mController.onUserActionLocked(imi, subtype);
508 InputMethodSubtype subtype) {
515 return mController.getNextInputMethod(onlyCurrentIme, imi, subtype);