Home
last modified time | relevance | path

Searched refs:subtypeHashCode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java437 public static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { in isValidSubtypeId() argument
438 return getSubtypeIdFromHashCode(imi, subtypeHashCode) != NOT_A_SUBTYPE_ID; in isValidSubtypeId()
441 public static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { in getSubtypeIdFromHashCode() argument
446 if (subtypeHashCode == ims.hashCode()) { in getSubtypeIdFromHashCode()
1204 final String subtypeHashCode = in getLastSubtypeForInputMethodLockedInternal() local
1207 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() argument
1239 if (String.valueOf(st.hashCode()).equals(subtypeHashCode)) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked()
[all …]
DInputMethodSubtypeSwitchingController.java236 final String subtypeHashCode = String.valueOf(subtype.hashCode()); in getSortedInputMethodAndSubtypeList() local
238 if (enabledSubtypeSet.contains(subtypeHashCode) in getSortedInputMethodAndSubtypeList()
250 enabledSubtypeSet.remove(subtypeHashCode); in getSortedInputMethodAndSubtypeList()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java463 final int subtypeHashCode; in getCurrentSpellCheckerSubtype() local
467 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()