Lines Matching defs:menu
34 * ActionMode}, read the <a href="{@docRoot}guide/topics/ui/menus.html#context-menu">Menus</a>
156 * Invalidate the action mode and refresh menu content. The mode's {@link ActionMode.Callback}
158 * returns true the menu will be scanned for updated content and any relevant changes will be
170 * Returns the menu of actions that this action mode presents.
172 * @return The action mode's menu.
237 * Called when action mode is first created. The menu supplied will be used to generate
241 * @param menu Menu used to populate action buttons
245 public boolean onCreateActionMode(ActionMode mode, Menu menu);
248 * Called to refresh an action mode's action menu whenever it is invalidated.
251 * @param menu Menu used to populate action buttons
252 * @return true if the menu or action mode was updated, false otherwise.
254 public boolean onPrepareActionMode(ActionMode mode, Menu menu);