/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPresenter.java | 41 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu() 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 | 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 | BaseMenuPresenter.java | 63 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) { in initForMenu() 203 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 209 public boolean onSubMenuSelected(SubMenuBuilder menu) { in onSubMenuSelected() 220 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { in expandItemActionView() 224 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { in collapseItemActionView()
|
D | MenuDialogHelper.java | 41 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper() 53 final MenuBuilder menu = mMenu; in show() local 152 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
|
D | MenuPopupHelper.java | 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 | CascadingMenuPopup.java | 341 public void addMenu(MenuBuilder menu) { in addMenu() 356 private void showMenu(@NonNull MenuBuilder menu) { in showMenu() 606 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu() 618 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 739 public final MenuBuilder menu; field in CascadingMenuPopup.CascadingMenuInfo 742 public CascadingMenuInfo(@NonNull MenuPopupWindow window, @NonNull MenuBuilder menu, in CascadingMenuInfo()
|
D | ListMenuPresenter.java | 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()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewContextMenuTest.java | 111 ContextMenu menu = mock(ContextMenu.class); in testNoMenuInteraction_noTextClassification() local 125 ContextMenu menu = mock(ContextMenu.class); in testAddMenuForTextClassification() local 156 ContextMenu menu = mock(ContextMenu.class); in testAddMenuForLegacyTextClassification() local 180 ContextMenu menu = mock(ContextMenu.class); in testAdjustIconSpaces() local 222 ContextMenu menu = mock(ContextMenu.class); in testAdjustIconSpacesNoIconCase() local
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ListContextMenu.java | 91 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 123 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() 177 public void onOptionsMenuClosed(Menu menu) { in onOptionsMenuClosed() 189 public void onContextMenuClosed(Menu menu) { in onContextMenuClosed()
|
/frameworks/base/core/java/android/view/ |
D | WindowCallbackWrapper.java | 77 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() 82 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() 87 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() 122 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() 158 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { in onProvideKeyboardShortcuts()
|
/frameworks/base/core/java/android/widget/ |
D | MenuItemHoverListener.java | 24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit() 32 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
|
D | MenuPopupWindow.java | 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() local
|
/frameworks/base/core/java/com/android/internal/view/ |
D | StandaloneActionMode.java | 133 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { in onMenuItemSelected() 137 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu() 149 public void onCloseSubMenu(SubMenuBuilder menu) { in onCloseSubMenu() 152 public void onMenuModeChange(MenuBuilder menu) { in onMenuModeChange()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowCallback.java | 66 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() 71 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() 76 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() 111 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | PhoneWindowActionModeTest.java | 217 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() 222 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() 227 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() 252 public void onPanelClosed(int featureId, Menu menu) {} in onPanelClosed() 299 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 307 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | ObservableActivity.java | 94 public boolean onCreateOptionsMenu(final Menu menu) { in onCreateOptionsMenu() 103 public boolean onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
D | ObservableDialogFragment.java | 89 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 95 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
D | ObservableFragment.java | 103 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 110 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
D | ObservablePreferenceFragment.java | 114 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 121 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuScenario.java | 59 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 88 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 103 protected MenuItem onAddMenuItem(Menu menu, int itemPosition) { in onAddMenuItem()
|
/frameworks/base/core/java/android/webkit/ |
D | FindActionModeCallback.java | 211 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() 242 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 305 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() 310 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 97 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 102 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | WindowDecorActionBarTest.java | 81 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 91 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 97 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 102 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 1002 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { in onCreatePanelMenu() 1014 public boolean onPreparePanel(int featureId, @Nullable View view, @NonNull Menu menu) { in onPreparePanel() 1025 public boolean onMenuOpened(int featureId, @NonNull Menu menu) { in onMenuOpened() 1044 public void onPanelClosed(int featureId, @NonNull Menu menu) { in onPanelClosed() 1058 public boolean onCreateOptionsMenu(@NonNull Menu menu) { in onCreateOptionsMenu() 1070 public boolean onPrepareOptionsMenu(@NonNull Menu menu) { in onPrepareOptionsMenu() 1084 public void onOptionsMenuClosed(@NonNull Menu menu) { in onOptionsMenuClosed() 1118 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() 1152 public void onContextMenuClosed(@NonNull Menu menu) { in onContextMenuClosed()
|