Home
last modified time | relevance | path

Searched defs:menu (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPresenter.java41 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()
DMenuPopup.java54 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()
DBaseMenuPresenter.java63 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()
DMenuDialogHelper.java41 public MenuDialogHelper(MenuBuilder menu) { in MenuDialogHelper()
53 final MenuBuilder menu = mMenu; in show() local
152 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
DMenuPopupHelper.java59 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()
DCascadingMenuPopup.java341 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()
DListMenuPresenter.java81 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/
DTextViewContextMenuTest.java111 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/
DListContextMenu.java91 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/
DWindowCallbackWrapper.java77 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/
DMenuItemHoverListener.java24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverExit()
32 void onItemHoverEnter(@NonNull MenuBuilder menu, @NonNull MenuItem item); in onItemHoverEnter()
DMenuPopupWindow.java77 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/
DStandaloneActionMode.java133 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/
DWindowCallback.java66 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/
DPhoneWindowActionModeTest.java217 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/
DObservableActivity.java94 public boolean onCreateOptionsMenu(final Menu menu) { in onCreateOptionsMenu()
103 public boolean onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservableDialogFragment.java89 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
95 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservableFragment.java103 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
110 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservablePreferenceFragment.java114 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/
DMenuScenario.java59 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/
DFindActionModeCallback.java211 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/
DPhotoViewActivity.java97 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/
DWindowDecorActionBarTest.java81 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/
DPhotoViewActivity.java97 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
102 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/frameworks/base/core/java/android/app/
DDialog.java1002 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()

12345