Home
last modified time | relevance | path

Searched refs:imm (Results 1 – 11 of 11) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java134 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation()
150 getOnMainSync(() -> imm.isActive(editText)));
154 getOnMainSync(() -> imm.showSoftInput(editText, 0)));
161 getOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0)));
170 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation()
188 getOnMainSync(() -> imm.isActive(nonFocusedEditText)));
190 getOnMainSync(() -> imm.showSoftInput(nonFocusedEditText, 0)));
194 getOnMainSync(() -> imm.hideSoftInputFromWindow(
202 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation()
218 runOnMainSync(() -> imm.toggleSoftInputFromWindow(editText.getWindowToken(), 0, 0));
[all …]
DBaseInputConnectionTest.java177 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() in testReportFullscreenMode() local
181 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode()
185 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode()
DInputMethodInfoTest.java239 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testAtLeastOneEncryptionAwareInputMethodIsAvailable() local
240 final List<InputMethodInfo> imis = imm.getInputMethodList(); in testAtLeastOneEncryptionAwareInputMethodIsAvailable()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DImeAwareEditText.java70 final InputMethodManager imm = in showSoftInputIfNecessary() local
72 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
78 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local
79 if (imm.isActive(this)) { in scheduleShowSoftInput()
84 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
DCtsKeyEventUtil.java193 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local
194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DImeAwareEditText.java70 final InputMethodManager imm = in showSoftInputIfNecessary() local
72 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
78 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local
79 if (imm.isActive(this)) { in scheduleShowSoftInput()
84 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
DCtsKeyEventUtil.java193 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local
194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DLoginActivity.java165 final InputMethodManager imm = (InputMethodManager) getSystemService( in save() local
167 imm.hideSoftInputFromWindow(mUsernameEditText.getWindowToken(), 0); in save()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayClientTests.java215 final InputMethodManager imm = in testInputMethodManagerDisplayId() local
218 assertEquals(newDisplay.mId, imm.getDisplayId()); in testInputMethodManagerDisplayId()
DMultiDisplaySystemDecorationTests.java473 final InputMethodManager imm = activity.getSystemService(InputMethodManager.class); in testImeApiForBug118341760() local
475 imm.isActive(activity.getEditText())); in testImeApiForBug118341760()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3859 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testSetScrollContainer() local
3873 imm.showSoftInput(mockView, 0); in testSetScrollContainer()
3880 () -> imm.hideSoftInputFromInputMethod(mockView.getWindowToken(), 0)); in testSetScrollContainer()
4304 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testInputConnection() local
4319 mActivityRule.runOnUiThread(() -> imm.showSoftInput(editText, 0)); in testInputConnection()
4327 assertTrue(imm.isActive(editText)); in testInputConnection()
4329 imm.isActive(view); in testInputConnection()