Lines Matching refs:menu
17 package com.android.internal.view.menu;
19 import com.android.internal.view.menu.MenuView.ItemView;
64 /** The menu to which this item belongs */
66 /** If this item should launch a sub menu, this is the sub menu to launch */
91 * Current use case is for context menu: Extra information linked to the
92 * View that added this item to the context menu.
104 * Instantiates this menu item.
106 * @param menu
115 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering,
118 String lang = menu.getContext().getResources().getConfiguration().locale.toString();
122 sPrependShortcutLabel = menu.getContext().getResources().getString(
124 sEnterShortcutLabel = menu.getContext().getResources().getString(
126 sDeleteShortcutLabel = menu.getContext().getResources().getString(
128 sSpaceShortcutLabel = menu.getContext().getResources().getString(
132 mMenu = menu;
266 * @return The active shortcut (based on QWERTY-mode of the menu).
308 * @return Whether this menu item should be showing shortcuts (depends on
309 * whether the menu should show shortcuts and whether this item has
313 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
470 * parent menu of a change in this item, so this should only be called from
485 // (i.e. the previous state isn't the same as given state), notify the parent menu that
515 * @return Whether the menu should show icons for menu items.