/cts/tests/tests/text/src/android/text/method/cts/ |
D | ArrowKeyMovementMethodTest.java | 204 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 217 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 228 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 241 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 254 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 262 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 269 assertFalse(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 289 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 302 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 313 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() [all …]
|
D | LinkMovementMethodTest.java | 168 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 178 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 188 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 197 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 207 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 221 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown() 229 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullViewParam() 236 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullSpannableParam() 243 mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, null); in testOnKeyDown_nullKeyEventParam()
|
D | ScrollingMovementMethodTest.java | 383 runActionOnUiThread(() -> method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN, in testOnKeyDownVerticalMovement() 387 runActionOnUiThread(() -> method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP, in testOnKeyDownVerticalMovement() 405 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), in testOnKeyDownHorizontalMovement() 411 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), in testOnKeyDownHorizontalMovement() 418 runActionOnUiThread(() -> assertFalse(method.onKeyDown(mTextView, mSpannable, 0, in testOnKeyDownHorizontalMovement() 432 method.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, in testOnKeyDownExceptions() 439 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_RIGHT, in testOnKeyDownExceptions() 446 method.onKeyDown(mTextView, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, null); in testOnKeyDownExceptions() 562 new ScrollingMovementMethod().onKeyDown(mTextView, mSpannable, in testMovementWithNullLayout()
|
D | MetaKeyKeyListenerTest.java | 60 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, in testPressKey() 66 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_2, in testPressKey() 72 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_3, in testPressKey()
|
D | ForwardDeleteTest.java | 56 mActivity.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in forwardDelete()
|
D | BackspaceTest.java | 56 mActivityRule.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in backspace()
|
D | QwertyKeyListenerTest.java | 177 mInstrumentation.runOnMainSync(() -> keyListener.onKeyDown(mTextView, in callOnKeyDown()
|
D | MultiTapKeyListenerTest.java | 221 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MockViewForListPopupWindow.java | 49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockViewForListPopupWindow 51 return mListPopupWindow.onKeyDown(keyCode, event); in onKeyDown() 53 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventInjectionActivity.java | 29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventInjectionActivity 32 return mCallback.onKeyDown(keyCode, event); in onKeyDown()
|
D | LongPressBackActivity.java | 49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in LongPressBackActivity 53 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | MockView.java | 180 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockView 182 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | KeyEventInjectionTest.java | 111 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventInjectionTest
|
D | KeyEventTest.java | 192 doReturn(true).when(callback).onKeyDown(anyInt(), any(KeyEvent.class)); in testDispatch() 200 verify(callback, never()).onKeyDown(anyInt(), any(KeyEvent.class)); in testDispatch() 202 verify(callback, times(1)).onKeyDown(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch() 227 verify(callback, times(1)).onKeyDown(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowCtsActivity.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in WindowCtsActivity 57 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | LayoutTests.java | 184 public boolean onKeyDown(int keyCode, KeyEvent event) { in testChangingFocusableFlag() 188 return super.onKeyDown(keyCode, event); in testChangingFocusableFlag()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyguardManagerActivity.java | 54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardManagerActivity 66 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | InstrumentationTestActivity.java | 213 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in InstrumentationTestActivity 216 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | TestDialog.java | 146 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TestDialog 149 onKeyDownReturn = super.onKeyDown(keyCode, event); in onKeyDown()
|
D | DialogStubActivity.java | 370 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DialogStubActivity.MockAlertDialog 372 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralButtonsActivity.java | 118 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in USBAudioPeripheralButtonsActivity 140 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ColorChangeOnKeyView
|
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/ |
D | HdmiCecKeyEventCapture.java | 60 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in HdmiCecKeyEventCapture
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 522 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockIme 523 return getTracer().onKeyDown(keyCode, event, () -> super.onKeyDown(keyCode, event)); in onKeyDown() 742 public boolean onKeyDown(int keyCode, KeyEvent event, @NonNull BooleanSupplier supplier) {
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 1219 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TvInputServiceTest.CountingTvInputService.CountingSession
|