Lines Matching refs:menu
17 package com.android.internal.view.menu;
29 * Called by menu implementation to notify another component of open/close events.
33 * Called when a menu is closing.
34 * @param menu
37 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
41 * of menu state so that it does not attempt to hide the action bar
52 * Initialize this presenter for the given context and menu.
57 * @param menu Menu to host
59 public void initForMenu(Context context, MenuBuilder menu);
62 * Retrieve a MenuView to display the menu specified in
71 * Update the menu UI in response to a change. Called by
74 * @param cleared true if the menu was entirely cleared
79 * Set a callback object that will be notified of menu events
96 * Called by Menu implementations to indicate that a menu or submenu is
98 * of the menu indicated as necessary and notify a registered callback.
100 * @param menu Menu or submenu that is closing.
103 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
112 * Called when a menu item with a collapsable action view should expand its action view.
114 * @param menu Menu containing the item to be expanded
118 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item);
121 * Called when a menu item with a collapsable action view should collapse its action view.
123 * @param menu Menu containing the item to be collapsed
127 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item);