Lines Matching refs:menu
64 /** Flag for the context menu. This is enabled by default. */
72 * for an on-screen menu button on some devices.
285 * a menu) will be created for you.
297 * Initialize the contents of the menu for panel 'featureId'. This is
299 * menu in which you can place your items. It is only called once for
302 * <p>You can safely hold on to <var>menu</var> (and any items created
307 * @param menu The menu inside the panel.
312 public boolean onCreatePanelMenu(int featureId, Menu menu);
320 * @param menu If onCreatePanelView() returned null, this is the Menu
328 public boolean onPreparePanel(int featureId, View view, Menu menu);
331 * Called when a panel's menu is opened by the user. This may also be
332 * called when the menu is changing from one type to another (for
333 * example, from the icon menu to the expanded menu).
335 * @param featureId The panel that the menu is in.
336 * @param menu The menu that is opened.
337 * @return Return true to allow the menu to open, or false to prevent
338 * the menu from opening.
340 public boolean onMenuOpened(int featureId, Menu menu);
343 * Called when a panel's menu item has been selected by the user.
345 * @param featureId The panel that the menu is in.
346 * @param item The menu item that was selected.
349 * false to perform the normal menu handling (calling its
399 * @param menu If onCreatePanelView() returned null, this is the Menu
402 public void onPanelClosed(int featureId, Menu menu);