Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java405 static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { in isValidSubtypeId() argument
406 return getSubtypeIdFromHashCode(imi, subtypeHashCode) != NOT_A_SUBTYPE_ID; in isValidSubtypeId()
409 static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { in getSubtypeIdFromHashCode() argument
414 if (subtypeHashCode == ims.hashCode()) { in getSubtypeIdFromHashCode()
1113 final String subtypeHashCode = in getLastSubtypeForInputMethodLockedInternal() local
1116 if (!TextUtils.isEmpty(subtypeHashCode)) { in getLastSubtypeForInputMethodLockedInternal()
1118 Slog.d(TAG, "Enabled subtype found in the history: " + subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal()
1120 return new Pair<>(imeInTheHistory, subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal()
1131 ArrayList<String>>> enabledImes, String imeId, String subtypeHashCode) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked() argument
1148 if (String.valueOf(st.hashCode()).equals(subtypeHashCode)) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked()
[all …]
DInputMethodSubtypeSwitchingController.java214 final String subtypeHashCode = String.valueOf(subtype.hashCode()); in getSortedInputMethodAndSubtypeList() local
216 if (enabledSubtypeSet.contains(subtypeHashCode) in getSortedInputMethodAndSubtypeList()
228 enabledSubtypeSet.remove(subtypeHashCode); in getSortedInputMethodAndSubtypeList()
DInputMethodManagerService.java4368 String subtypeHashCode = mSettings.getLastSubtypeForInputMethodLocked(newDefaultIme); in resetSelectedInputMethodAndSubtypeLocked() local
4369 if (subtypeHashCode != null) { in resetSelectedInputMethodAndSubtypeLocked()
4372 imi, Integer.parseInt(subtypeHashCode)); in resetSelectedInputMethodAndSubtypeLocked()
4374 Slog.w(TAG, "HashCode for subtype looks broken: " + subtypeHashCode, e); in resetSelectedInputMethodAndSubtypeLocked()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java535 final int subtypeHashCode; in getCurrentSpellCheckerSubtype() local
543 subtypeHashCode = in getCurrentSpellCheckerSubtype()
546 Slog.w(TAG, "getCurrentSpellCheckerSubtype: " + subtypeHashCode); in getCurrentSpellCheckerSubtype()
557 if (subtypeHashCode == SpellCheckerSubtype.SUBTYPE_ID_NONE in getCurrentSpellCheckerSubtype()
563 if (subtypeHashCode != 0) { in getCurrentSpellCheckerSubtype()
567 if (scs.hashCode() == subtypeHashCode) { in getCurrentSpellCheckerSubtype()