Searched refs:getKeyCode (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 73 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 …]
|
D | ContentPaneFocusTest.java | 118 KeyEvent controlKey = new KeyEvent(time, time, event.getAction(), event.getKeyCode(), in sendControlChar()
|
D | KeyCharacterMapTest.java | 291 return events[0].getKeyCode(); in getCharacterKeyCode()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | BaseKeyListenerTest.java | 55 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()
|
D | ForwardDeleteTest.java | 51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete()
|
D | BackspaceTest.java | 51 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 291 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()
|
D | DialogTest.java | 366 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/ |
D | KeyEventUtil.java | 166 int code = event.getKeyCode(); in sendKey()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvViewTest.java | 388 assertEquals(unhandled.getKeyCode(), keyEvent.getKeyCode()); in verifyKeyEvent()
|
D | TvInputServiceTest.java | 954 && event.getKeyCode() == other.getKeyCode() in keyEventEquals()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 83874 public final int getKeyCode()
|