Home
last modified time | relevance | path

Searched refs:setShowAsAction (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/support/compat/src/main/java/androidx/core/view/
DMenuCompat.java36 public static void setShowAsAction(MenuItem item, int actionEnum) { in setShowAsAction() method in MenuCompat
37 item.setShowAsAction(actionEnum); in setShowAsAction()
DMenuItemCompat.java134 public static void setShowAsAction(MenuItem item, int actionEnum) { in setShowAsAction() method in MenuItemCompat
135 item.setShowAsAction(actionEnum); in setShowAsAction()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentMenuSupport.java115 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
117 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
136 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DSharingSupport.java60 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DLoaderThrottleSupport.java425 populateItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
427 clearItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DLoaderCursorSupport.java100 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS in onCreateOptionsMenu()
DLoaderRetainedSupport.java103 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS in onCreateOptionsMenu()
DLoaderCustomSupport.java439 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM in onCreateOptionsMenu()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DToolbarFragmentPagerMenu.java99 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
100 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER); in onCreateOptionsMenu()
143 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DActionBarFragmentMenu.java139 menu.add("Menu 1a").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
140 menu.add("Menu 1b").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
181 menu.add("Menu 2").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DActionBarMechanics.java59 actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java316 public void setShowAsAction(int show) { in setShowAsAction() method in ActionMenuItem
345 setShowAsAction(actionEnum); in setShowAsActionFlags()
DMenuItemImpl.java689 public void setShowAsAction(int actionEnum) { in setShowAsAction() method in MenuItemImpl
757 setShowAsAction(actionEnum); in setShowAsActionFlags()
/frameworks/support/compat/src/main/java/androidx/core/internal/view/
DSupportMenuItem.java86 void setShowAsAction(int actionEnum); in setShowAsAction() method
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DActionMenuItem.java316 public void setShowAsAction(int show) { in setShowAsAction() method in ActionMenuItem
357 setShowAsAction(actionEnum); in setShowAsActionFlags()
DMenuItemWrapperICS.java249 public void setShowAsAction(int actionEnum) { in setShowAsAction() method in MenuItemWrapperICS
250 mWrappedObject.setShowAsAction(actionEnum); in setShowAsAction()
DMenuItemImpl.java726 public void setShowAsAction(int actionEnum) { in setShowAsAction() method in MenuItemImpl
812 setShowAsAction(actionEnum); in setShowAsActionFlags()
/frameworks/base/core/java/android/view/
DMenuItem.java628 public void setShowAsAction(int actionEnum); in setShowAsAction() method
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DCursorFragment.java77 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM in onCreateOptionsMenu()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DAsyncListUtilActivity.java63 menu.add("Layout").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
DRecyclerViewActivity.java79 menu.add("Layout").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); in onCreateOptionsMenu()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java174 verify(item).setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS); in prepareHelpMenuItem_shouldShowIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java130 helpMenuItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS); in prepareHelpMenuItem()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DWearableActionDrawerMenu.java403 public void setShowAsAction(int actionEnum) { in setShowAsAction() method in WearableActionDrawerMenu.WearableActionDrawerMenuItem
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSliceBrowser.java146 mTypeMenu.getItem().setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS); in onCreateOptionsMenu()

123