Home
last modified time | relevance | path

Searched refs:lastIme (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSettings.java343 final Pair<String, String> lastIme = getLastInputMethodAndSubtype(); in getLastInputMethodSubtype() local
345 if (lastIme == null || TextUtils.isEmpty(lastIme.first) in getLastInputMethodSubtype()
346 || TextUtils.isEmpty(lastIme.second)) { in getLastInputMethodSubtype()
349 final InputMethodInfo lastImi = mMethodMap.get(lastIme.first); in getLastInputMethodSubtype()
352 final int lastSubtypeHash = Integer.parseInt(lastIme.second); in getLastInputMethodSubtype()
DInputMethodManagerService.java4114 final Pair<String, String> lastIme = settings.getLastInputMethodAndSubtype(); in switchToPreviousInputMethod() local
4116 if (lastIme != null) { in switchToPreviousInputMethod()
4117 lastImi = settings.getMethodMap().get(lastIme.first); in switchToPreviousInputMethod()
4124 if (lastIme != null && lastImi != null) { in switchToPreviousInputMethod()
4127 final int lastSubtypeHash = Integer.parseInt(lastIme.second); in switchToPreviousInputMethod()
4133 targetLastImiId = lastIme.first; in switchToPreviousInputMethod()
4175 Slog.d(TAG, "Switch to: " + lastImi.getId() + ", " + lastIme.second in switchToPreviousInputMethod()