Home
last modified time | relevance | path

Searched refs:KEYCODE_MENU (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java116 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuPressInvokesPanelCallbacks()
120 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuPressInvokesPanelCallbacks()
128 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testBackPressWithMenuInvokesOnPanelClosed()
141 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testBackPressWithEmptyMenuFinishesActivity()
167 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuKeyEventReachesActivity()
172 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, downEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
176 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, upEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
49 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
61 final KeyEvent pushMenuKey = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU); in chordMenuKey()
69 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in chordMenuKey()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java92 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
DStandardMenuPopup.java298 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
DCascadingMenuPopup.java278 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java90 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
DStandardMenuPopup.java319 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
DIconMenuView.java538 if (event.getKeyCode() == KeyEvent.KEYCODE_MENU) { in dispatchKeyEvent()
DCascadingMenuPopup.java283 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
/frameworks/base/core/java/android/view/
DKeyEvent.java271 public static final int KEYCODE_MENU = 82; field in KeyEvent
1820 case KeyEvent.KEYCODE_MENU: in isSystemKey()
1857 case KeyEvent.KEYCODE_MENU: in isWakeKey()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java280 sendKeys(KeyEvent.KEYCODE_MENU); in turnScreenOn()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java198 KeyEvent.KEYCODE_MENU, 0, AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED, in pressMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV7.java930 if (event.getKeyCode() == KeyEvent.KEYCODE_MENU) { in dispatchKeyEvent()
946 case KeyEvent.KEYCODE_MENU: in onKeyUp()
973 case KeyEvent.KEYCODE_MENU: in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java195 case KeyEvent.KEYCODE_MENU: in dispatchKeyEvent()
/frameworks/base/core/java/android/widget/
DMediaController.java519 } else if (keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_MENU) { in dispatchKeyEvent()
DVideoView.java677 keyCode != KeyEvent.KEYCODE_MENU && in onKeyDown()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1183 if (!preparePanel(st, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU))) { in performPanelIdentifierAction()
1899 case KeyEvent.KEYCODE_MENU: { in onKeyDown()
1993 case KeyEvent.KEYCODE_MENU: { in onKeyUp()
DDecorView.java520 KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU));
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd245 and {@link android.view.KeyEvent#KEYCODE_MENU}<sup>*</sup></td>
/frameworks/base/core/java/android/app/
DActivity.java3001 if (keyCode == KeyEvent.KEYCODE_MENU && in dispatchKeyEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3093 } else if (keyCode == KeyEvent.KEYCODE_MENU) { in interceptKeyBeforeDispatching()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7840 KeyEvent.KEYCODE_MENU); in detectSafeMode()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32593 field public static final int KEYCODE_MENU = 82; // 0x52
/frameworks/base/api/
Dcurrent.txt41349 field public static final int KEYCODE_MENU = 82; // 0x52
Dtest-current.txt41428 field public static final int KEYCODE_MENU = 82; // 0x52

12