Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/input/cts/
DInputCtsActivity.java67 public boolean dispatchKeyEvent(KeyEvent ev) { in dispatchKeyEvent() method in InputCtsActivity
/cts/tests/autofillservice/src/android/autofillservice/cts/
DWebViewActivity.java185 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress()
187 mWebView.dispatchKeyEvent(keyEvent); in dispatchKeyPress()
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java303 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in TestDialog
305 dispatchKeyEventResult = super.dispatchKeyEvent(event); in dispatchKeyEvent()
/cts/tests/tests/widget/src/android/widget/cts/
DGalleryTest.java185 assertTrue(mGallery.dispatchKeyEvent(validKeyEvent)); in testDispatchKeyEvent()
189 assertFalse(mGallery.dispatchKeyEvent(invalidKeyEvent)); in testDispatchKeyEvent()
DListViewTest.java525 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
532 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
533 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
534 mListView.dispatchKeyEvent(keyEvent); in testDispatchKeyEvent()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java178 mActivityRule.runOnUiThread(() -> mEditText.dispatchKeyEvent( in testEmojiEditable()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java544 mTvView.dispatchKeyEvent(event); in verifyCommandDispatchKeyDown()
563 mTvView.dispatchKeyEvent(event); in verifyCommandDispatchKeyMultiple()
583 mTvView.dispatchKeyEvent(event); in verifyCommandDispatchKeyUp()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2360 view.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_MULTIPLE, KeyEvent.KEYCODE_ENTER)); in testOnKeyMultiple()
2846 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
2858 assertFalse(mockView1.dispatchKeyEvent(event)); in testDispatchKeyEvent()
2867 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
2872 assertFalse(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
2876 view.dispatchKeyEvent(null); in testDispatchKeyEvent()
2888 assertTrue(view.dispatchKeyEvent(event)); in testDispatchKeyEvent()
DWindowTest.java115 doReturn(true).when(mWindowCallback).dispatchKeyEvent(any()); in setup()
DViewGroupTest.java579 assertFalse(mMockViewGroup.dispatchKeyEvent(event)); in testDispatchKeyEvent()
585 assertTrue(mMockViewGroup.dispatchKeyEvent(event)); in testDispatchKeyEvent()
2641 public boolean dispatchKeyEvent(KeyEvent event) { in dispatchKeyEvent() method in ViewGroupTest.MockTextView
/cts/tests/app/src/android/app/cts/
DDialogTest.java453 d.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_MULTIPLE, KeyEvent.KEYCODE_UNKNOWN)); in testOnKeyMultiple()