Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/method/cts/
DArrowKeyMovementMethodTest.java192 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
205 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
216 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
229 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
242 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
250 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
257 assertFalse(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeUp()
276 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown()
289 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown()
300 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, in testOnKeyDownWithKeyCodeDown()
[all …]
DLinkMovementMethodTest.java147 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
157 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
167 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
176 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
186 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
200 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown()
206 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
214 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
222 mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, null); in testOnKeyDown()
DScrollingMovementMethodTest.java390 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN,
398 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP,
429 method.onKeyDown(mTextView, (Spannable) mTextView.getText(),
439 method.onKeyDown(mTextView, (Spannable) mTextView.getText(),
450 assertFalse(method.onKeyDown(mTextView, mSpannable, 0,
478 method.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT,
485 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_RIGHT,
492 method.onKeyDown(mTextView, mSpannable, KeyEvent.KEYCODE_DPAD_RIGHT, null);
619 new ScrollingMovementMethod().onKeyDown(mTextView, mSpannable,
DForwardDeleteTest.java51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete()
DBackspaceTest.java51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace()
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.java147 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
DMultiTapKeyListenerTest.java187 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown()
/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java49 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()
DTextViewTest.java1869 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey()
1878 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey()
1887 mTextView.onKeyDown(KeyEvent.KEYCODE_COPY, copyWithMeta); in testCopyAndPaste_byKey()
1954 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey()
1960 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey()
1966 mTextView.onKeyDown(KeyEvent.KEYCODE_CUT, cutWithMeta); in testCutAndPaste_byKey()
/cts/tests/tests/view/src/android/view/cts/
DLongPressBackActivity.java52 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in LongPressBackActivity
56 return super.onKeyDown(keyCode, event); in onKeyDown()
DWindowCtsActivity.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in WindowCtsActivity
57 return super.onKeyDown(keyCode, event); in onKeyDown()
DMockView.java179 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MockView
181 return super.onKeyDown(keyCode, event); in onKeyDown()
DKeyEventTest.java665 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyEventTest.MockCallback
/cts/tests/app/app/src/android/app/stubs/
DKeyguardManagerActivity.java54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardManagerActivity
66 return super.onKeyDown(keyCode, event); in onKeyDown()
DInstrumentationTestActivity.java211 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in InstrumentationTestActivity
214 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.java370 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/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.java1218 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in TvInputServiceTest.CountingTvInputService.CountingSession
/cts/tools/dex-tools/dex/
Dclasses.out.dex5001 public abstract boolean onKeyDown(
5357 public boolean onKeyDown(
9242 public boolean onKeyDown(
9410 public boolean onKeyDown(
15148 public boolean onKeyDown(
78308 public abstract boolean onKeyDown(
78371 public boolean onKeyDown(
78478 public boolean onKeyDown(
78498 public abstract boolean onKeyDown(
78536 public boolean onKeyDown(
[all …]