/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPresenter.java | 41 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 53 public boolean onOpenSubMenu(MenuBuilder subMenu); in onOpenSubMenu() 66 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu); in initForMenu() 112 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 127 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 136 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 | ExpandedMenuView.java | 20 import com.android.internal.view.menu.MenuBuilder.ItemInvoker; 35 private MenuBuilder mMenu; 54 public void initialize(MenuBuilder menu) { in initialize()
|
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 | CascadingMenuPopup.java | 72 private final List<MenuBuilder> mPendingMenus = new ArrayList<>(); 121 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 130 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 252 for (MenuBuilder menu : mPendingMenus) { in show() 341 public void addMenu(MenuBuilder menu) { in addMenu() 356 private void showMenu(@NonNull MenuBuilder menu) { in showMenu() 467 @NonNull MenuBuilder parent, @NonNull MenuBuilder submenu) { in findMenuItemForSubmenu() 488 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu() 606 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu() 618 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() [all …]
|
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 | MenuPopupHelper.java | 43 private final MenuBuilder mMenu; 59 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu) { in MenuPopupHelper() 64 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper() 69 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper() 75 public MenuPopupHelper(@NonNull Context context, @NonNull MenuBuilder menu, in MenuPopupHelper()
|
D | MenuBuilder.java | 53 public class MenuBuilder implements Menu { class 180 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); in onMenuItemSelected() 188 public void onMenuModeChange(MenuBuilder menu); in onMenuModeChange() 199 public MenuBuilder(Context context) { in MenuBuilder() method in MenuBuilder 215 public MenuBuilder setDefaultShowAsAction(int defaultShowAsAction) { in setDefaultShowAsAction() 787 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { in dispatchMenuItemSelected() 849 ((MenuBuilder)item.getSubMenu()).findItemsWithShortcutForKey(items, keyCode, event); in findItemsWithShortcutForKey() 1201 protected MenuBuilder setHeaderTitleInt(CharSequence title) { in setHeaderTitleInt() 1213 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() 1225 protected MenuBuilder setHeaderIconInt(Drawable icon) { in setHeaderIconInt() [all …]
|
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) {
|
D | StandardMenuPopup.java | 55 private final MenuBuilder mMenu; 120 public StandardMenuPopup(Context context, MenuBuilder menu, View anchorView, int popupStyleAttr, in StandardMenuPopup() 232 public void addMenu(MenuBuilder menu) { in addMenu() 310 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
|
/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 | 35 import com.android.internal.view.menu.MenuBuilder; 48 @NonNull private final MenuBuilder mMenu; 88 mMenu = new MenuBuilder(context).setDefaultShowAsAction( in FloatingActionMode() 91 mMenu.setCallback(new MenuBuilder.Callback() { in FloatingActionMode() 93 public void onMenuModeChange(MenuBuilder menu) {} in FloatingActionMode() 96 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in FloatingActionMode()
|
/frameworks/base/core/java/android/widget/ |
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 | PopupMenu.java | 32 import com.android.internal.view.menu.MenuBuilder; 46 private final MenuBuilder mMenu; 104 mMenu = new MenuBuilder(context); in PopupMenu() 105 mMenu.setCallback(new MenuBuilder.Callback() { in PopupMenu() 107 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in PopupMenu() 115 public void onMenuModeChange(MenuBuilder menu) { in PopupMenu()
|
D | ActionMenuView.java | 38 import com.android.internal.view.menu.MenuBuilder; 49 public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvoker, MenuView { 55 private MenuBuilder mMenu; 66 private MenuBuilder.Callback mMenuBuilderCallback; 629 public void initialize(@Nullable MenuBuilder menu) { in initialize() 644 mMenu = new MenuBuilder(context); in getMenu() 662 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() 672 public MenuBuilder peekMenu() { in peekMenu() 766 private class MenuBuilderCallback implements MenuBuilder.Callback { 768 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/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()
|
/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()
|