Searched refs:imm (Results 1 – 7 of 7) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/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()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | KeyboardVisibilityControlTest.java | 133 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 149 getOnMainSync(() -> imm.isActive(editText))); 153 getOnMainSync(() -> imm.showSoftInput(editText, 0))); 160 getOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0))); 169 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 187 getOnMainSync(() -> imm.isActive(nonFocusedEditText))); 189 getOnMainSync(() -> imm.showSoftInput(nonFocusedEditText, 0))); 193 getOnMainSync(() -> imm.hideSoftInputFromWindow( 201 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 217 runOnMainSync(() -> imm.toggleSoftInputFromWindow(editText.getWindowToken(), 0, 0)); [all …]
|
D | BaseInputConnectionTest.java | 176 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() in testReportFullscreenMode() local 180 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode() 184 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode()
|
D | InputMethodInfoTest.java | 238 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testAtLeastOneEncryptionAwareInputMethodIsAvailable() local 239 final List<InputMethodInfo> imis = imm.getInputMethodList(); in testAtLeastOneEncryptionAwareInputMethodIsAvailable()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 193 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local 194 imm.dispatchKeyEventFromInputMethod(null, newEvent); in sendKey()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LoginActivity.java | 185 final InputMethodManager imm = (InputMethodManager) getSystemService( in save() local 187 imm.hideSoftInputFromWindow(mUsernameEditText.getWindowToken(), 0); in save()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3604 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testSetScrollContainer() local 3618 imm.showSoftInput(mockView, 0); in testSetScrollContainer() 3625 () -> imm.hideSoftInputFromInputMethod(mockView.getWindowToken(), 0)); in testSetScrollContainer() 4049 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testInputConnection() local 4064 mActivityRule.runOnUiThread(() -> imm.showSoftInput(editText, 0)); in testInputConnection() 4072 assertTrue(imm.isActive(editText)); in testInputConnection() 4074 imm.isActive(view); in testInputConnection()
|