Home
last modified time | relevance | path

Searched refs:currentSubtype (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/inputmethod/
DSubtypeUtils.java310 @Nullable InputMethodSubtype currentSubtype) { in getCurrentInputMethodSubtype() argument
314 if (selectedSubtypeHashCode != NOT_A_SUBTYPE_ID && currentSubtype != null in getCurrentInputMethodSubtype()
315 && isValidSubtypeHashCode(imi, currentSubtype.hashCode())) { in getCurrentInputMethodSubtype()
316 return currentSubtype; in getCurrentInputMethodSubtype()
329 return currentSubtype; in getCurrentInputMethodSubtype()
DInputMethodMenuController.java86 final InputMethodSubtype currentSubtype = in showInputMethodMenuLocked() local
88 if (currentSubtype != null) { in showInputMethodMenuLocked()
93 currentImi, currentSubtype.hashCode()); in showInputMethodMenuLocked()
DInputMethodSettings.java564 InputMethodSubtype currentSubtype) { in saveCurrentInputMethodAndSubtypeToHistory() argument
566 if (currentSubtype != null) { in saveCurrentInputMethodAndSubtypeToHistory()
567 subtypeHashCodeStr = String.valueOf(currentSubtype.hashCode()); in saveCurrentInputMethodAndSubtypeToHistory()
569 if (InputMethodUtils.canAddToLastInputMethod(currentSubtype)) { in saveCurrentInputMethodAndSubtypeToHistory()
DInputMethodBindingController.java239 void setCurrentSubtype(@Nullable InputMethodSubtype currentSubtype) { in setCurrentSubtype() argument
240 mCurrentSubtype = currentSubtype; in setCurrentSubtype()
DInputMethodManagerService.java4121 final var currentSubtype = bindingController.getCurrentSubtype(); in switchToPreviousInputMethod() local
4128 final int currentSubtypeHash = currentSubtype == null ? NOT_A_SUBTYPE_ID in switchToPreviousInputMethod()
4129 : currentSubtype.hashCode(); in switchToPreviousInputMethod()
4139 && !InputMethodUtils.canAddToLastInputMethod(currentSubtype)) { in switchToPreviousInputMethod()
4147 if (currentSubtype != null in switchToPreviousInputMethod()
4148 && !TextUtils.isEmpty(currentSubtype.getLocale())) { in switchToPreviousInputMethod()
4149 locale = currentSubtype.getLocale(); in switchToPreviousInputMethod()