/cts/tests/tests/text/src/android/text/method/cts/ |
D | ArrowKeyMovementMethodTest.java | 203 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 216 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 227 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 240 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 253 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 261 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 268 assertFalse(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 288 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 301 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 312 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() [all …]
|
D | LinkMovementMethodTest.java | 167 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 177 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 187 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 196 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 206 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 220 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown() 228 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullViewParam() 235 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullSpannableParam() 242 mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, null); in testOnKeyDown_nullKeyEventParam()
|
D | ScrollingMovementMethodTest.java | 372 runActionOnUiThread(() -> method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN, in testOnKeyDownVerticalMovement() 376 runActionOnUiThread(() -> method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP, in testOnKeyDownVerticalMovement() 394 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), in testOnKeyDownHorizontalMovement() 400 runActionOnUiThread(() -> method.onKeyDown(mTextView, (Spannable) mTextView.getText(), in testOnKeyDownHorizontalMovement() 407 runActionOnUiThread(() -> assertFalse(method.onKeyDown(mTextView, mSpannable, 0, in testOnKeyDownHorizontalMovement() 421 method.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, in testOnKeyDownExceptions() 428 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_RIGHT, in testOnKeyDownExceptions() 435 method.onKeyDown(mTextView, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, null); in testOnKeyDownExceptions() 551 new ScrollingMovementMethod().onKeyDown(mTextView, mSpannable, in testMovementWithNullLayout()
|
D | ForwardDeleteTest.java | 55 mActivity.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in forwardDelete()
|
D | MetaKeyKeyListenerTest.java | 59 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, in testPressKey() 65 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_2, in testPressKey() 71 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_3, in testPressKey()
|
D | BackspaceTest.java | 55 mActivityRule.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in backspace()
|
D | QwertyKeyListenerTest.java | 176 mInstrumentation.runOnMainSync(() -> keyListener.onKeyDown(mTextView, in callOnKeyDown()
|
D | MultiTapKeyListenerTest.java | 220 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()
|
D | TextViewTest.java | 2248 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey() 2257 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey() 2266 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey() 2326 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey() 2332 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey() 2338 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey()
|
/cts/tests/tests/view/src/android/view/cts/ |
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 | WindowCtsActivity.java | 53 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in WindowCtsActivity 55 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | KeyEventInterceptTestActivity.java | 29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventInterceptTestActivity
|
D | MockView.java | 176 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockView 178 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | KeyEventTest.java | 187 doReturn(true).when(callback).onKeyDown(anyInt(), any(KeyEvent.class)); in testDispatch() 195 verify(callback, never()).onKeyDown(anyInt(), any(KeyEvent.class)); in testDispatch() 197 verify(callback, times(1)).onKeyDown(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch() 222 verify(callback, times(1)).onKeyDown(KeyEvent.KEYCODE_0, mKeyEvent); in testDispatch()
|
/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 | 147 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TestDialog 150 onKeyDownReturn = super.onKeyDown(keyCode, event); in onKeyDown()
|
D | DialogStubActivity.java | 369 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DialogStubActivity.MockAlertDialog 371 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralButtonsActivity.java | 109 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in USBAudioPeripheralButtonsActivity 133 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 408 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockIme 409 return getTracer().onKeyDown(keyCode, event, () -> super.onKeyDown(keyCode, event)); in onKeyDown() 614 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
|