Searched refs:subtypeHashCode (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodUtils.java | 403 static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { in isValidSubtypeId() argument 404 return getSubtypeIdFromHashCode(imi, subtypeHashCode) != NOT_A_SUBTYPE_ID; in isValidSubtypeId() 407 static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { in getSubtypeIdFromHashCode() argument 412 if (subtypeHashCode == ims.hashCode()) { in getSubtypeIdFromHashCode() 1111 final String subtypeHashCode = in getLastSubtypeForInputMethodLockedInternal() local 1114 if (!TextUtils.isEmpty(subtypeHashCode)) { in getLastSubtypeForInputMethodLockedInternal() 1116 Slog.d(TAG, "Enabled subtype found in the history: " + subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal() 1118 return new Pair<>(imeInTheHistory, subtypeHashCode); in getLastSubtypeForInputMethodLockedInternal() 1129 ArrayList<String>>> enabledImes, String imeId, String subtypeHashCode) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked() argument 1146 if (String.valueOf(st.hashCode()).equals(subtypeHashCode)) { in getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked() [all …]
|
D | InputMethodSubtypeSwitchingController.java | 214 final String subtypeHashCode = String.valueOf(subtype.hashCode()); in getSortedInputMethodAndSubtypeList() local 216 if (enabledSubtypeSet.contains(subtypeHashCode) in getSortedInputMethodAndSubtypeList() 228 enabledSubtypeSet.remove(subtypeHashCode); in getSortedInputMethodAndSubtypeList()
|
D | InputMethodManagerService.java | 4929 String subtypeHashCode = mSettings.getLastSubtypeForInputMethodLocked(newDefaultIme); in resetSelectedInputMethodAndSubtypeLocked() local 4930 if (subtypeHashCode != null) { in resetSelectedInputMethodAndSubtypeLocked() 4933 imi, Integer.parseInt(subtypeHashCode)); in resetSelectedInputMethodAndSubtypeLocked() 4935 Slog.w(TAG, "HashCode for subtype looks broken: " + subtypeHashCode, e); in resetSelectedInputMethodAndSubtypeLocked()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 505 final int subtypeHashCode; in getCurrentSpellCheckerSubtype() local 513 subtypeHashCode = in getCurrentSpellCheckerSubtype() 516 Slog.w(TAG, "getCurrentSpellCheckerSubtype: " + subtypeHashCode); in getCurrentSpellCheckerSubtype() 527 if (subtypeHashCode == SpellCheckerSubtype.SUBTYPE_ID_NONE in getCurrentSpellCheckerSubtype() 533 if (subtypeHashCode != 0) { in getCurrentSpellCheckerSubtype() 537 if (scs.hashCode() == subtypeHashCode) { in getCurrentSpellCheckerSubtype()
|