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

/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java485 public static boolean isValidSubtypeId(InputMethodInfo imi, int subtypeHashCode) { argument
486 return getSubtypeIdFromHashCode(imi, subtypeHashCode) != NOT_A_SUBTYPE_ID;
489 public static int getSubtypeIdFromHashCode(InputMethodInfo imi, int subtypeHashCode) { argument
494 if (subtypeHashCode == ims.hashCode()) {
1268 final String subtypeHashCode =
1271 if (!TextUtils.isEmpty(subtypeHashCode)) {
1273 Slog.d(TAG, "Enabled subtype found in the history: " + subtypeHashCode);
1275 return new Pair<>(imeInTheHistory, subtypeHashCode);
1286 ArrayList<String>>> enabledImes, String imeId, String subtypeHashCode) {
1303 if (String.valueOf(st.hashCode()).equals(subtypeHashCode)) {
1285 getEnabledSubtypeHashCodeForInputMethodAndSubtypeLocked(List<Pair<String, ArrayList<String>>> enabledImes, String imeId, String subtypeHashCode) argument
[all...]
H A DInputMethodSubtypeSwitchingController.java230 final String subtypeHashCode = String.valueOf(subtype.hashCode());
232 if (enabledSubtypeSet.contains(subtypeHashCode)
244 enabledSubtypeSet.remove(subtypeHashCode);
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java462 final int subtypeHashCode;
466 subtypeHashCode =
469 Slog.w(TAG, "getCurrentSpellCheckerSubtype: " + subtypeHashCode);
480 if (subtypeHashCode == SpellCheckerSubtype.SUBTYPE_ID_NONE
485 if (subtypeHashCode == 0) {
507 if (subtypeHashCode == 0) {
518 } else if (scs.hashCode() == subtypeHashCode) {
H A DInputMethodManagerService.java3471 String subtypeHashCode = mSettings.getLastSubtypeForInputMethodLocked(newDefaultIme);
3472 if (subtypeHashCode != null) {
3475 imi, Integer.parseInt(subtypeHashCode));
3477 Slog.w(TAG, "HashCode for subtype looks broken: " + subtypeHashCode, e);

Completed in 90 milliseconds