/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPresenter.java | 39 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 50 public boolean onOpenSubMenu(MenuBuilder subMenu); in onOpenSubMenu() 63 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu); in initForMenu() 109 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 124 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 133 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
D | SubMenuBuilder.java | 30 public class SubMenuBuilder extends MenuBuilder implements SubMenu { 31 private MenuBuilder mParentMenu; 34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() 75 public MenuBuilder getRootMenu() { in getRootMenu() 80 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 | 34 private MenuBuilder mMenu; 39 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper() 50 final MenuBuilder menu = mMenu; in show() 148 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 158 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu()
|
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 | CascadingMenuPopup.java | 72 private final List<MenuBuilder> mPendingMenus = new LinkedList<>(); 121 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 130 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 245 for (MenuBuilder menu : mPendingMenus) { in show() 334 public void addMenu(MenuBuilder menu) { in addMenu() 349 private void showMenu(@NonNull MenuBuilder menu) { in showMenu() 460 @NonNull MenuBuilder parent, @NonNull MenuBuilder submenu) { in findMenuItemForSubmenu() 481 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu() 599 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu() 611 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuPresenter.java | 44 void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 55 boolean onOpenSubMenu(MenuBuilder subMenu); in onOpenSubMenu() 68 void initForMenu(Context context, MenuBuilder menu); in initForMenu() 114 void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 129 boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); in expandItemActionView() 138 boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item); in collapseItemActionView()
|
D | SubMenuBuilder.java | 36 public class SubMenuBuilder extends MenuBuilder implements SubMenu { 37 private MenuBuilder mParentMenu; 40 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { in SubMenuBuilder() 82 public MenuBuilder getRootMenu() { in getRootMenu() 87 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { in dispatchMenuItemSelected()
|
D | MenuPopup.java | 53 public abstract void addMenu(MenuBuilder menu); in addMenu() 96 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 106 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 111 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView() 200 protected static boolean shouldPreserveIconSpacing(MenuBuilder menu) { in shouldPreserveIconSpacing()
|
D | MenuDialogHelper.java | 36 private MenuBuilder mMenu; 41 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper() 52 final MenuBuilder menu = mMenu; in show() 149 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 159 public boolean onOpenSubMenu(MenuBuilder subMenu) { in onOpenSubMenu()
|
D | BaseMenuPresenter.java | 41 protected MenuBuilder mMenu; 68 public void initForMenu(Context context, MenuBuilder menu) { in initForMenu() 211 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 231 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 236 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | CascadingMenuPopup.java | 88 private final List<MenuBuilder> mPendingMenus = new LinkedList<>(); 137 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 146 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 261 for (MenuBuilder menu : mPendingMenus) { in show() 350 public void addMenu(MenuBuilder menu) { in addMenu() 365 private void showMenu(@NonNull MenuBuilder menu) { in showMenu() 503 @NonNull MenuBuilder parent, @NonNull MenuBuilder submenu) { in findMenuItemForSubmenu() 524 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu() 642 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu() 654 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() [all …]
|
D | ExpandedMenuView.java | 23 import android.support.v7.view.menu.MenuBuilder.ItemInvoker; 46 private MenuBuilder mMenu; 71 public void initialize(MenuBuilder menu) { in initialize()
|
/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()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | StandaloneActionMode.java | 22 import android.support.v7.view.menu.MenuBuilder; 38 public class StandaloneActionMode extends ActionMode implements MenuBuilder.Callback { 46 private MenuBuilder mMenu; 54 mMenu = new MenuBuilder(view.getContext()).setDefaultShowAsAction( in StandaloneActionMode() 139 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() 143 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 159 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | BottomNavigationPresenter.java | 26 import android.support.v7.view.menu.MenuBuilder; 38 private MenuBuilder mMenu; 48 public void initForMenu(Context context, MenuBuilder menu) { in initForMenu() 77 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {} in onCloseMenu() 85 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 90 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
/frameworks/base/core/java/android/widget/ |
D | PopupMenu.java | 30 import com.android.internal.view.menu.MenuBuilder; 43 private final MenuBuilder mMenu; 100 mMenu = new MenuBuilder(context); in PopupMenu() 101 mMenu.setCallback(new MenuBuilder.Callback() { in PopupMenu() 103 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in PopupMenu() 111 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 | 36 import com.android.internal.view.menu.MenuBuilder; 47 public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvoker, MenuView { 53 private MenuBuilder mMenu; 64 private MenuBuilder.Callback mMenuBuilderCallback; 626 public void initialize(@Nullable MenuBuilder menu) { in initialize() 641 mMenu = new MenuBuilder(context); in getMenu() 658 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() 667 public MenuBuilder peekMenu() { in peekMenu() 758 private class MenuBuilderCallback implements MenuBuilder.Callback { 760 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | PopupMenu.java | 27 import android.support.v7.view.menu.MenuBuilder; 46 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 | 23 import android.support.v7.view.menu.MenuBuilder; 43 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit() 51 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
|
D | ActionMenuView.java | 27 import android.support.v7.view.menu.MenuBuilder; 47 public class ActionMenuView extends LinearLayoutCompat implements MenuBuilder.ItemInvoker, 55 private MenuBuilder mMenu; 66 MenuBuilder.Callback mMenuBuilderCallback; 637 public void initialize(MenuBuilder menu) { in initialize() 652 mMenu = new MenuBuilder(context); in getMenu() 670 public void setMenuCallbacks(MenuPresenter.Callback pcb, MenuBuilder.Callback mcb) { in setMenuCallbacks() 680 public MenuBuilder peekMenu() { in peekMenu() 773 private class MenuBuilderCallback implements MenuBuilder.Callback { 778 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBarWrapper.java | 25 import com.android.internal.view.menu.MenuBuilder; 127 MenuBuilder menuBuilder = getMenuBuilder(); in inflateMenus() 162 abstract MenuBuilder getMenuBuilder(); in getMenuBuilder() 201 MenuBuilder menu = getMenuBuilder(); in inflateMenus() 204 decorToolbar.setMenu(new MenuBuilder(getActionMenuContext()), null); in inflateMenus() 221 MenuBuilder getMenuBuilder() { in getMenuBuilder() 222 return (MenuBuilder) mToolbar.getMenu(); in getMenuBuilder() 257 private MenuBuilder mMenuBuilder; 316 MenuBuilder getMenuBuilder() { in getMenuBuilder() 318 mMenuBuilder = new MenuBuilder(getActionMenuContext()); in getMenuBuilder()
|
/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()
|