Lines Matching refs:menu
39 import com.android.internal.view.menu.ActionMenuItemView;
40 import com.android.internal.view.menu.BaseMenuPresenter;
41 import com.android.internal.view.menu.MenuBuilder;
42 import com.android.internal.view.menu.MenuItemImpl;
43 import com.android.internal.view.menu.MenuPopupHelper;
44 import com.android.internal.view.menu.MenuView;
45 import com.android.internal.view.menu.SubMenuBuilder;
91 public void initForMenu(Context context, MenuBuilder menu) {
92 super.initForMenu(context, menu);
298 * Display the overflow menu if one is present.
299 * @return true if the overflow menu was shown, false otherwise.
319 * Hide the overflow menu if it is currently showing.
321 * @return true if the overflow menu was hidden, false otherwise.
362 * @return true if the overflow menu is currently showing
373 * @return true if space has been reserved in the action menu for an overflow item.
514 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
516 super.onCloseMenu(menu, allMenusAreClosing);
678 public OverflowPopup(Context context, MenuBuilder menu, View anchorView,
680 super(context, menu, anchorView, overflowOnly,
742 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
743 if (menu instanceof SubMenuBuilder) {
744 ((SubMenuBuilder) menu).getRootMenu().close(false);
748 cb.onCloseMenu(menu, allMenusAreClosing);