Home
last modified time | relevance | path

Searched defs:menu (Results 1 – 25 of 183) sorted by relevance

12345678

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuPresenter.java44 void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu()
66 void initForMenu(Context context, MenuBuilder menu); in initForMenu()
110 void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu()
125 boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView()
134 boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
DMenuPopup.java53 public abstract void addMenu(MenuBuilder menu); in addMenu()
96 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu()
106 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
111 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
200 protected static boolean shouldPreserveIconSpacing(MenuBuilder menu) { in shouldPreserveIconSpacing()
DBaseMenuPresenter.java69 public void initForMenu(Context context, MenuBuilder menu) { in initForMenu()
209 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
215 public boolean onSubMenuSelected(SubMenuBuilder menu) { in onSubMenuSelected()
226 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
230 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
DMenuDialogHelper.java41 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper()
52 final MenuBuilder menu = mMenu; in show() local
148 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPresenter.java39 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu()
63 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu); in initForMenu()
109 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu()
124 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView()
133 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
DMenuPopup.java54 public abstract void addMenu(MenuBuilder menu); in addMenu()
97 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu()
107 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
112 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
198 protected static boolean shouldPreserveIconSpacing(MenuBuilder menu) { in shouldPreserveIconSpacing()
DBaseMenuPresenter.java63 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu()
203 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
209 public boolean onSubMenuSelected(SubMenuBuilder menu) { in onSubMenuSelected()
220 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
224 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
DMenuDialogHelper.java39 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper()
50 final MenuBuilder menu = mMenu; in show() local
148 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
DMenuPopupHelper.java58 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu) { in MenuPopupHelper()
62 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper()
67 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper()
73 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationPresenter.java45 public void initForMenu(Context context, MenuBuilder menu) { in initForMenu()
74 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {} in onCloseMenu()
82 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView()
87 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DMenuItemHoverListener.java43 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit()
51 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
/frameworks/base/core/java/android/widget/
DMenuItemHoverListener.java24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit()
32 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
/frameworks/base/core/java/android/view/
DWindowCallbackWrapper.java77 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu()
82 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel()
87 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened()
122 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed()
158 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { in onProvideKeyboardShortcuts()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DWindowCallbackWrapper.java91 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu()
96 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel()
101 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened()
136 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed()
172 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { in onProvideKeyboardShortcuts()
DStandaloneActionMode.java139 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected()
143 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
155 public void onCloseSubMenu(SubMenuBuilder menu) { in onCloseSubMenu()
158 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarShareActionProvider.java34 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
40 protected boolean onPrepareOptionsPanel(View view, Menu menu) { in onPrepareOptionsPanel()
DActionBarFragmentMenu.java138 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
180 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
206 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
221 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
DActionBarUsage.java50 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
60 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java98 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
130 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu()
184 public void onOptionsMenuClosed(Menu menu) { in onOptionsMenuClosed()
196 public void onContextMenuClosed(Menu menu) { in onContextMenuClosed()
/frameworks/base/core/java/com/android/internal/view/
DStandaloneActionMode.java133 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected()
137 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
149 public void onCloseSubMenu(SubMenuBuilder menu) { in onCloseSubMenu()
152 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomNavigationViewTest.java99 final Menu menu = mBottomNavigation.getMenu(); in testBasics() local
219 final Menu menu = mBottomNavigation.getMenu(); in testItemChecking() local
226 private void checkAndVerifyExclusiveItem(final Menu menu, final int id) throws Throwable { in checkAndVerifyExclusiveItem()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DWindowCallback.java66 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu()
71 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel()
76 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened()
111 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DToolbarActionBar.java447 final Menu menu = getMenu(); in populateOptionsMenu() local
475 Menu menu = getMenu(); in onKeyShortcut() local
514 View getListMenuView(Menu menu) { in getListMenuView()
527 private void ensureListMenuPresenter(Menu menu) { in ensureListMenuPresenter()
566 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel()
579 final Menu menu = mDecorToolbar.getMenu(); in onCreatePanelView() local
614 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
633 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
654 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected()
659 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java59 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
88 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
103 protected MenuItem onAddMenuItem(Menu menu, int itemPosition) { in onAddMenuItem()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java218 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu()
223 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel()
228 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened()
253 public void onPanelClosed(int featureId, Menu menu) {} in onPanelClosed()
300 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
308 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()

12345678