Home
last modified time | relevance | path

Searched refs:onKeyDown (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DArrowKeyMovementMethodTest.java191 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 …]
DLinkMovementMethodTest.java145 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()
DScrollingMovementMethodTest.java389 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,
DMetaKeyKeyListenerTest.java43 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()
DQwertyKeyListenerTest.java150 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
DMultiTapKeyListenerTest.java187 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
/cts/tests/app/src/android/app/cts/
DKeyguardManagerActivity.java54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardManagerActivity
66 return super.onKeyDown(keyCode, event); in onKeyDown()
DInstrumentationTestActivity.java208 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in InstrumentationTestActivity
211 return super.onKeyDown(keyCode, event); in onKeyDown()
DTestDialog.java145 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TestDialog
148 onKeyDownReturn = super.onKeyDown(keyCode, event); in onKeyDown()
DDialogStubActivity.java345 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/
DWindowCtsActivity.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in WindowCtsActivity
57 return super.onKeyDown(keyCode, event); in onKeyDown()
DMockView.java171 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockView
173 return super.onKeyDown(keyCode, event); in onKeyDown()
DKeyEventTest.java665 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventTest.MockCallback
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ColorChangeOnKeyView
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java698 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TvInputServiceTest.CountingTvInputService.CountingSession