Lines Matching refs:menu
21 import android.support.v7.internal.view.menu.MenuBuilder;
22 import android.support.v7.internal.view.menu.MenuPopupHelper;
23 import android.support.v7.internal.view.menu.MenuPresenter;
24 import android.support.v7.internal.view.menu.SubMenuBuilder;
46 * Callback interface used to notify the application that the menu has closed.
50 * Called when the associated menu has been dismissed.
52 * @param menu The PopupMenu that was dismissed.
54 public void onDismiss(PopupMenu menu);
85 * @return a {@link MenuInflater} that can be used to inflate menu items from XML into the
86 * menu returned by {@link #getMenu()}.
95 * Inflate a menu resource into this PopupMenu. This is equivalent to calling
104 * Show the menu popup anchored to the view specified during construction.
112 * Dismiss the menu popup.
120 * Set a listener that will be notified when the user selects an item from the menu.
129 * Set a listener that will be notified when this menu is dismissed.
140 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) {
150 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
166 // Current menu will be dismissed by the normal helper, submenu will be shown in its place.
174 public void onCloseSubMenu(SubMenuBuilder menu) {
180 public void onMenuModeChange(MenuBuilder menu) {
184 * Interface responsible for receiving menu item click events if the items themselves
189 * This method will be invoked when a menu item is clicked if the item itself did