Searched refs:imm (Results 1 – 11 of 11) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ImeAwareEditText.java | 70 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()
|
D | CtsKeyEventUtil.java | 193 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local 194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ImeAwareEditText.java | 70 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()
|
D | CtsKeyEventUtil.java | 193 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local 194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | KeyboardVisibilityControlTest.java | 134 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 …]
|
D | BaseInputConnectionTest.java | 177 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() in testReportFullscreenMode() local 181 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode() 185 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode()
|
D | InputMethodInfoTest.java | 239 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testAtLeastOneEncryptionAwareInputMethodIsAvailable() local 240 final List<InputMethodInfo> imis = imm.getInputMethodList(); in testAtLeastOneEncryptionAwareInputMethodIsAvailable()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LoginActivity.java | 165 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/ |
D | MultiDisplayClientTests.java | 215 final InputMethodManager imm = in testInputMethodManagerDisplayId() local 218 assertEquals(newDisplay.mId, imm.getDisplayId()); in testInputMethodManagerDisplayId()
|
D | MultiDisplaySystemDecorationTests.java | 471 final InputMethodManager imm = activity.getSystemService(InputMethodManager.class); in testImeApiForBug118341760() local 473 imm.isActive(activity.getEditText())); in testImeApiForBug118341760()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3859 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()
|