Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java79 private InputMethodManager mInputMethodManager; field in InputMethodUtilTest
121 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull()
124 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull()
133 mPackageManager, mInputMethodManager, DUMMY_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList()
134 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList()
140 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList()
149 mPackageManager, mInputMethodManager, DUMMY_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME()
151 mPackageManager, mInputMethodManager, InputMethodUtil.GOOGLE_VOICE_TYPING); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME()
152 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME()
157 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME()
[all …]
DKeyboardManagementPreferenceControllerTest.java80 private InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceControllerTest
89 mInputMethodManager = (InputMethodManager) mContext.getSystemService(Context in setUp()
392 assertThat(mInputMethodManager.getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
615 assertThat(mInputMethodManager.getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showDirectBootDialog_positive_inputMethodEnabled()
745 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled()
810 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()
163 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in isOnlyEnabledDefaultInputMethod()
192 mInputMethodManager, inputMethodInfo)); in createSwitchPreference() local
199 InputMethodUtil.disableInputMethod(getContext(), mInputMethodManager, in createSwitchPreference() local
DEnabledKeyboardPreferenceController.java52 private final InputMethodManager mInputMethodManager; field in EnabledKeyboardPreferenceController
62 mInputMethodManager = in EnabledKeyboardPreferenceController()
77 mInputMethodManager, mDevicePolicyManager); in updateState()
126 getContext(), mInputMethodManager, inputMethodInfo)); in createPreference() local
DKeyboardPreferenceController.java40 private final InputMethodManager mInputMethodManager; field in KeyboardPreferenceController
50 mInputMethodManager = in KeyboardPreferenceController()
63 mInputMethodManager, mDevicePolicyManager); in updateState()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DSearchView.java45 private final InputMethodManager mInputMethodManager; field in SearchView
83 mInputMethodManager = (InputMethodManager) in SearchView()
108 mInputMethodManager.showSoftInput(view, 0); in SearchView()
110 mInputMethodManager.hideSoftInputFromWindow(view.getWindowToken(), 0); in SearchView()
222 mInputMethodManager.restartInput(mSearchText); in setPlainText()
/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
181 mInputMethodManager = getSystemService(InputMethodManager.class); in onCreate()
282 mInputMethodManager.dispatchKeyEventFromInputMethod(getCurrentFocus(), event); in onKeyEvent()