Home
last modified time | relevance | path

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

/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.java37 import android.view.SubMenu;
419 public SubMenu addSubMenu(CharSequence title) { in addSubMenu()
423 public SubMenu addSubMenu(int titleRes) { in addSubMenu()
427 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title) { in addSubMenu()
435 public SubMenu addSubMenu(int group, int id, int categoryOrder, int title) { in addSubMenu()
DMenuItemImpl.java30 import android.view.SubMenu;
314 public SubMenu getSubMenu() { in getSubMenu()
/frameworks/base/core/java/android/view/
DSubMenu.java33 public interface SubMenu extends Menu { interface
41 public SubMenu setHeaderTitle(int titleRes); in setHeaderTitle()
49 public SubMenu setHeaderTitle(CharSequence title); in setHeaderTitle()
58 public SubMenu setHeaderIcon(int iconRes); in setHeaderIcon()
67 public SubMenu setHeaderIcon(Drawable icon); in setHeaderIcon()
77 public SubMenu setHeaderView(View view); in setHeaderView()
91 public SubMenu setIcon(int iconRes); in setIcon()
100 public SubMenu setIcon(Drawable icon); in setIcon()
DMenu.java195 SubMenu addSubMenu(final CharSequence title); in addSubMenu()
205 SubMenu addSubMenu(final int titleRes); in addSubMenu()
227 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu()
242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes); in addSubMenu()
DActionProvider.java140 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
DMenuInflater.java148 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
439 public SubMenu addSubMenuItem() { in addSubMenuItem()
441 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem()
DMenuItem.java420 public SubMenu getSubMenu(); in getSubMenu()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java29 import android.view.SubMenu;
195 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu()
215 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount, 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()
DMenuTest.java30 import android.view.SubMenu;
235 final SubMenu subMenu = mMenu.addSubMenu(0, 0, 0, "submenu"); in testSubMenu()
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd34 <li>{@link android.view.SubMenu}</li>
443 dynamically add a {@link android.view.SubMenu} to an existing {@link android.view.Menu}. This
444 returns the new {@link android.view.SubMenu} object, to which you can add
/frameworks/base/api/
Dcurrent.txt21686 method public void onPrepareSubMenu(android.view.SubMenu);
22324 method public abstract android.view.SubMenu addSubMenu(java.lang.CharSequence);
22325 method public abstract android.view.SubMenu addSubMenu(int);
22326 method public abstract android.view.SubMenu addSubMenu(int, int, int, java.lang.CharSequence);
22327 method public abstract android.view.SubMenu addSubMenu(int, int, int, int);
22372 method public abstract android.view.SubMenu getSubMenu();
22671 public abstract interface SubMenu implements android.view.Menu {
22674 method public abstract android.view.SubMenu setHeaderIcon(int);
22675 method public abstract android.view.SubMenu setHeaderIcon(android.graphics.drawable.Drawable);
22676 method public abstract android.view.SubMenu setHeaderTitle(int);
[all …]
D14.txt21686 method public void onPrepareSubMenu(android.view.SubMenu);
22324 method public abstract android.view.SubMenu addSubMenu(java.lang.CharSequence);
22325 method public abstract android.view.SubMenu addSubMenu(int);
22326 method public abstract android.view.SubMenu addSubMenu(int, int, int, java.lang.CharSequence);
22327 method public abstract android.view.SubMenu addSubMenu(int, int, int, int);
22372 method public abstract android.view.SubMenu getSubMenu();
22671 public abstract interface SubMenu implements android.view.Menu {
22674 method public abstract android.view.SubMenu setHeaderIcon(int);
22675 method public abstract android.view.SubMenu setHeaderIcon(android.graphics.drawable.Drawable);
22676 method public abstract android.view.SubMenu setHeaderTitle(int);
[all …]
/frameworks/base/docs/html/
Dsitemap.txt1851 http://developer.android.com/reference/android/view/SubMenu.html