Searched refs:KEYCODE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 43 private static final int KEYCODE = KeyEvent.KEYCODE_0; field in KeyEventTest 57 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() 62 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtain() 75 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() 84 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() 89 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtainWithDisplayId() 110 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesUniqueId() 122 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesUniqueId() 132 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesIdWithRightSource() 141 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesIdWithRightSource() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 61 private static final String KEYCODE = "keycode"; field in NavBarTuner 125 Preference keycode = findPreference(KEYCODE + "_" + k); in bindButton()
|