/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.hasActiveInputConnection(this)) { in scheduleShowSoftInput() 84 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
|
D | CtsKeyEventUtil.java | 199 InputMethodManager imm = targetView.getContext().getSystemService(InputMethodManager.class); in sendKey() local 200 imm.dispatchKeyEventFromInputMethod(imm.isActive() ? null : targetView, newEvent); in sendKey()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ResizingEditActivity.java | 46 InputMethodManager imm = getSystemService(InputMethodManager.class); in showSoftInputOnExtraInputEditText() local 47 imm.showSoftInput(mExtraInput, InputMethodManager.SHOW_IMPLICIT); in showSoftInputOnExtraInputEditText()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodStartInputLifecycleTest.java | 93 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in testInputConnectionStateWhenScreenStateChanges() local 141 assertFalse(TestUtils.getOnMainSync(() -> imm.isActive(editText))); in testInputConnectionStateWhenScreenStateChanges() 142 assertFalse(TestUtils.getOnMainSync(() -> imm.isAcceptingText())); in testInputConnectionStateWhenScreenStateChanges() 165 () -> imm.isActive(editText) && imm.isAcceptingText())); in testInputConnectionStateWhenScreenStateChanges() 221 final InputMethodManager imm = editText.getContext().getSystemService( in testNoStartNewInputWhileOtherProcessHasWindowFocus() local 223 assertTrue(TestUtils.getOnMainSync(() -> imm.isActive(editText))); in testNoStartNewInputWhileOtherProcessHasWindowFocus() 224 assertTrue(TestUtils.getOnMainSync(() -> imm.isAcceptingText())); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
|
D | KeyboardVisibilityControlTest.java | 185 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 202 getOnMainSync(() -> imm.isActive(editText))); 206 getOnMainSync(() -> imm.showSoftInput(editText, 0))); 216 getOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0))); 228 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 247 getOnMainSync(() -> imm.isActive(nonFocusedEditText))); 249 getOnMainSync(() -> imm.showSoftInput(nonFocusedEditText, 0))); 253 getOnMainSync(() -> imm.hideSoftInputFromWindow( 262 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() 279 runOnMainSync(() -> imm.toggleSoftInputFromWindow(editText.getWindowToken(), 0, 0)); [all …]
|
D | ImeInsetsVisibilityTest.java | 249 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation().getContext() in testEditTextPositionAndPersistWhenAboveImeWindowShown() local 306 imm.showInputMethodPicker(); in testEditTextPositionAndPersistWhenAboveImeWindowShown() 307 TestUtils.waitOnMainUntil(() -> imm.isInputMethodPickerShown() && editText.isLaidOut(), in testEditTextPositionAndPersistWhenAboveImeWindowShown() 319 TestUtils.waitOnMainUntil(() -> !imm.isInputMethodPickerShown(), TIMEOUT, in testEditTextPositionAndPersistWhenAboveImeWindowShown()
|
D | BaseInputConnectionTest.java | 180 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() in testReportFullscreenMode() local 184 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode() 188 assertFalse(imm.isFullscreenMode()); in testReportFullscreenMode()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayClientTests.java | 204 final InputMethodManager imm = newDisplayContext.getSystemService(InputMethodManager.class); in testInputMethodManagerDisplayId() local 206 assertEquals("IMM#getDisplayId() must match.", newDisplay.mId, imm.getDisplayId()); in testInputMethodManagerDisplayId()
|
D | MultiDisplaySystemDecorationTests.java | 467 final InputMethodManager imm = activity.getSystemService(InputMethodManager.class); in testImeApiForBug118341760() local 469 imm.isActive(activity.getEditText())); in testImeApiForBug118341760() 816 final InputMethodManager imm = getSystemService(InputMethodManager.class); in showSoftInput() local 817 imm.showSoftInput(mEditText, 0); in showSoftInput()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | LoginActivity.java | 170 final InputMethodManager imm = (InputMethodManager) getSystemService( in save() local 172 imm.hideSoftInputFromWindow(mUsernameEditText.getWindowToken(), 0); in save()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 420 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in showInputMethodPicker() local 422 pollingCheck(() -> imm.isInputMethodPickerShown(), TIMEOUT, in showInputMethodPicker()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3930 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testSetScrollContainer() local 3944 imm.showSoftInput(mockView, 0); in testSetScrollContainer() 3951 () -> imm.hideSoftInputFromInputMethod(mockView.getWindowToken(), 0)); in testSetScrollContainer() 4373 final InputMethodManager imm = (InputMethodManager) mActivity.getSystemService( in testInputConnection() local 4388 mActivityRule.runOnUiThread(() -> imm.showSoftInput(editText, 0)); in testInputConnection() 4396 assertTrue(imm.isActive(editText)); in testInputConnection() 4398 imm.isActive(view); in testInputConnection()
|