/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPresenter.java | 40 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 52 public boolean onOpenSubMenu(MenuBuilder subMenu); in onOpenSubMenu() 65 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu); in initForMenu() 111 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 126 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 135 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
D | SubMenuBuilder.java | 31 public class SubMenuBuilder extends MenuBuilder implements SubMenu { 32 private MenuBuilder mParentMenu; 35 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() 78 public MenuBuilder getRootMenu() { in getRootMenu() 83 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { in dispatchMenuItemSelected()
|
D | MenuPopup.java | 54 public abstract void addMenu(MenuBuilder menu); in addMenu() 97 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 107 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 112 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 198 protected static boolean shouldPreserveIconSpacing(MenuBuilder menu) { in shouldPreserveIconSpacing()
|
D | MenuDialogHelper.java | 35 private MenuBuilder mMenu; 41 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper() 53 final MenuBuilder menu = mMenu; in show() 152 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 162 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu()
|
D | CascadingMenuPopup.java | 73 private final List<MenuBuilder> mPendingMenus = new LinkedList<>(); 122 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 131 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 246 for (MenuBuilder menu : mPendingMenus) { in show() 335 public void addMenu(MenuBuilder menu) { in addMenu() 350 private void showMenu(@NonNull MenuBuilder menu) { in showMenu() 461 @NonNull MenuBuilder parent, @NonNull MenuBuilder submenu) { in findMenuItemForSubmenu() 482 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu() 600 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu() 612 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() [all …]
|
D | BaseMenuPresenter.java | 36 protected MenuBuilder mMenu; 63 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 203 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 220 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 224 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | ExpandedMenuView.java | 20 import com.android.internal.view.menu.MenuBuilder.ItemInvoker; 35 private MenuBuilder mMenu; 54 public void initialize(MenuBuilder menu) { in initialize()
|
D | MenuPopupHelper.java | 44 private final MenuBuilder mMenu; 60 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu) { in MenuPopupHelper() 65 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper() 70 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper() 76 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper()
|
D | ListMenuPresenter.java | 43 MenuBuilder mMenu; 81 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 148 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 175 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 179 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | MenuAdapter.java | 26 MenuBuilder mAdapterMenu; 35 public MenuAdapter(MenuBuilder menu, LayoutInflater inflater, boolean overflowOnly, in MenuAdapter() 61 public MenuBuilder getAdapterMenu() { in getAdapterMenu()
|
D | MenuBuilder.java | 52 public class MenuBuilder implements Menu { class 179 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); in onMenuItemSelected() 187 public void onMenuModeChange(MenuBuilder menu); in onMenuModeChange() 198 public MenuBuilder(Context context) { in MenuBuilder() method in MenuBuilder 214 public MenuBuilder setDefaultShowAsAction(int defaultShowAsAction) { in setDefaultShowAsAction() 786 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { in dispatchMenuItemSelected() 848 ((MenuBuilder)item.getSubMenu()).findItemsWithShortcutForKey(items, keyCode, event); in findItemsWithShortcutForKey() 1200 protected MenuBuilder setHeaderTitleInt(CharSequence title) { in setHeaderTitleInt() 1212 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() 1224 protected MenuBuilder setHeaderIconInt(Drawable icon) { in setHeaderIconInt() [all …]
|
D | StandardMenuPopup.java | 50 private final MenuBuilder mMenu; 114 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr, in StandardMenuPopup() 220 public void addMenu(MenuBuilder menu) { in addMenu() 298 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
|
D | IconMenuPresenter.java | 54 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 180 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { 189 public boolean onOpenSubMenu(MenuBuilder subMenu) {
|
/frameworks/base/core/java/com/android/internal/view/ |
D | StandaloneActionMode.java | 18 import com.android.internal.view.menu.MenuBuilder; 33 public class StandaloneActionMode extends ActionMode implements MenuBuilder.Callback { 41 private MenuBuilder mMenu; 49 mMenu = new MenuBuilder(view.getContext()).setDefaultShowAsAction( in StandaloneActionMode() 133 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() 137 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 152 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
|
D | FloatingActionMode.java | 37 import com.android.internal.view.menu.MenuBuilder; 49 @NonNull private final MenuBuilder mMenu; 89 mMenu = new MenuBuilder(context).setDefaultShowAsAction( in FloatingActionMode() 92 mMenu.setCallback(new MenuBuilder.Callback() { in FloatingActionMode() 94 public void onMenuModeChange(MenuBuilder menu) {} in FloatingActionMode() 97 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in FloatingActionMode()
|
/frameworks/base/core/java/android/widget/ |
D | PopupMenu.java | 31 import com.android.internal.view.menu.MenuBuilder; 45 private final MenuBuilder mMenu; 103 mMenu = new MenuBuilder(context); in PopupMenu() 104 mMenu.setCallback(new MenuBuilder.Callback() { in PopupMenu() 106 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in PopupMenu() 114 public void onMenuModeChange(MenuBuilder menu) { in PopupMenu()
|
D | MenuItemHoverListener.java | 6 import com.android.internal.view.menu.MenuBuilder; 24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit() 32 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
|
D | ActionMenuView.java | 37 import com.android.internal.view.menu.MenuBuilder; 48 public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvoker, MenuView { 54 private MenuBuilder mMenu; 65 private MenuBuilder.Callback mMenuBuilderCallback; 628 public void initialize(@Nullable MenuBuilder menu) { in initialize() 643 mMenu = new MenuBuilder(context); in getMenu() 661 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() 671 public MenuBuilder peekMenu() { in peekMenu() 765 private class MenuBuilderCallback implements MenuBuilder.Callback { 767 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() [all …]
|
D | MenuPopupWindow.java | 32 import com.android.internal.view.menu.MenuBuilder; 77 public void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item) { in onItemHoverEnter() 85 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { in onItemHoverExit() 178 final MenuBuilder menu = menuAdapter.getAdapterMenu(); in onHoverEvent()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 26 import com.android.internal.view.menu.MenuBuilder; 125 MenuBuilder menuBuilder = getMenuBuilder(); in inflateMenus() 152 abstract MenuBuilder getMenuBuilder(); in getMenuBuilder() 191 MenuBuilder menu = getMenuBuilder(); in inflateMenus() 194 decorToolbar.setMenu(new MenuBuilder(getActionMenuContext()), null); in inflateMenus() 211 MenuBuilder getMenuBuilder() { in getMenuBuilder() 212 return (MenuBuilder) mToolbar.getMenu(); in getMenuBuilder() 247 private MenuBuilder mMenuBuilder; 306 MenuBuilder getMenuBuilder() { in getMenuBuilder() 308 mMenuBuilder = new MenuBuilder(getActionMenuContext()); in getMenuBuilder()
|
D | OverflowMenuAdapter.java | 19 import com.android.internal.view.menu.MenuBuilder; 37 private final MenuBuilder mMenu; 41 public OverflowMenuAdapter(MenuBuilder menu, Context context) { in OverflowMenuAdapter()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 20 import com.android.internal.view.menu.MenuBuilder; 448 final MenuBuilder mb = menu instanceof MenuBuilder ? (MenuBuilder) menu : null; in populateOptionsMenu() 542 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu() 551 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 565 private final class MenuBuilderCallback implements MenuBuilder.Callback { 568 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() 573 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorToolbar.java | 32 import com.android.internal.view.menu.MenuBuilder; 105 MenuBuilder.Callback menuBuilderCallback); in setMenuCallbacks()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 24 import com.android.internal.view.menu.MenuBuilder; 30 private MenuBuilder mMenu; 34 mMenu = new MenuBuilder(super.getContext()); in setUp()
|
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/ |
D | MenuBuilder_Delegate.java | 33 /*package*/ static MenuItemImpl createNewMenuItem(MenuBuilder thisMenu, int group, int id, in createNewMenuItem()
|