Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPresenter.java40 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing); in onCloseMenu()
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()
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.java60 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()
DCascadingMenuPopup.java335 public void addMenu(MenuBuilder menu) { in addMenu()
350 private void showMenu(@NonNull MenuBuilder menu) { in showMenu()
600 private int findIndexOfAddedMenu(@NonNull MenuBuilder menu) { in findIndexOfAddedMenu()
612 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) { in onCloseMenu()
733 public final MenuBuilder menu; field in CascadingMenuPopup.CascadingMenuInfo
736 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/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/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/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/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java89 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
95 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservableActivity.java94 public boolean onCreateOptionsMenu(final Menu menu) { in onCreateOptionsMenu()
103 public boolean 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/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/core/java/android/webkit/
DFindActionModeCallback.java200 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
231 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
294 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
299 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/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/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/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/events/
DOnPrepareOptionsMenu.java22 void onPrepareOptionsMenu(Menu menu); in onPrepareOptionsMenu()
DOnCreateOptionsMenu.java23 void onCreateOptionsMenu(Menu menu, MenuInflater inflater); in onCreateOptionsMenu()

12345