Home
last modified time | relevance | path

Searched refs:Menu (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DMenu.java31 public class Menu implements Parcelable { class
44 public Menu() { in Menu() method in Menu
59 private Menu(Parcel in) { in Menu() method in Menu
100 public static final Parcelable.Creator<Menu> CREATOR = new Parcelable.Creator<Menu>() {
102 public Menu createFromParcel(Parcel in) {
103 return new Menu(in);
107 public Menu[] newArray(int size) {
108 return new Menu[size];
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java23 import android.view.Menu;
32 private Menu mMenu;
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()
115 public Menu getMenu() { in getMenu()
DMenuLayout.java20 import android.view.Menu;
39 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/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()
DActionMode.java240 public abstract Menu getMenu(); in getMenu()
316 public boolean onCreateActionMode(ActionMode mode, Menu menu); in onCreateActionMode()
325 public boolean onPrepareActionMode(ActionMode mode, Menu menu); in onPrepareActionMode()
DMenuItem.java402 if ((alphaModifiers & Menu.SUPPORTED_MODIFIERS_MASK) == KeyEvent.META_CTRL_ON in setShortcut()
403 && (numericModifiers & Menu.SUPPORTED_MODIFIERS_MASK) == KeyEvent.META_CTRL_ON) { in setShortcut()
435 if ((numericModifiers & Menu.SUPPORTED_MODIFIERS_MASK) == KeyEvent.META_CTRL_ON) { in setNumericShortcut()
499 if ((alphaModifiers & Menu.SUPPORTED_MODIFIERS_MASK) == KeyEvent.META_CTRL_ON) { in setAlphabeticShortcut()
/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/android/widget/listview/
DListWithEmptyView.java22 import android.view.Menu;
52 public static final int MENU_ADD = Menu.FIRST + 1;
53 public static final int MENU_REMOVE = Menu.FIRST + 2;
74 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java23 import android.view.Menu;
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()
351 public Menu getMenu() { in getMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerFragment.java26 import android.view.Menu;
55 private static final int MENU_REMOVE = Menu.FIRST + 1;
114 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
115 menu.add(Menu.NONE, MENU_REMOVE, Menu.NONE, R.string.remove_from_settings); in onCreateOptionsMenu()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java27 import android.view.Menu;
154 Menu menu = popup.getMenu(); in looksClick()
157 menu.add(0, Menu.FIRST + i, Menu.NONE, looks[i]); in looksClick()
176 Menu menu = popup.getMenu(); in dataClick()
179 menu.add(0, Menu.FIRST + i, Menu.NONE, volumes[i]); in dataClick()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DWindowDecorActionBarTest.java21 import android.view.Menu;
81 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.java19 import android.view.Menu;
22 void onPrepareOptionsMenu(Menu menu); in onPrepareOptionsMenu()
DOnCreateOptionsMenu.java19 import android.view.Menu;
23 void onCreateOptionsMenu(Menu menu, MenuInflater inflater); in onCreateOptionsMenu()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java27 import android.view.Menu;
89 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
95 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservableActivity.java29 import android.view.Menu;
94 public boolean onCreateOptionsMenu(final Menu menu) { in onCreateOptionsMenu()
103 public boolean onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservableFragment.java29 import android.view.Menu;
103 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
110 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
DObservablePreferenceFragment.java29 import android.view.Menu;
114 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
121 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java25 import android.view.Menu;
97 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.java25 import android.view.Menu;
97 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
102 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java31 import android.view.Menu;
200 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/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DMyActivity.java5 import android.view.Menu;
18 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/frameworks/base/core/java/android/app/
DFragmentController.java27 import android.view.Menu;
347 public boolean dispatchCreateOptionsMenu(Menu menu, MenuInflater inflater) { in dispatchCreateOptionsMenu()
359 public boolean dispatchPrepareOptionsMenu(Menu menu) { in dispatchPrepareOptionsMenu()
396 public void dispatchOptionsMenuClosed(Menu menu) { in dispatchOptionsMenuClosed()
/frameworks/base/core/java/com/android/internal/widget/
DDecorToolbar.java25 import android.view.Menu;
72 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()
106 Menu getMenu(); in getMenu()
DDecorContentParent.java23 import android.view.Menu;
48 void setMenu(Menu menu, MenuPresenter.Callback cb); in setMenu()

12345