Home
last modified time | relevance | path

Searched refs:dispatchKeyEvent (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/app/app/src/android/app/stubs/
DToolbarActivity.kt41 override fun dispatchKeyEvent(event: KeyEvent): Boolean { in dispatchKeyEvent() method in android.app.stubs.ToolbarActivity
43 return super.dispatchKeyEvent(event) in dispatchKeyEvent()
DTestDialog.java315 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in TestDialog
317 dispatchKeyEventResult = super.dispatchKeyEvent(event); in dispatchKeyEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractWebViewActivity.java58 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress()
62 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityKeyEventTestActivity.java26 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in AccessibilityKeyEventTestActivity
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DKeyEventActivity.java29 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in KeyEventActivity
/cts/tests/input/InputInjectionApp/src/com/android/test/inputinjection/
DInputInjectionActivity.kt119 override fun dispatchKeyEvent(event: KeyEvent?): Boolean { in <lambda>() method in com.android.test.inputinjection.InputInjectionActivity
121 return super.dispatchKeyEvent(event) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DInputEventInterceptTestActivity.java31 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in InputEventInterceptTestActivity
DViewTest.java2718 view.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_MULTIPLE, KeyEvent.KEYCODE_ENTER)); in testOnKeyMultiple()
3208 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
3220 assertFalse(mockView1.dispatchKeyEvent(event)); in testDispatchKeyEvent()
3229 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
3234 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
3238 view.dispatchKeyEvent(null); in testDispatchKeyEvent()
3250 assertTrue(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceKeyLayoutMapTestActivity.java40 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() method in InputDeviceKeyLayoutMapTestActivity
/cts/tests/input/src/android/input/cts/
DCaptureEventActivity.kt58 override fun dispatchKeyEvent(event: KeyEvent?): Boolean { in dispatchKeyEvent() method in android.input.cts.CaptureEventActivity
DTwoWindowsActivity.kt128 override fun dispatchKeyEvent(ev: KeyEvent?): Boolean { in dispatchKeyEvent() method in android.input.cts.TwoWindowsActivity
/cts/tests/tests/hardware/src/android/hardware/input/cts/
DInputCtsActivity.java70 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() method in InputCtsActivity
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java688 assertTrue(mScrollViewCustom.dispatchKeyEvent(pageDownDownEvent)); in testKeyPageUpDownScroll()
689 assertFalse(mScrollViewCustom.dispatchKeyEvent(pageDownUpEvent)); in testKeyPageUpDownScroll()
700 assertTrue(mScrollViewCustom.dispatchKeyEvent(pageUpDownEvent)); in testKeyPageUpDownScroll()
701 assertFalse(mScrollViewCustom.dispatchKeyEvent(pageUpUpEvent)); in testKeyPageUpDownScroll()
728 assertTrue(mScrollViewCustom.dispatchKeyEvent(endDownEvent)); in testKeyHomeEndScroll()
729 assertFalse(mScrollViewCustom.dispatchKeyEvent(endUpEvent)); in testKeyHomeEndScroll()
735 assertTrue(mScrollViewCustom.dispatchKeyEvent(homeDownEvent)); in testKeyHomeEndScroll()
736 assertFalse(mScrollViewCustom.dispatchKeyEvent(homeUpEvent)); in testKeyHomeEndScroll()
758 assertTrue(mScrollViewCustom.dispatchKeyEvent(spaceDownEvent)); in testKeySpaceScroll()
759 mScrollViewCustom.dispatchKeyEvent(spaceUpEvent); in testKeySpaceScroll()
[all …]
DGalleryTest.java193 assertTrue(mGallery.dispatchKeyEvent(validKeyEvent)); in testDispatchKeyEvent()
197 assertFalse(mGallery.dispatchKeyEvent(invalidKeyEvent)); in testDispatchKeyEvent()
DListViewTest.java567 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
574 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
575 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
576 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DREADME.md22 app that would override `dispatchGenericMotionEvent` and `dispatchKeyEvent` of an activity.
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewRenderProcessClientTest.java142 webView.dispatchKeyEvent( in blockRenderProcess()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java387 mTvAdView.dispatchKeyEvent(event); in testDispatchKeyDown()
403 mTvAdView.dispatchKeyEvent(event); in testDispatchKeyUp()
419 mTvAdView.dispatchKeyEvent(event); in testDispatchKeyMultiple()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java211 mActivityRule.runOnUiThread(() -> mEditText.dispatchKeyEvent( in testEmojiEditable()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java634 onTvView(tvView -> tvView.dispatchKeyEvent(event)); in verifyCommandDispatchKeyDown()
650 onTvView(tvView -> tvView.dispatchKeyEvent(event)); in verifyCommandDispatchKeyMultiple()
666 onTvView(tvView -> tvView.dispatchKeyEvent(event)); in verifyCommandDispatchKeyUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java572 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in WindowFocusTests.InputTargetActivity
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java224 public boolean dispatchKeyEvent(KeyEvent event) { in testSwitchingBetweenEquivalentNonEditableViews()
226 return super.dispatchKeyEvent(event); in testSwitchingBetweenEquivalentNonEditableViews()
/cts/tests/tests/car/src/android/car/cts/
DCarInputTest.java631 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in CarInputTest.TestActivity
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java1039 mTvIAppView.dispatchKeyEvent(event); in testDispatchKeyDown()
1055 mTvIAppView.dispatchKeyEvent(event); in testDispatchKeyUp()
1071 mTvIAppView.dispatchKeyEvent(event); in testDispatchKeyMultiple()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java130 doReturn(true).when(mWindowCallback).dispatchKeyEvent(any()); in setup()

12