Searched refs:isShortcutKey (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuTest.java | 114 assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_A, in testSetShortcutWithAlpha() 116 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_A, in testSetShortcutWithAlpha() 118 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_B, in testSetShortcutWithAlpha() 123 assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_B, in testSetShortcutWithAlpha() 125 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_B, in testSetShortcutWithAlpha() 127 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_C, in testSetShortcutWithAlpha() 137 assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_2, in testSetShortcutWithNumeric() 139 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_2, in testSetShortcutWithNumeric() 141 assertFalse(mMenu.isShortcutKey(KeyEvent.KEYCODE_3, in testSetShortcutWithNumeric() 146 assertTrue(mMenu.isShortcutKey(KeyEvent.KEYCODE_3, in testSetShortcutWithNumeric() [all …]
|
D | WindowTest.java | 928 public boolean isShortcutKey(int keyCode, KeyEvent event) { in isShortcutKey() method in WindowTest.MockWindow
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 564 public boolean isShortcutKey(int keyCode, KeyEvent event) { in isShortcutKey() method in InstrumentationTest.MockActivity.MockWindow
|