Home
last modified time | relevance | path

Searched refs:menuItemId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DFloatingToolbarEspressoUtils.java146 public static void assertFloatingToolbarItemIndex(final int menuItemId, final int index) { in assertFloatingToolbarItemIndex() argument
153 return menuItemIds.size() > index && menuItemIds.get(index) == menuItemId; in assertFloatingToolbarItemIndex()
191 public static void assertFloatingToolbarDoesNotContainItem(final int menuItemId) { in assertFloatingToolbarDoesNotContainItem() argument
194 && ((MenuItem) view.getTag()).getItemId() == menuItemId; in assertFloatingToolbarDoesNotContainItem()
/frameworks/support/compat/src/main/java/androidx/core/app/
DShareCompat.java179 public static void configureMenuItem(Menu menu, int menuItemId, IntentBuilder shareIntent) { in configureMenuItem() argument
180 MenuItem item = menu.findItem(menuItemId); in configureMenuItem()
182 throw new IllegalArgumentException("Could not find menu item with id " + menuItemId in configureMenuItem()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java168 public void onSelectionAction(int menuItemId) { in onSelectionAction() argument
171 getActionType(menuItemId), mTextClassification); in onSelectionAction()
1095 private static int getActionType(int menuItemId) { in getActionType() argument
1096 switch (menuItemId) { in getActionType()