Home
last modified time | relevance | path

Searched refs:mInputMethodManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java77 private InputMethodManager mInputMethodManager; field in InputMethodUtilTest
118 mInputMethodManager, DUMMY_PACKAGE_NAME); in getPackageIcon_hasApplicationIcon()
126 mInputMethodManager, DUMMY_PACKAGE_NAME); in getPackageIcon_noApplicationIcon()
136 mInputMethodManager, DUMMY_PACKAGE_NAME); in getPackageLabel()
144 mInputMethodManager, DUMMY_PACKAGE_NAME); in getSummaryString()
145 assertThat(InputMethodUtil.getSummaryString(mContext, mInputMethodManager, info)).isEqualTo( in getSummaryString()
209 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notEnabled_remainsUnchanged()
212 InputMethodUtil.disableInputMethod(mContext, mInputMethodManager, info); in disableInputMethod_notEnabled_remainsUnchanged()
225 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notDefault_removesIMEWhileDefaultRemainsSame()
228 InputMethodUtil.disableInputMethod(mContext, mInputMethodManager, info); in disableInputMethod_notDefault_removesIMEWhileDefaultRemainsSame()
[all …]
DKeyboardManagementPreferenceControllerTest.java80 private InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceControllerTest
89 mInputMethodManager = (InputMethodManager) mContext.getSystemService(Context in setUp()
381 assertThat(mInputMethodManager.getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
604 assertThat(mInputMethodManager.getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showDirectBootDialog_positive_inputMethodEnabled()
734 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled()
799 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleFalse_inputMethodDisabled()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceController.java50 private final InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceController
83 mInputMethodManager = in KeyboardManagementPreferenceController()
118 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getInputMethodList(); in updateState()
126 mInputMethodManager, a))); in updateState()
159 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in isOnlyEnabledDefaultInputMethod()
188 mInputMethodManager, inputMethodInfo)); in createSwitchPreference() local
195 InputMethodUtil.disableInputMethod(getContext(), mInputMethodManager, in createSwitchPreference() local
DEnabledKeyboardPreferenceController.java51 private final InputMethodManager mInputMethodManager; field in EnabledKeyboardPreferenceController
61 mInputMethodManager = in EnabledKeyboardPreferenceController()
75 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in updateState()
130 getContext(), mInputMethodManager, inputMethodInfo)); in createPreference() local
DKeyboardPreferenceController.java40 private final InputMethodManager mInputMethodManager; field in KeyboardPreferenceController
50 mInputMethodManager = in KeyboardPreferenceController()
62 mInputMethodManager.getEnabledInputMethodList(); in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java78 private InputMethodManager mInputMethodManager; field in LanguageAndInputSettingsTest
135 .thenReturn(mInputMethodManager); in testSummary_shouldSetToCurrentImeName()
140 when(mInputMethodManager.getInputMethodList()).thenReturn(imis); in testSummary_shouldSetToCurrentImeName()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMainClusterActivity.java106 private InputMethodManager mInputMethodManager; field in MainClusterActivity
209 mInputMethodManager = getSystemService(InputMethodManager.class); in onCreate()
312 mInputMethodManager.dispatchKeyEventFromInputMethod(getCurrentFocus(), event); in onKeyEvent()