Home
last modified time | relevance | path

Searched refs:onKeyUp (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in MockViewForListPopupWindow
59 return mListPopupWindow.onKeyUp(keyCode, event); in onKeyUp()
61 return super.onKeyUp(keyCode, event); in onKeyUp()
/cts/tests/tests/view/src/android/view/cts/
DLongPressBackActivity.java57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in LongPressBackActivity
61 return super.onKeyUp(keyCode, event); in onKeyUp()
DKeyEventInterceptTestActivity.java35 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in KeyEventInterceptTestActivity
DMockView.java196 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in MockView
198 return super.onKeyUp(keyCode, event); in onKeyUp()
DKeyEventTest.java188 doReturn(true).when(callback).onKeyUp(anyInt(), any(KeyEvent.class)); in testDispatch()
201 verify(callback, never()).onKeyUp(anyInt(), any(KeyEvent.class)); in testDispatch()
203 verify(callback, times(1)).onKeyUp(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch()
224 verify(callback, times(1)).onKeyUp(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch()
/cts/tests/app/app/src/android/app/stubs/
DInstrumentationTestActivity.java226 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in InstrumentationTestActivity
229 return super.onKeyUp(keyCode, event); in onKeyUp()
DTestDialog.java156 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in TestDialog
159 return super.onKeyUp(keyCode, event); in onKeyUp()
DDialogStubActivity.java375 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in DialogStubActivity.MockAlertDialog
377 return super.onKeyUp(keyCode, event); in onKeyUp()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java593 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
594 assertFalse(method.onKeyUp(null, null, 0, null)); in testOnKeyUp()
595 assertFalse(method.onKeyUp(null, spannable, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
596 assertFalse(method.onKeyUp(view, null, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
597 assertFalse(method.onKeyUp(view, spannable, 0, event)); in testOnKeyUp()
598 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, null)); in testOnKeyUp()
DLinkMovementMethodTest.java250 assertFalse(method.onKeyUp(null, null, 0, null)); in testOnKeyUp()
251 assertFalse(method.onKeyUp(new TextViewNoIme(mActivity), null, 0, null)); in testOnKeyUp()
252 assertFalse(method.onKeyUp(null, new SpannableString("blahblah"), 0, null)); in testOnKeyUp()
253 assertFalse(method.onKeyUp(null, null, KeyEvent.KEYCODE_0, in testOnKeyUp()
DMetaKeyKeyListenerTest.java85 numberKeyListener.onKeyUp(view, content, KeyEvent.KEYCODE_0, in testReleaseKey()
91 numberKeyListener.onKeyUp(view, content, KeyEvent.KEYCODE_2, in testReleaseKey()
97 numberKeyListener.onKeyUp(view, content, KeyEvent.KEYCODE_3, in testReleaseKey()
DArrowKeyMovementMethodTest.java1012 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
1013 assertFalse(method.onKeyUp(null, null, 0, null)); in testOnKeyUp()
1014 assertFalse(method.onKeyUp(null, spannable, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
1015 assertFalse(method.onKeyUp(view, null, KeyEvent.KEYCODE_0, event)); in testOnKeyUp()
1016 assertFalse(method.onKeyUp(view, spannable, 0, event)); in testOnKeyUp()
1017 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, null)); in testOnKeyUp()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java1244 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() method in TvInputServiceTest.CountingTvInputService.CountingSession