Searched refs:subtypeHashCode (Results 1 – 3 of 3) sorted by relevance
437 public static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { in isValidSubtypeId() argument438 return getSubtypeIdFromHashCode(imi, subtypeHashCode) != NOT_A_SUBTYPE_ID; in isValidSubtypeId()441 public static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { in getSubtypeIdFromHashCode() argument446 if (subtypeHashCode == ims.hashCode()) { in getSubtypeIdFromHashCode()1204 final String subtypeHashCode = in getLastSubtypeForInputMethodLockedInternal() local1207 if (!TextUtils.isEmpty(subtypeHashCode)) { in getLastSubtypeForInputMethodLockedInternal()1209 Slog.d(TAG, "Enabled subtype found in the history: " + subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal()1211 return new Pair<>(imeInTheHistory, subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal()1222 ArrayList<String>>> enabledImes, String imeId, String subtypeHashCode) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked() argument1239 if (String.valueOf(st.hashCode()).equals(subtypeHashCode)) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked()[all …]
236 final String subtypeHashCode = String.valueOf(subtype.hashCode()); in getSortedInputMethodAndSubtypeList() local238 if (enabledSubtypeSet.contains(subtypeHashCode) in getSortedInputMethodAndSubtypeList()250 enabledSubtypeSet.remove(subtypeHashCode); in getSortedInputMethodAndSubtypeList()
463 final int subtypeHashCode; in getCurrentSpellCheckerSubtype() local467 subtypeHashCode = in getCurrentSpellCheckerSubtype()470 Slog.w(TAG, "getCurrentSpellCheckerSubtype: " + subtypeHashCode); in getCurrentSpellCheckerSubtype()481 if (subtypeHashCode == SpellCheckerSubtype.SUBTYPE_ID_NONE in getCurrentSpellCheckerSubtype()486 if (subtypeHashCode == 0) { in getCurrentSpellCheckerSubtype()508 if (subtypeHashCode == 0) { in getCurrentSpellCheckerSubtype()519 } else if (scs.hashCode() == subtypeHashCode) { in getCurrentSpellCheckerSubtype()