Lines Matching refs:menu
17 package com.android.internal.view.menu;
30 * Called by menu implementation to notify another component of open/close events.
34 * Called when a menu is closing.
35 * @param menu
38 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
42 * of menu state so that it does not attempt to hide the action bar
53 * Initialize this presenter for the given context and menu.
58 * @param menu Menu to host
60 public void initForMenu(Context context, MenuBuilder menu);
63 * Retrieve a MenuView to display the menu specified in
72 * Update the menu UI in response to a change. Called by
75 * @param cleared true if the menu was entirely cleared
80 * Set a callback object that will be notified of menu events
97 * Called by Menu implementations to indicate that a menu or submenu is
99 * of the menu indicated as necessary and notify a registered callback.
101 * @param menu Menu or submenu that is closing.
104 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
113 * Called when a menu item with a collapsable action view should expand its action view.
115 * @param menu Menu containing the item to be expanded
119 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item);
122 * Called when a menu item with a collapsable action view should collapse its action view.
124 * @param menu Menu containing the item to be collapsed
128 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item);