Home
last modified time | relevance | path

Searched refs:imeSession (Results 1 – 17 of 17) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java130 try (MockImeSession imeSession = MockImeSession.create(
134 final ImeEventStream stream = imeSession.openEventStream();
139 final ImeCommand command = imeSession.verifyLayoutInflaterContext();
147 try (MockImeSession imeSession = MockImeSession.create(
151 final ImeEventStream stream = imeSession.openEventStream();
156 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition);
199 try (MockImeSession imeSession = MockImeSession.create(
203 final ImeEventStream stream = imeSession.openEventStream();
210 imeSession.callRequestHideSelf(0);
222 try (MockImeSession imeSession = MockImeSession.create(
[all …]
DFocusHandlingTest.java135 try (MockImeSession imeSession = MockImeSession.create( in testOnStartInputCalledOnceIme() argument
139 final ImeEventStream stream = imeSession.openEventStream(); in testOnStartInputCalledOnceIme()
165 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() argument
169 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
208 try (MockImeSession imeSession = MockImeSession.create( in testEditorStartsInput() argument
212 final ImeEventStream stream = imeSession.openEventStream(); in testEditorStartsInput()
234 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleFocusedEditorView() argument
238 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleFocusedEditorView()
275 try (MockImeSession imeSession = MockImeSession.create( in testFocusableWindowDoesNotInvalidateExistingInputConnection() argument
279 final ImeEventStream stream = imeSession.openEventStream(); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
[all …]
DKeyboardVisibilityControlTest.java165 try (MockImeSession imeSession = MockImeSession.create(
169 final ImeEventStream stream = imeSession.openEventStream();
208 try (MockImeSession imeSession = MockImeSession.create(
212 final ImeEventStream stream = imeSession.openEventStream();
242 try (MockImeSession imeSession = MockImeSession.create(
246 final ImeEventStream stream = imeSession.openEventStream();
273 try (MockImeSession imeSession = MockImeSession.create(
277 final ImeEventStream stream = imeSession.openEventStream();
303 try (MockImeSession imeSession = MockImeSession.create(
306 final ImeEventStream stream = imeSession.openEventStream();
[all …]
DSearchViewTest.java123 try (MockImeSession imeSession = MockImeSession.create( in testTapThenSetQuery() argument
127 final ImeEventStream stream = imeSession.openEventStream(); in testTapThenSetQuery()
156 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWithSearchViewFocus() argument
160 final ImeEventStream stream = imeSession.openEventStream(); in testShowImeWithSearchViewFocus()
183 try (MockImeSession imeSession = MockImeSession.create( in testShowImeWhenSearchViewFocusInListView() argument
187 final ImeEventStream stream = imeSession.openEventStream(); in testShowImeWhenSearchViewFocusInListView()
DInputMethodStartInputLifecycleTest.java90 try (MockImeSession imeSession = MockImeSession.create( in testInputConnectionStateWhenScreenStateChanges() argument
92 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnectionStateWhenScreenStateChanges()
129 final ImeCommand commit = imeSession.callCommitText("Hi!", 1); in testInputConnectionStateWhenScreenStateChanges()
143 final ImeCommand commit1 = imeSession.callCommitText("Hello!", 1); in testInputConnectionStateWhenScreenStateChanges()
161 try (MockImeSession imeSession = MockImeSession.create( in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument
165 final ImeEventStream stream = imeSession.openEventStream(); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
DPackageVisibilityTest.java157 try (MockImeSession imeSession = MockImeSession.create( in testTargetPackageIsVisibleFromIme() argument
161 final ImeEventStream stream = imeSession.openEventStream(); in testTargetPackageIsVisibleFromIme()
168 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
DImeInsetsControllerTest.java96 try (MockImeSession imeSession = MockImeSession.create( in testChangeSizeWhileControlling() argument
102 final ImeEventStream stream = imeSession.openEventStream(); in testChangeSizeWhileControlling()
153 expectCommand(stream, imeSession.callSetHeight(NEW_KEYBOARD_HEIGHT), TIMEOUT); in testChangeSizeWhileControlling()
DImeInsetsVisibilityTest.java94 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopup() argument
98 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopup()
144 try (MockImeSession imeSession = MockImeSession.create( in testEditTextPositionAndPersistWhenAboveImeWindowShown() argument
148 final ImeEventStream stream = imeSession.openEventStream(); in testEditTextPositionAndPersistWhenAboveImeWindowShown()
DOnScreenPositionTest.java90 try (MockImeSession imeSession = MockImeSession.create( in testImeIsNotBehindNavBar() argument
95 final ImeEventStream stream = imeSession.openEventStream(); in testImeIsNotBehindNavBar()
DNavigationBarColorTest.java254 try (MockImeSession imeSession = MockImeSession.create( in getNavigationBarBitmap() argument
256 final ImeEventStream stream = imeSession.openEventStream(); in getNavigationBarBitmap()
DInputConnectionBlockingMethodTest.java185 MockImeSession imeSession = MockImeSession.create( in testInputConnection()
191 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnection()
221 testProcedure.run(imeSession, stream); in testInputConnection()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayClientTests.java173 MockImeSession imeSession, int targetDisplayId) throws Exception { in assertImeShownAndMatchesDisplayId() argument
174 final ImeEventStream stream = imeSession.openEventStream(); in assertImeShownAndMatchesDisplayId()
188 final int imeDisplayId = expectCommand(stream, imeSession.callGetDisplayId(), TIMEOUT) in assertImeShownAndMatchesDisplayId()
DActivityViewTest.java223 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testInputMethod() local
224 final ImeEventStream stream = imeSession.openEventStream(); in testInputMethod()
234 final ImeCommand cursorUpdatesCommand = imeSession.callRequestCursorUpdates( in testInputMethod()
DWindowInsetsControllerTests.java197 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testImeShowAndHide() argument
199 final ImeEventStream stream = imeSession.openEventStream(); in testImeShowAndHide()
486 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testShowImeOnCreate() argument
DWindowInsetsAnimationSynchronicityTests.java92 try (ImeSession imeSession = new ImeSession(SimpleIme.getName(mContext))) { in runTest() argument
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java795 try (final MockImeSession imeSession = MockImeSession.create(getContext(), in verifyIms() argument
798 final ImeEventStream stream = imeSession.openEventStream(); in verifyIms()
804 imeEvent = expectCommand(forkedStream, imeSession.callVerifyGetDisplay(), in verifyIms()
808 imeEvent = expectCommand(forkedStream, imeSession.callVerifyGetWindowManager(), in verifyIms()
813 imeSession.callVerifyGetViewConfiguration(), TIMEOUT); in verifyIms()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilitySoftKeyboardTest.java140 try (TestImeSession imeSession = new TestImeSession(Ime1Constants.IME_ID)) { in testSwitchToInputMethod() argument