Home
last modified time | relevance | path

Searched refs:categoryOrder (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationMenu.java40 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu() argument
45 protected MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { in addInternal() argument
52 final MenuItem item = super.addInternal(group, id, categoryOrder, title); in addInternal()
DNavigationMenu.java42 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu() argument
43 final MenuItemImpl item = (MenuItemImpl) addInternal(group, id, categoryOrder, title); in addSubMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java405 private MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { in addInternal() argument
406 final int ordering = getOrdering(categoryOrder); in addInternal()
408 final MenuItemImpl item = createNewMenuItem(group, id, categoryOrder, ordering, title, in addInternal()
423 private MenuItemImpl createNewMenuItem(int group, int id, int categoryOrder, int ordering, in createNewMenuItem() argument
425 return new MenuItemImpl(this, group, id, categoryOrder, ordering, title, in createNewMenuItem()
437 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { in add() argument
438 return addInternal(group, id, categoryOrder, title); in add()
441 public MenuItem add(int group, int id, int categoryOrder, int title) { in add() argument
442 return addInternal(group, id, categoryOrder, mResources.getString(title)); in add()
453 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu() argument
[all …]
DActionMenuItem.java72 public ActionMenuItem(Context context, int group, int id, int categoryOrder, int ordering, in ActionMenuItem() argument
77 mCategoryOrder = categoryOrder; in ActionMenuItem()
DMenuItemImpl.java130 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, in MenuItemImpl() argument
150 mCategoryOrder = categoryOrder; in MenuItemImpl()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java439 protected MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { in addInternal() argument
440 final int ordering = getOrdering(categoryOrder); in addInternal()
442 final MenuItemImpl item = createNewMenuItem(group, id, categoryOrder, ordering, title, in addInternal()
457 private MenuItemImpl createNewMenuItem(int group, int id, int categoryOrder, int ordering, in createNewMenuItem() argument
459 return new MenuItemImpl(this, group, id, categoryOrder, ordering, title, in createNewMenuItem()
474 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { in add() argument
475 return addInternal(group, id, categoryOrder, title); in add()
479 public MenuItem add(int group, int id, int categoryOrder, int title) { in add() argument
480 return addInternal(group, id, categoryOrder, mResources.getString(title)); in add()
494 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu() argument
[all …]
DActionMenuItem.java81 public ActionMenuItem(Context context, int group, int id, int categoryOrder, int ordering, in ActionMenuItem() argument
86 mCategoryOrder = categoryOrder; in ActionMenuItem()
DMenuItemImpl.java137 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, in MenuItemImpl() argument
155 mCategoryOrder = categoryOrder; in MenuItemImpl()
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/
DMenuBuilder_Delegate.java34 int categoryOrder, int ordering, CharSequence title, int defaultShowAsAction) { in createNewMenuItem() argument
35 return new BridgeMenuItemImpl(thisMenu, group, id, categoryOrder, ordering, title, in createNewMenuItem()
DBridgeMenuItemImpl.java40 BridgeMenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, in BridgeMenuItemImpl() argument
42 super(menu, group, id, categoryOrder, ordering, title, showAsAction); in BridgeMenuItemImpl()