Home
last modified time | relevance | path

Searched refs:FEATURE_OPTIONS_PANEL (Results 1 – 20 of 20) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java21 import static android.view.Window.FEATURE_OPTIONS_PANEL;
130 if ((mInvalidatePanelMenuFeatures & 1 << FEATURE_OPTIONS_PANEL) != 0) {
131 doInvalidatePanelMenu(FEATURE_OPTIONS_PANEL);
342 PanelFeatureState st = getPanelState(FEATURE_OPTIONS_PANEL, false);
646 } else if (featureId == FEATURE_OPTIONS_PANEL) {
718 invalidatePanelMenu(FEATURE_OPTIONS_PANEL);
929 PanelFeatureState st = getPanelState(FEATURE_OPTIONS_PANEL, true);
959 onKeyUpPanel(Window.FEATURE_OPTIONS_PANEL, event);
965 PanelFeatureState st = getPanelState(Window.FEATURE_OPTIONS_PANEL, false);
986 onKeyDownPanel(Window.FEATURE_OPTIONS_PANEL, event);
[all …]
DToolbarActionBar.java65 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
455 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || in populateOptionsMenu()
456 !mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, null, menu)) { in populateOptionsMenu()
532 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView()
596 } else if (mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, in onMenuModeChange()
DAppCompatDelegateImplN.java47 final PanelFeatureState panel = getPanelState(Window.FEATURE_OPTIONS_PANEL, true); in onProvideKeyboardShortcuts()
DAppCompatDelegateImplBase.java327 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) {
345 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) {
DAppCompatActivity.java578 if (getWindow().hasFeature(Window.FEATURE_OPTIONS_PANEL) in openOptionsMenu()
587 if (getWindow().hasFeature(Window.FEATURE_OPTIONS_PANEL) in closeOptionsMenu()
/frameworks/base/core/java/android/app/
DDialog.java883 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
895 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
971 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in openOptionsMenu()
972 mWindow.openPanel(Window.FEATURE_OPTIONS_PANEL, null); in openOptionsMenu()
980 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in closeOptionsMenu()
981 mWindow.closePanel(Window.FEATURE_OPTIONS_PANEL); in closeOptionsMenu()
989 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in invalidateOptionsMenu()
990 mWindow.invalidatePanelMenu(Window.FEATURE_OPTIONS_PANEL); in invalidateOptionsMenu()
DActivity.java2886 if (w.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in onKeyDown()
2887 w.performPanelShortcut(Window.FEATURE_OPTIONS_PANEL, keyCode, event, in onKeyDown()
3372 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
3390 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
3428 case Window.FEATURE_OPTIONS_PANEL: in onMenuItemSelected()
3476 case Window.FEATURE_OPTIONS_PANEL: in onPanelClosed()
3498 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in invalidateOptionsMenu()
3500 mWindow.invalidatePanelMenu(Window.FEATURE_OPTIONS_PANEL); in invalidateOptionsMenu()
3711 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && in openOptionsMenu()
3713 mWindow.openPanel(Window.FEATURE_OPTIONS_PANEL, null); in openOptionsMenu()
[all …]
DInstrumentation.java873 Window.FEATURE_OPTIONS_PANEL, in invokeMenuActionSync()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java65 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
454 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || in populateOptionsMenu()
455 !mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, null, menu)) { in populateOptionsMenu()
528 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView()
577 } else if (mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, in onMenuModeChange()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentActivity.java320 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
366 case Window.FEATURE_OPTIONS_PANEL: in onMenuItemSelected()
383 case Window.FEATURE_OPTIONS_PANEL: in onPanelClosed()
471 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
484 return super.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, view, menu); in onPrepareOptionsPanel()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java601 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel()
688 PanelFeatureState st = getPanelState(FEATURE_OPTIONS_PANEL, false); in onConfigurationChanged()
760 if (featureId == FEATURE_OPTIONS_PANEL && mDecorContentParent != null && in openPanel()
779 if (st.featureId == FEATURE_OPTIONS_PANEL) { in openPanel()
892 if (featureId == FEATURE_OPTIONS_PANEL && mDecorContentParent != null && in closePanel()
916 if (doCallback && st.featureId == FEATURE_OPTIONS_PANEL && in closePanel()
1018 if ((featureId == FEATURE_ACTION_BAR || featureId == FEATURE_OPTIONS_PANEL) in doInvalidatePanelMenu()
1020 st = getPanelState(Window.FEATURE_OPTIONS_PANEL, false); in doInvalidatePanelMenu()
1068 if (featureId == FEATURE_OPTIONS_PANEL && mDecorContentParent != null && in onKeyUpPanel()
1254 (mInvalidatePanelMenuFeatures & (1 << FEATURE_OPTIONS_PANEL)) != 0) { in reopenMenu()
[all …]
DDecorView.java110 import static com.android.internal.policy.PhoneWindow.FEATURE_OPTIONS_PANEL;
390 mWindow.getPanelState(Window.FEATURE_OPTIONS_PANEL, false);
553 mWindow.openPanel(Window.FEATURE_OPTIONS_PANEL, new KeyEvent(
574 if ((mFeatureId == Window.FEATURE_OPTIONS_PANEL ||
1532 if (mWindow.hasFeature(Window.FEATURE_OPTIONS_PANEL) && !hasWindowFocus
1534 mWindow.closePanel(Window.FEATURE_OPTIONS_PANEL);
1610 … PhoneWindow.PanelFeatureState st = mWindow.getPanelState(Window.FEATURE_OPTIONS_PANEL, false);
2324 final PanelFeatureState st = mWindow.getPanelState(FEATURE_OPTIONS_PANEL, false);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DKeyEventsTestCaseWithToolbar.java61 if (!mActivityTestRule.getActivity().getWindow().hasFeature(Window.FEATURE_OPTIONS_PANEL)) { in testOpenMenuOpensToolbarMenu()
/frameworks/base/core/java/android/view/
DWindow.java63 public static final int FEATURE_OPTIONS_PANEL = 0; field in Window
247 protected static final int DEFAULT_FEATURES = (1 << FEATURE_OPTIONS_PANEL) |
1664 features |= 1 << FEATURE_OPTIONS_PANEL; in getDefaultFeatures()
/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java183 mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, mNavItem); in ToolbarWidgetWrapper()
DActionBarView.java153 mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, mLogoNavItem);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbarWidgetWrapper.java187 mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, mNavItem); in ToolbarWidgetWrapper()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34562 field public static final int FEATURE_OPTIONS_PANEL = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt46603 field public static final int FEATURE_OPTIONS_PANEL = 0; // 0x0
Dsystem-current.txt50143 field public static final int FEATURE_OPTIONS_PANEL = 0; // 0x0