Home
last modified time | relevance | path

Searched refs:SubMenu (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java23 import android.view.SubMenu;
30 public class SubMenuBuilder extends MenuBuilder implements SubMenu {
85 public SubMenu setIcon(Drawable icon) { in setIcon()
90 public SubMenu setIcon(int iconRes) { in setIcon()
95 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon()
96 return (SubMenu) super.setHeaderIconInt(icon); in setHeaderIcon()
99 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon()
100 return (SubMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
103 public SubMenu setHeaderTitle(CharSequence title) { in setHeaderTitle()
104 return (SubMenu) super.setHeaderTitleInt(title); in setHeaderTitle()
[all …]
DActionMenu.java30 import android.view.SubMenu;
100 public SubMenu addSubMenu(CharSequence title) { in addSubMenu()
105 public SubMenu addSubMenu(int titleRes) { in addSubMenu()
110 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu()
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu()
DActionMenuItem.java25 import android.view.SubMenu;
101 public SubMenu getSubMenu() { in getSubMenu()
DMenuBuilder.java38 import android.view.SubMenu;
445 public SubMenu addSubMenu(CharSequence title) { in addSubMenu()
449 public SubMenu addSubMenu(int titleRes) { in addSubMenu()
453 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu()
461 public SubMenu addSubMenu(int group, int id, int categoryOrder, int title) { in addSubMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DSubMenuBuilder.java24 import android.view.SubMenu;
33 public class SubMenuBuilder extends MenuBuilder implements SubMenu {
88 public SubMenu setIcon(Drawable icon) { in setIcon()
93 public SubMenu setIcon(int iconRes) { in setIcon()
98 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon()
99 return (SubMenu) super.setHeaderIconInt(icon); in setHeaderIcon()
102 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon()
103 return (SubMenu) super.setHeaderIconInt(iconRes); in setHeaderIcon()
106 public SubMenu setHeaderTitle(CharSequence title) { in setHeaderTitle()
107 return (SubMenu) super.setHeaderTitleInt(title); in setHeaderTitle()
[all …]
DSubMenuWrapperICS.java23 import android.view.SubMenu;
30 class SubMenuWrapperICS extends MenuWrapperICS implements SubMenu {
42 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle()
48 public SubMenu setHeaderTitle(CharSequence title) { in setHeaderTitle()
54 public SubMenu setHeaderIcon(int iconRes) { in setHeaderIcon()
60 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon()
66 public SubMenu setHeaderView(View view) { in setHeaderView()
77 public SubMenu setIcon(int iconRes) { in setIcon()
83 public SubMenu setIcon(Drawable icon) { in setIcon()
DBaseMenuWrapper.java24 import android.view.SubMenu;
34 private Map<SupportSubMenu, SubMenu> mSubMenus;
64 final SubMenu getSubMenuWrapper(final SubMenu subMenu) { in getSubMenuWrapper()
73 SubMenu wrappedMenu = mSubMenus.get(supportSubMenu); in getSubMenuWrapper()
DMenuWrapperICS.java26 import android.view.SubMenu;
59 public SubMenu addSubMenu(CharSequence title) { in addSubMenu()
64 public SubMenu addSubMenu(int titleRes) { in addSubMenu()
69 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu()
74 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu()
DMenuWrapperFactory.java26 import android.view.SubMenu;
51 public static SubMenu wrapSupportSubMenu(Context context, SupportSubMenu supportSubMenu) { in wrapSupportSubMenu()
DMenuItemWrapperICS.java31 import android.view.SubMenu;
200 public SubMenu getSubMenu() { in getSubMenu()
367 public void onPrepareSubMenu(android.view.SubMenu subMenu) { in onPrepareSubMenu()
DActionMenuItem.java28 import android.view.SubMenu;
105 public SubMenu getSubMenu() { in getSubMenu()
DMenuBuilder.java41 import android.view.SubMenu;
475 public SubMenu addSubMenu(CharSequence title) { in addSubMenu()
480 public SubMenu addSubMenu(int titleRes) { in addSubMenu()
485 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu()
494 public SubMenu addSubMenu(int group, int id, int categoryOrder, int title) { in addSubMenu()
/frameworks/base/core/java/android/view/
DSubMenu.java35 public interface SubMenu extends Menu { interface
43 public SubMenu setHeaderTitle(@StringRes int titleRes); in setHeaderTitle()
51 public SubMenu setHeaderTitle(CharSequence title); in setHeaderTitle()
60 public SubMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon()
69 public SubMenu setHeaderIcon(Drawable icon); in setHeaderIcon()
79 public SubMenu setHeaderView(View view); in setHeaderView()
93 public SubMenu setIcon(@DrawableRes int iconRes); in setIcon()
102 public SubMenu setIcon(Drawable icon); in setIcon()
DMenu.java196 SubMenu addSubMenu(final CharSequence title); in addSubMenu()
206 SubMenu addSubMenu(@StringRes final int titleRes); in addSubMenu()
228 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu()
243 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu()
DMenuInflater.java164 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
220 private void registerMenu(@SuppressWarnings("unused") SubMenu subMenu, in registerMenu()
498 public SubMenu addSubMenuItem() { in addSubMenuItem()
500 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
DActionProvider.java201 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
DMenuItem.java423 public SubMenu getSubMenu(); in getSubMenu()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenu.java23 import android.view.SubMenu;
38 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu()
/frameworks/support/v4/java/android/support/v4/view/
DActionProvider.java22 import android.view.SubMenu;
264 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java28 import android.view.SubMenu;
103SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_… in onCreateOptionsMenu()
147 SubMenu sm = menu.addSubMenu(0, 0, 0, "Test 1.5 SM"); in onCreateContextMenu()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java29 import android.view.SubMenu;
198 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
218 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount, in onPrepareSubMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java32 import android.view.SubMenu;
255 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
275 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount, in onPrepareSubMenu()
/frameworks/support/v4/java/android/support/v4/internal/view/
DSupportSubMenu.java28 public interface SupportSubMenu extends SupportMenu, android.view.SubMenu {
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java40 import android.view.SubMenu;
171 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
482 public SubMenu addSubMenuItem() { in addSubMenuItem()
484 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DMenuInflater_Delegate.java67 /*package*/ static void registerMenu(MenuInflater thisInflater, SubMenu subMenu, in registerMenu()

12