/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuPresenter.java | 91 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { 92 if (!subMenu.hasVisibleItems()) return false; 95 MenuDialogHelper helper = new MenuDialogHelper(subMenu); 99 mOpenSubMenuId = subMenu.getItem().getItemId(); 100 super.onSubMenuSelected(subMenu); 189 public boolean onOpenSubMenu(MenuBuilder subMenu) { 190 if (subMenu != null) { 191 mOpenSubMenuId = ((SubMenuBuilder) subMenu).getItem().getItemId();
|
D | MenuPresenter.java | 52 public boolean onOpenSubMenu(MenuBuilder subMenu); in onOpenSubMenu() argument 99 public boolean onSubMenuSelected(SubMenuBuilder subMenu); in onSubMenuSelected() argument
|
D | MenuBuilder.java | 278 private boolean dispatchSubMenuSelected(SubMenuBuilder subMenu, in dispatchSubMenuSelected() argument 286 result = preferredPresenter.onSubMenuSelected(subMenu); in dispatchSubMenuSelected() 294 result = presenter.onSubMenuSelected(subMenu); in dispatchSubMenuSelected() 369 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu(); in saveActionViewStates() local 370 subMenu.saveActionViewStates(outStates); in saveActionViewStates() 395 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu(); in restoreActionViewStates() local 396 subMenu.restoreActionViewStates(states); in restoreActionViewStates() 471 final SubMenuBuilder subMenu = new SubMenuBuilder(mContext, this, item); in addSubMenu() local 472 item.setSubMenu(subMenu); in addSubMenu() 474 return subMenu; in addSubMenu() [all …]
|
D | StandardMenuPopup.java | 261 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 262 if (subMenu.hasVisibleItems()) { in onSubMenuSelected() 263 final MenuPopupHelper subPopup = new MenuPopupHelper(mContext, subMenu, in onSubMenuSelected() 266 subPopup.setForceShowIcon(MenuPopup.shouldPreserveIconSpacing(subMenu)); in onSubMenuSelected() 289 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
|
D | ListMenuPresenter.java | 136 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 137 if (!subMenu.hasVisibleItems()) return false; in onSubMenuSelected() 140 new MenuDialogHelper(subMenu).show(null); in onSubMenuSelected() 142 mCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
|
D | MenuDialogHelper.java | 162 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() argument 164 return mPresenterCallback.onOpenSubMenu(subMenu); in onOpenSubMenu()
|
D | CascadingMenuPopup.java | 573 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 576 if (subMenu == info.menu) { in onSubMenuSelected() 583 if (subMenu.hasVisibleItems()) { in onSubMenuSelected() 584 addMenu(subMenu); in onSubMenuSelected() 587 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
|
D | MenuItemImpl.java | 413 void setSubMenu(SubMenuBuilder subMenu) { in setSubMenu() argument 414 mSubMenu = subMenu; in setSubMenu() 416 subMenu.setHeaderTitle(getTitle()); in setSubMenu()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuPresenter.java | 494 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 495 if (!subMenu.hasVisibleItems()) return false; in onSubMenuSelected() 497 SubMenuBuilder topSubMenu = subMenu; in onSubMenuSelected() 510 mOpenSubMenuId = subMenu.getItem().getItemId(); in onSubMenuSelected() 513 final int count = subMenu.size(); in onSubMenuSelected() 515 MenuItem childItem = subMenu.getItem(i); in onSubMenuSelected() 522 mActionButtonPopup = new ActionButtonSubmenu(mContext, subMenu, anchor); in onSubMenuSelected() 526 super.onSubMenuSelected(subMenu); in onSubMenuSelected() 786 SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu(); in onRestoreInstanceState() local 787 onSubMenuSelected(subMenu); in onRestoreInstanceState() [all …]
|
D | ShareActionProvider.java | 198 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu() argument 200 subMenu.clear(); in onPrepareSubMenu() 211 subMenu.add(0, i, i, activity.loadLabel(packageManager)) in onPrepareSubMenu() 218 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount, in onPrepareSubMenu()
|
D | ActionMenuView.java | 786 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() argument
|
D | Toolbar.java | 2448 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument
|
D | Editor.java | 2781 final SubMenu subMenu = menu.addSubMenu(Menu.NONE, Menu.NONE, MENU_ITEM_ORDER_REPLACE, in onCreateContextMenu() local 2786 subMenu.add(Menu.NONE, Menu.NONE, i, info.mText) in onCreateContextMenu()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | StandaloneActionMode.java | 140 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 141 if (!subMenu.hasVisibleItems()) { in onSubMenuSelected() 145 new MenuPopupHelper(mContextView.getContext(), subMenu).show(); in onSubMenuSelected()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | MenuInflater_Delegate.java | 74 /*package*/ static void registerMenu(MenuInflater thisInflater, SubMenu subMenu, in registerMenu() argument 76 registerMenu(thisInflater, subMenu.getItem(), parser); in registerMenu()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 155 final SubMenu subMenu = mMenu.addSubMenu(0, 0, 0, "submenu"); in testSubMenu() local 156 final MenuItem subMenuItem = subMenu.getItem(); in testSubMenu() 157 final MenuItem item1 = subMenu.add(0, 1, 0, "item1"); in testSubMenu() 158 final MenuItem item2 = subMenu.add(0, 2, 0, "item2"); in testSubMenu()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 167 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu() local 168 registerMenu(subMenu, attrs); in parseMenu() 171 parseMenu(parser, attrs, subMenu); in parseMenu() 223 private void registerMenu(@SuppressWarnings("unused") SubMenu subMenu, in registerMenu() argument 547 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle); in addSubMenuItem() local 548 setItem(subMenu.getItem()); in addSubMenuItem() 549 return subMenu; in addSubMenuItem()
|
D | ActionProvider.java | 203 public void onPrepareSubMenu(SubMenu subMenu) { in onPrepareSubMenu() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 542 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() argument 544 mWindowCallback.onMenuOpened(Window.FEATURE_ACTION_BAR, subMenu); in onOpenSubMenu()
|
D | WindowDecorActionBar.java | 1123 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument 1128 if (!subMenu.hasVisibleItems()) { in onSubMenuSelected() 1132 new MenuPopupHelper(getThemedContext(), subMenu).show(); in onSubMenuSelected()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 2286 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() argument 2287 if (subMenu == null && hasFeature(FEATURE_ACTION_BAR)) { in onOpenSubMenu() 2290 cb.onMenuOpened(FEATURE_ACTION_BAR, subMenu); in onOpenSubMenu() 2300 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() argument 2303 cb.onMenuOpened(FEATURE_ACTION_BAR, subMenu); in onOpenSubMenu() 3772 public boolean onOpenSubMenu(MenuBuilder subMenu) { 3773 if (subMenu == null) { 3778 subMenu.setCallback(this); 3782 mSubMenuHelper = new MenuDialogHelper(subMenu);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FloatingToolbar.java | 327 Menu subMenu = menuItem.getSubMenu(); in getVisibleAndEnabledMenuItems() local 328 if (subMenu != null) { in getVisibleAndEnabledMenuItems() 329 menuItems.addAll(getVisibleAndEnabledMenuItems(subMenu)); in getVisibleAndEnabledMenuItems()
|
D | ActionBarView.java | 1640 public boolean onSubMenuSelected(SubMenuBuilder subMenu) { in onSubMenuSelected() argument
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |