/cts/tests/tests/text/src/android/text/method/cts/ |
D | ArrowKeyMovementMethodTest.java | 191 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 204 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 215 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 228 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 241 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 249 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 256 assertFalse(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp() 275 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 288 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() 299 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown() [all …]
|
D | LinkMovementMethodTest.java | 145 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 155 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 165 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 174 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 184 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 198 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown() 204 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 212 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 220 mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, null); in testOnKeyDown()
|
D | ScrollingMovementMethodTest.java | 389 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN, 397 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP, 428 method.onKeyDown(mTextView, (Spannable) mTextView.getText(), 438 method.onKeyDown(mTextView, (Spannable) mTextView.getText(), 449 assertFalse(method.onKeyDown(mTextView, mSpannable, 0, 477 method.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, 484 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_RIGHT, 491 method.onKeyDown(mTextView, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, null); 618 new ScrollingMovementMethod().onKeyDown(mTextView, mSpannable,
|
D | MetaKeyKeyListenerTest.java | 43 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, in testPressKey() 49 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_2, in testPressKey() 55 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_3, in testPressKey()
|
D | QwertyKeyListenerTest.java | 150 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
|
D | MultiTapKeyListenerTest.java | 187 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
|
/cts/tests/app/src/android/app/cts/ |
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 | 208 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in InstrumentationTestActivity 211 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | TestDialog.java | 145 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TestDialog 148 onKeyDownReturn = super.onKeyDown(keyCode, event); in onKeyDown()
|
D | DialogStubActivity.java | 345 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DialogStubActivity.MockAlertDialog 347 return super.onKeyDown(keyCode, event); in onKeyDown()
|
/cts/tests/tests/view/src/android/view/cts/ |
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 | MockView.java | 171 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockView 173 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | KeyEventTest.java | 665 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventTest.MockCallback
|
/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/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 698 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TvInputServiceTest.CountingTvInputService.CountingSession
|