Lines Matching refs:menu
17 package android.support.v7.internal.view.menu;
32 * Called by menu implementation to notify another component of open/close events.
38 * Called when a menu is closing.
39 * @param menu
42 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
46 * of menu state so that it does not attempt to hide the action bar
57 * Initialize this presenter for the given context and menu.
62 * @param menu Menu to host
64 public void initForMenu(Context context, MenuBuilder menu);
67 * Retrieve a MenuView to display the menu specified in
76 * Update the menu UI in response to a change. Called by
79 * @param cleared true if the menu was entirely cleared
84 * Set a callback object that will be notified of menu events
101 * Called by Menu implementations to indicate that a menu or submenu is
103 * of the menu indicated as necessary and notify a registered callback.
105 * @param menu Menu or submenu that is closing.
108 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
117 * Called when a menu item with a collapsable action view should expand its action view.
119 * @param menu Menu containing the item to be expanded
123 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item);
126 * Called when a menu item with a collapsable action view should collapse its action view.
128 * @param menu Menu containing the item to be collapsed
132 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item);