Home
last modified time | relevance | path

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

12

/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/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java122 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuPressInvokesPanelCallbacks()
126 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuPressInvokesPanelCallbacks()
134 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testBackPressWithMenuInvokesOnPanelClosed()
147 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testBackPressWithEmptyMenuFinishesActivity()
173 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuKeyEventReachesActivity()
178 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, downEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
182 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, upEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
DKeyEventsTestCaseWithToolbar.java49 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuKeyOpensToolbarMenu()
53 getInstrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_MENU); in testMenuKeyOpensToolbarMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java90 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
DStandardMenuPopup.java320 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/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java93 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { in onKey()
DStandardMenuPopup.java317 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
DCascadingMenuPopup.java299 if (event.getAction() == KeyEvent.ACTION_UP && keyCode == KeyEvent.KEYCODE_MENU) { in onKey()
/frameworks/base/core/java/android/view/
DKeyEvent.java270 public static final int KEYCODE_MENU = 82; field in KeyEvent
1829 case KeyEvent.KEYCODE_MENU: in isSystemKey()
1870 case KeyEvent.KEYCODE_MENU: in isWakeKey()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatActivity.java531 if (keyCode == KeyEvent.KEYCODE_MENU in dispatchKeyEvent()
DAppCompatDelegateImplV9.java942 if (event.getKeyCode() == KeyEvent.KEYCODE_MENU) {
958 case KeyEvent.KEYCODE_MENU:
985 case KeyEvent.KEYCODE_MENU:
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java228 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.java734 keyCode != KeyEvent.KEYCODE_MENU && in onKeyDown()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1201 if (!preparePanel(st, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU))) { in performPanelIdentifierAction()
1915 case KeyEvent.KEYCODE_MENU: { in onKeyDown()
2010 case KeyEvent.KEYCODE_MENU: { in onKeyUp()
DDecorView.java554 KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU));
/frameworks/base/core/java/android/app/
DActivity.java3246 if (keyCode == KeyEvent.KEYCODE_MENU && in dispatchKeyEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4668 KeyEvent.KEYCODE_MENU); in detectSafeMode()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3457 } else if (keyCode == KeyEvent.KEYCODE_MENU) { in interceptKeyBeforeDispatching()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32593 field public static final int KEYCODE_MENU = 82; // 0x52
/frameworks/base/api/
Dcurrent.txt44290 field public static final int KEYCODE_MENU = 82; // 0x52

12