Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java153 try (MockImeSession imeSession = MockImeSession.create(
157 final ImeEventStream stream = imeSession.openEventStream();
162 final ImeCommand command = imeSession.verifyLayoutInflaterContext();
170 try (MockImeSession imeSession = MockImeSession.create(
174 final ImeEventStream stream = imeSession.openEventStream();
179 final ImeCommand command = imeSession.callSetBackDisposition(backDisposition);
222 try (MockImeSession imeSession = MockImeSession.create(
226 final ImeEventStream stream = imeSession.openEventStream();
233 imeSession.callRequestHideSelf(0);
245 try (MockImeSession imeSession = MockImeSession.create(
[all …]
DInputMethodServiceStrictModeTest.java117 try (MockImeSession imeSession = MockImeSession.create( in verifyIms() argument
121 final ImeEventStream stream = imeSession.openEventStream(); in verifyIms()
129 expectCommand(forkedStream, imeSession.callVerifyGetWindowManager(), TIMEOUT); in verifyIms()
133 imeSession.callVerifyGetViewConfiguration(), TIMEOUT); in verifyIms()
136 expectCommand(forkedStream, imeSession.callVerifyGetGestureDetector(), TIMEOUT); in verifyIms()
153 try (MockImeSession imeSession = MockImeSession.create( in testIncorrectContextUseOnImsDerivedDisplayContext() argument
157 final ImeEventStream stream = imeSession.openEventStream(); in testIncorrectContextUseOnImsDerivedDisplayContext()
165 expectCommand(forkedStream, imeSession.callVerifyGetWindowManagerOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext()
174 expectCommand(forkedStream, imeSession.callVerifyGetViewConfigurationOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext()
183 expectCommand(forkedStream, imeSession.callVerifyGetGestureDetectorOnDisplayContext(), in testIncorrectContextUseOnImsDerivedDisplayContext()
DFocusHandlingTest.java139 try (MockImeSession imeSession = MockImeSession.create( in testOnStartInputCalledOnceIme() argument
143 final ImeEventStream stream = imeSession.openEventStream(); in testOnStartInputCalledOnceIme()
170 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() argument
174 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
213 try (MockImeSession imeSession = MockImeSession.create( in testEditorStartsInput() argument
217 final ImeEventStream stream = imeSession.openEventStream(); in testEditorStartsInput()
239 try (MockImeSession imeSession = MockImeSession.create( in testSoftInputStateAlwaysVisibleFocusedEditorView() argument
243 final ImeEventStream stream = imeSession.openEventStream(); in testSoftInputStateAlwaysVisibleFocusedEditorView()
280 try (MockImeSession imeSession = MockImeSession.create( in testFocusableWindowDoesNotInvalidateExistingInputConnection() argument
284 final ImeEventStream stream = imeSession.openEventStream(); in testFocusableWindowDoesNotInvalidateExistingInputConnection()
[all …]
DKeyboardVisibilityControlTest.java188 try (MockImeSession imeSession = MockImeSession.create(
192 final ImeEventStream stream = imeSession.openEventStream();
231 try (MockImeSession imeSession = MockImeSession.create(
235 final ImeEventStream stream = imeSession.openEventStream();
265 try (MockImeSession imeSession = MockImeSession.create(
269 final ImeEventStream stream = imeSession.openEventStream();
300 try (MockImeSession imeSession = MockImeSession.create(
304 final ImeEventStream stream = imeSession.openEventStream();
326 try (MockImeSession imeSession = MockImeSession.create(
329 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()
DPackageVisibilityTest.java80 try (MockImeSession imeSession = MockImeSession.create( in testTargetPackageIsVisibleFromIme() argument
84 final ImeEventStream stream = imeSession.openEventStream(); in testTargetPackageIsVisibleFromIme()
91 final ImeCommand command = imeSession.callGetApplicationInfo( in testTargetPackageIsVisibleFromIme()
DInputMethodStartInputLifecycleTest.java98 try (MockImeSession imeSession = MockImeSession.create( in testInputConnectionStateWhenScreenStateChanges() argument
100 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnectionStateWhenScreenStateChanges()
147 final ImeCommand commit = imeSession.callCommitText("Hi!", 1); in testInputConnectionStateWhenScreenStateChanges()
166 final ImeCommand commit1 = imeSession.callCommitText("Hello!", 1); in testInputConnectionStateWhenScreenStateChanges()
184 try (MockImeSession imeSession = MockImeSession.create( in testNoStartNewInputWhileOtherProcessHasWindowFocus() argument
188 final ImeEventStream stream = imeSession.openEventStream(); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
DImeInsetsVisibilityTest.java96 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopup() argument
100 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopup()
150 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() argument
154 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
199 try (MockImeSession imeSession = MockImeSession.create( in testImeVisibilityWhenImeFocusableChildPopupOverlaps() argument
203 final ImeEventStream stream = imeSession.openEventStream(); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
252 try (MockImeSession imeSession = MockImeSession.create( in testEditTextPositionAndPersistWhenAboveImeWindowShown() argument
256 final ImeEventStream stream = imeSession.openEventStream(); in testEditTextPositionAndPersistWhenAboveImeWindowShown()
332 try (MockImeSession imeSession = MockImeSession.create( in testEditorWontCoveredByImeWhenInputWindowBehindPanel() argument
336 final ImeEventStream stream = imeSession.openEventStream(); in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
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()
DOnScreenPositionTest.java90 try (MockImeSession imeSession = MockImeSession.create( in testImeIsNotBehindNavBar() argument
95 final ImeEventStream stream = imeSession.openEventStream(); in testImeIsNotBehindNavBar()
DEditTextImeSupportTest.java102 try (MockImeSession imeSession = MockImeSession.create( in testSetTextTriggersRestartInput() argument
106 final ImeEventStream stream = imeSession.openEventStream(); in testSetTextTriggersRestartInput()
DNavigationBarColorTest.java254 try (MockImeSession imeSession = MockImeSession.create( in getNavigationBarBitmap() argument
256 final ImeEventStream stream = imeSession.openEventStream(); in getNavigationBarBitmap()
DInputConnectionBlockingMethodTest.java186 MockImeSession imeSession = MockImeSession.create( in testInputConnection()
192 final ImeEventStream stream = imeSession.openEventStream(); in testInputConnection()
222 testProcedure.run(imeSession, stream); in testInputConnection()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayClientTests.java174 MockImeSession imeSession, int targetDisplayId) throws Exception { in assertImeShownAndMatchesDisplayId() argument
175 final ImeEventStream stream = imeSession.openEventStream(); in assertImeShownAndMatchesDisplayId()
189 final int imeDisplayId = expectCommand(stream, imeSession.callGetDisplayId(), TIMEOUT) in assertImeShownAndMatchesDisplayId()
DWindowInsetsControllerTests.java212 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testImeShowAndHide() local
213 final ImeEventStream stream = imeSession.openEventStream(); in testImeShowAndHide()
229 final MockImeSession imeSession = MockImeHelper.createManagedMockImeSession(this); in testImeForceShowingNavigationBar() local
230 final ImeEventStream stream = imeSession.openEventStream(); in testImeForceShowingNavigationBar()
549 try (MockImeSession imeSession = MockImeSession.create(instrumentation.getContext(), in testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown() argument
DWindowInsetsAnimationSynchronicityTests.java96 try (ImeSession imeSession = new ImeSession(SimpleIme.getName(mContext))) { in runTest() argument
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilitySoftKeyboardTest.java140 try (TestImeSession imeSession = new TestImeSession(Ime1Constants.IME_ID)) { in testSwitchToInputMethod() argument
/cts/tests/translation/src/android/translation/cts/
DUiTranslationManagerTest.java404 try (ImeSession imeSession = new ImeSession( in testIMEUiTranslationStateCallback() argument