Home
last modified time | relevance | path

Searched refs:isInputMethodEnabled (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceController.java150 || isInputMethodEnabled(inputMethodInfo); in isInputMethodAllowedByOrganization()
153 private boolean isInputMethodEnabled(InputMethodInfo inputMethodInfo) { in isInputMethodEnabled() method in KeyboardManagementPreferenceController
154 return InputMethodUtil.isInputMethodEnabled( in isInputMethodEnabled()
197 switchPreference.setChecked(InputMethodUtil.isInputMethodEnabled(getContext() in createSwitchPreference()
205 if (!isInputMethodEnabled(inputMethodInfo)) { in createSwitchPreference()
DInputMethodUtil.java125 public static boolean isInputMethodEnabled(ContentResolver resolver, in isInputMethodEnabled() method in InputMethodUtil
146 if (isInputMethodEnabled(resolver, inputMethodInfo)) { in enableInputMethod()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java219 assertThat(InputMethodUtil.isInputMethodEnabled(mContext.getContentResolver(), info)) in isInputMethodEnabled_isDisabled_returnsFalse()
228 assertThat(InputMethodUtil.isInputMethodEnabled(mContext.getContentResolver(), info)) in isInputMethodEnabled_isEnabled_returnsTrue()