Home
last modified time | relevance | path

Searched refs:getKeyCode (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java73 assertEquals(KeyEvent.KEYCODE_UNKNOWN, mKeyEvent.getKeyCode()); in testGetCharacters()
118 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode()); in testDispatch()
126 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode()); in testDispatch()
136 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode()); in testDispatch()
149 assertEquals(KeyEvent.KEYCODE_0, callback.getKeyCode()); in testDispatch()
541 assertEquals(mKeyEvent.getKeyCode(), keyEvent.getKeyCode()); in testWriteToParcel()
557 assertEquals(KeyEvent.KEYCODE_0, mKeyEvent.getKeyCode()); in testGetKeyCode()
589 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeAction()
605 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeFlags()
624 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeTimeRepeat()
[all …]
DContentPaneFocusTest.java118 KeyEvent controlKey = new KeyEvent(time, time, event.getAction(), event.getKeyCode(), in sendControlChar()
DKeyCharacterMapTest.java291 return events[0].getKeyCode(); in getCharacterKeyCode()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java55 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
60 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
65 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
67 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
75 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
80 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
85 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
93 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
98 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
102 mockBaseKeyListener.backspace(mTextView, content, event.getKeyCode(), event); in testBackspace()
DForwardDeleteTest.java51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete()
DBackspaceTest.java51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java291 assertEquals(keyEvents[i++].getKeyCode(), keyDownList.get(j).getKeyCode()); in testSendStringSync()
292 assertEquals(keyEvents[i++].getKeyCode(), keyUpList.get(j).getKeyCode()); in testSendStringSync()
373 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyUpList().get(0).getKeyCode()); in testSendKeyDownUpSync()
374 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownList().get(0).getKeyCode()); in testSendKeyDownUpSync()
DDialogTest.java366 assertEquals(KeyEvent.KEYCODE_UNKNOWN, d.keyMultipleEvent.getKeyCode()); in testOnKeyMultiple()
525 assertEquals(KeyEvent.KEYCODE_0, d.keyEvent.getKeyCode()); in testDispatchKeyEvent()
651 assertEquals(KeyEvent.KEYCODE_0, d.keyEvent.getKeyCode()); in testTakeKeyEvents()
/cts/libs/deviceutil/src/android/cts/util/
DKeyEventUtil.java166 int code = event.getKeyCode(); in sendKey()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java388 assertEquals(unhandled.getKeyCode(), keyEvent.getKeyCode()); in verifyKeyEvent()
DTvInputServiceTest.java954 && event.getKeyCode() == other.getKeyCode() in keyEventEquals()
/cts/tools/dex-tools/dex/
Dclasses.out.dex83874 public final int getKeyCode()