Searched refs:menu (Results 126 - 145 of 145) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java17 package com.android.internal.view.menu;
H A DActionMenuItemView.java17 package com.android.internal.view.menu;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItem.java17 package android.support.v7.internal.view.menu;
H A DListMenuItemView.java17 package android.support.v7.internal.view.menu;
H A DActionMenuItemView.java17 package android.support.v7.internal.view.menu;
H A DMenuItemWrapperICS.java17 package android.support.v7.internal.view.menu;
238 // Make framework menu item inflate the view
/frameworks/base/core/java/android/app/
H A DFragmentManager.java351 * Invalidate the attached activity's options menu as necessary.
1936 public boolean dispatchCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
1943 if (f.performCreateOptionsMenu(menu, inflater)) {
1968 public boolean dispatchPrepareOptionsMenu(Menu menu) { argument
1974 if (f.performPrepareOptionsMenu(menu)) {
2011 public void dispatchOptionsMenuClosed(Menu menu) { argument
2016 f.performOptionsMenuClosed(menu);
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java214 * a standard activity chooser dialog for the menu item.</p>
220 * on API level 11 or above and uses the Action Bar its menu will be recreated and rebuilt.
222 * the next time the user presses the menu key to open the options menu panel. The activity
224 * the share menu item.</li>
237 * Configure a menu item to act as a sharing action.
239 * @param menu Menu containing the item to use for sharing
240 * @param menuItemId ID of the share item within menu
244 public static void configureMenuItem(Menu menu, int menuItemId, IntentBuilder shareIntent) { argument
245 MenuItem item = menu
[all...]
H A DFragmentManager.java1992 public boolean dispatchCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
1999 if (f.performCreateOptionsMenu(menu, inflater)) {
2024 public boolean dispatchPrepareOptionsMenu(Menu menu) { argument
2030 if (f.performPrepareOptionsMenu(menu)) {
2067 public void dispatchOptionsMenuClosed(Menu menu) { argument
2072 f.performOptionsMenuClosed(menu);
/frameworks/base/core/tests/coretests/src/android/view/
H A DMenuTest.java19 import com.android.internal.view.menu.MenuBuilder;
73 // 1. Create a grouped item in the menu
/frameworks/base/core/java/android/widget/
H A DEditor.java30 import com.android.internal.view.menu.MenuBuilder;
661 // Cut/copy menu entries are not available for passwords, but being able to select all
2793 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
2796 final Context context = !legacy && menu instanceof MenuBuilder ?
2797 ((MenuBuilder) menu).getContext() :
2807 menu.add(0, TextView.ID_SELECT_ALL, 0, com.android.internal.R.string.selectAll).
2815 menu.add(0, TextView.ID_CUT, 0, com.android.internal.R.string.cut).
2824 menu.add(0, TextView.ID_COPY, 0, com.android.internal.R.string.copy).
2833 menu.add(0, TextView.ID_PASTE, 0, com.android.internal.R.string.paste).
2844 if (!mCustomSelectionActionModeCallback.onCreateActionMode(mode, menu)) {
2860 onPrepareActionMode(ActionMode mode, Menu menu) argument
[all...]
H A DAbsListView.java6187 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
6188 if (mWrapped.onCreateActionMode(mode, menu)) {
6197 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
6198 return mWrapped.onPrepareActionMode(mode, menu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java664 buf.write(menuId); // menu identifier chosen
906 private boolean removeMenu(Menu menu) { argument
908 if (menu.items.size() == 1 && menu.items.get(0) == null) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java763 popup.getMenuInflater().inflate(R.menu.recent_popup_menu, popup.getMenu());
784 public void onDismiss(PopupMenu menu) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java378 public boolean onCreateOptionsMenu(Menu menu) { argument
382 public boolean onPrepareOptionsMenu(Menu menu) { argument
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java181 * Strings for context menu. TODO: Extract the strings to strings.xml.
328 protected void onCreateContextMenu(ContextMenu menu) { argument
329 super.onCreateContextMenu(menu);
332 menu.add(0, ID_HORIZONTALLINE, 0, STR_HORIZONTALLINE).setOnMenuItemClickListener(
336 menu.add(0, ID_CLEARSTYLES, 0, STR_CLEARSTYLES)
340 menu.add(0, ID_PASTE, 0, STR_PASTE)
/frameworks/base/core/java/android/view/
H A DView.java94 import com.android.internal.view.menu.MenuBuilder;
965 * context menu.
3259 * Listener used to build the context menu.
4754 * Register a callback to be invoked when the context menu for this view is
4808 * Call this view's OnLongClickListener, if it is defined. Invokes the context menu if the
4848 * Bring up the context menu for this view.
4850 * @return Whether a context menu was displayed.
4857 * Bring up the context menu for this view, referring to the item under the specified point.
4862 * @return Whether a context menu was displayed.
7087 * context menu
9130 createContextMenu(ContextMenu menu) argument
9172 onCreateContextMenu(ContextMenu menu) argument
20072 onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) argument
[all...]
H A DViewRootImpl.java6185 public void createContextMenu(ContextMenu menu) { argument
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1957 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
1965 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
/frameworks/base/tools/aapt/
H A DResource.cpp212 || type == "color" || type == "menu" || type == "mipmap";
1193 ASSIGN_IT(menu);
1216 !applyFileOverlay(bundle, assets, &menus, "menu") ||
1330 err = makeFileResources(bundle, assets, &table, menus, "menu");
1485 ResourceDirIterator it(menus, String8("menu"));
3036 } else if ((dirName == String8("menu")) || (strncmp(dirName.string(), "menu-", 5) == 0)) {
3037 startTags.add(String8("menu"));

Completed in 625 milliseconds

123456