Searched refs:setShowAsAction (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/support/compat/src/main/java/androidx/core/view/
H A DMenuCompat.java31 * Call {@link MenuItem#setShowAsAction(int) MenuItem.setShowAsAction()}.
33 * @deprecated Use {@link MenuItem#setShowAsAction(int)} directly.
36 public static void setShowAsAction(MenuItem item, int actionEnum) { method in class:MenuCompat
37 item.setShowAsAction(actionEnum);
H A DMenuItemCompat.java95 * @see #setShowAsAction(android.view.MenuItem, int)
126 * {@link MenuItem#setShowAsAction(int)}.
131 * @deprecated Use {@link MenuItem#setShowAsAction(int)} directly.
134 public static void setShowAsAction(MenuItem item, int actionEnum) { method in class:MenuItemCompat
135 item.setShowAsAction(actionEnum);
147 * @see #setShowAsAction(MenuItem, int)
169 * @see #setShowAsAction(MenuItem, int)
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentMenuSupport.java115 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
117 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
136 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DSharingSupport.java60 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DLoaderCursorSupport.java100 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS
H A DLoaderRetainedSupport.java103 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentMenuSupport.java115 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
117 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
136 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DSharingSupport.java60 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DLoaderCursorSupport.java100 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS
H A DLoaderRetainedSupport.java103 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarMechanics.java59 actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DToolbarFragmentPagerMenu.java99 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
100 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
143 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DActionBarFragmentMenu.java139 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
140 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
181 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarMechanics.java59 actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DToolbarFragmentPagerMenu.java99 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
100 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
143 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
H A DActionBarFragmentMenu.java139 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
140 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
181 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
/frameworks/support/compat/src/main/java/androidx/core/internal/view/
H A DSupportMenuItem.java86 void setShowAsAction(int actionEnum); method in interface:SupportMenuItem
96 * <p>Note: This method differs from {@link #setShowAsAction(int)} only in that it
119 * @see #setShowAsAction(int)
134 * @see #setShowAsAction(int)
144 * @see #setShowAsAction(int)
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItem.java316 public void setShowAsAction(int show) { method in class:ActionMenuItem
345 setShowAsAction(actionEnum);
/frameworks/base/core/java/android/view/
H A DMenuItem.java628 public void setShowAsAction(int actionEnum); method in interface:MenuItem
638 * <p>Note: This method differs from {@link #setShowAsAction(int)} only in that it
663 * @see #setShowAsAction(int)
679 * @see #setShowAsAction(int)
689 * @see #setShowAsAction(int)
804 * Returns true if {@link #setShowAsAction(int)} was set to {@link #SHOW_AS_ACTION_ALWAYS}.
814 * Returns true if {@link #setShowAsAction(int)} was set to {@link #SHOW_AS_ACTION_NEVER}.
/frameworks/support/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
H A DCursorFragment.java77 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAsyncListUtilActivity.java63 menu.add("Layout").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
H A DCursorFragment.java77 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAsyncListUtilActivity.java63 menu.add("Layout").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DActionMenuItem.java316 public void setShowAsAction(int show) { method in class:ActionMenuItem
357 setShowAsAction(actionEnum);
H A DMenuItemWrapperICS.java249 public void setShowAsAction(int actionEnum) { method in class:MenuItemWrapperICS
250 mWrappedObject.setShowAsAction(actionEnum);

Completed in 136 milliseconds

12