Home | History | Annotate | Download | only in view

Lines Matching refs:Menu

27  * read the <a href="{@docRoot}guide/topics/ui/menus.html#context-menu">Menus</a>
157 * Invalidate the action mode and refresh menu content. The mode's
159 * {@link Callback#onPrepareActionMode(ActionMode, Menu)} method called.
160 * If it returns true the menu will be scanned for updated content and any relevant changes
172 * Returns the menu of actions that this action mode presents.
173 * @return The action mode's menu.
175 public abstract Menu getMenu();
219 * <li>{@link Callback#onCreateActionMode(ActionMode, Menu)} once on initial
221 * <li>{@link Callback#onPrepareActionMode(ActionMode, Menu)} after creation
231 * Called when action mode is first created. The menu supplied will be used to
235 * @param menu Menu used to populate action buttons
239 public boolean onCreateActionMode(ActionMode mode, Menu menu);
242 * Called to refresh an action mode's action menu whenever it is invalidated.
245 * @param menu Menu used to populate action buttons
246 * @return true if the menu or action mode was updated, false otherwise.
248 public boolean onPrepareActionMode(ActionMode mode, Menu menu);