Lines Matching refs:menu

24 import android.support.v7.internal.view.menu.MenuBuilder;
25 import android.support.v7.internal.view.menu.MenuPopupHelper;
26 import android.support.v7.internal.view.menu.MenuPresenter;
27 import android.support.v7.internal.view.menu.SubMenuBuilder;
51 * Callback interface used to notify the application that the menu has closed.
55 * Called when the associated menu has been dismissed.
57 * @param menu The PopupMenu that was dismissed.
59 public void onDismiss(PopupMenu menu);
74 * Constructor to create a new popup menu with an anchor view and alignment
77 * @param context Context the popup menu is running in, through which it
89 * Constructor a create a new popup menu with a specific style.
91 * @param context Context the popup menu is running in, through which it
193 * @return a {@link MenuInflater} that can be used to inflate menu items from XML into the
194 * menu returned by {@link #getMenu()}.
203 * Inflate a menu resource into this PopupMenu. This is equivalent to calling
212 * Show the menu popup anchored to the view specified during construction.
220 * Dismiss the menu popup.
228 * Set a listener that will be notified when the user selects an item from the menu.
237 * Set a listener that will be notified when this menu is dismissed.
248 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) {
258 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
274 // Current menu will be dismissed by the normal helper, submenu will be shown in its place.
282 public void onCloseSubMenu(SubMenuBuilder menu) {
288 public void onMenuModeChange(MenuBuilder menu) {
292 * Interface responsible for receiving menu item click events if the items themselves
297 * This method will be invoked when a menu item is clicked if the item itself did