HomeSort by relevance Sort by last modified time
    Searched refs:menu (Results 26 - 50 of 535) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
cursesm.h 42 # include <menu.h>
46 // This wraps the ITEM type of <menu.h>
142 // user supplied driver for a menu; you may derive from this class and
144 // If an action returns true, the menu will be exited. The default action
190 void _nc_xx_mnu_init(MENU *);
191 void _nc_xx_mnu_term(MENU *);
192 void _nc_xx_itm_init(MENU *);
193 void _nc_xx_itm_term(MENU *);
198 // This wraps the MENU type of <menu.h
204 MENU *menu; member in class:NCursesMenu
    [all...]
  /external/webkit/Source/WebKit/efl/ewk/
ewk_contextmenu.cpp 36 * @brief Contains the context menu data.
41 WebCore::ContextMenuController* controller; /**< the WebCore's object which is responsible for the context menu */
50 * @brief Represents one item of the context menu object.
66 * @param menu the context menu object to increase the reference count
68 void ewk_context_menu_ref(Ewk_Context_Menu* menu)
70 EINA_SAFETY_ON_NULL_RETURN(menu);
71 menu->__ref++;
77 * When the reference count it's reached 0, the menu with all items are freed.
79 * @param menu the context menu object to decrease the reference coun
349 Ewk_Context_Menu* menu; local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
UrlSelectionActionMode.java 20 import android.view.Menu;
34 public boolean onCreateActionMode(ActionMode mode, Menu menu) {
35 mode.getMenuInflater().inflate(R.menu.url_selection, menu);
57 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
MenuSourceViewerConfig.java 17 package com.android.ide.eclipse.adt.internal.editors.menu;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarUsage.java 21 import android.view.Menu;
33 * includes the action bar by default and a menu resource is used to populate the
34 * menu data itself. If you'd like to see how these things work under the hood, see
49 public boolean onCreateOptionsMenu(Menu menu) {
51 inflater.inflate(R.menu.actions, menu);
52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
58 public boolean onPrepareOptionsMenu(Menu menu) {
    [all...]
MenuInflateFromXml.java 23 import android.view.Menu;
33 * Demonstrates inflating menus from XML. There are different menu XML resources
35 * the spinner, and then hit the menu button. To choose another, back out of the
40 * Different example menu resources.
43 R.menu.title_only, R.menu.title_icon, R.menu.submenu, R.menu.groups,
44 R.menu.checkable, R.menu.shortcuts, R.menu.order, R.menu.category_order
    [all...]
ActionBarMechanics.java 20 import android.view.Menu;
27 * standard options menu. This demo is for informative purposes only; see ActionBarUsage for
46 public boolean onCreateOptionsMenu(Menu menu) {
47 // Menu items default to never show in the action bar. On most devices this means
48 // they will show in the standard options menu panel when the menu button is pressed.
50 // Action Bar that will display remaining items in a cascading menu.
51 menu.add("Normal item");
53 MenuItem actionItem = menu.add("Action Button")
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/
Notepadv1.java 21 import android.view.Menu;
34 public boolean onCreateOptionsMenu(Menu menu) {
36 return super.onCreateOptionsMenu(menu);
  /external/webkit/Source/WebKit/haiku/WebCoreSupport/
ContextMenuClientHaiku.cpp 43 PlatformMenuDescription ContextMenuClientHaiku::getCustomMenuFromDefaultItems(ContextMenu* menu)
45 return menu->platformDescription();
  /cts/tests/src/android/view/cts/
WindowStubActivity.java 24 import android.view.Menu;
41 public boolean onCreateOptionsMenu(Menu menu) {
42 menu.add(Menu.NONE, Menu.NONE, Menu.NONE, "Quit").setShortcut('1', 'q');
43 menu.add(Menu.NONE, Menu.NONE, Menu.NONE, "Action").setShortcut('2', 'a')
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Help.java 21 import android.view.Menu;
38 public void addHelpMenuItem(Menu menu, String activityName) {
39 addHelpMenuItem(menu, activityName, false);
42 public void addHelpMenuItem(Menu menu, String activityName, boolean showAsAction) {
46 inflater.inflate(R.menu.help, menu);
47 MenuItem item = menu.findItem(R.id.menu_help);
  /cts/tests/src/android/app/cts/
AppStubActivity.java 24 import android.view.Menu;
87 public void onOptionsMenuClosed(Menu menu) {
88 super.onOptionsMenuClosed(menu);
93 public boolean onPrepareOptionsMenu(Menu menu) {
95 return super.onPrepareOptionsMenu(menu);
99 public boolean onCreateOptionsMenu(Menu menu) {
101 if(menu != null
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LinearLayout8.java 25 import android.view.Menu;
38 // Menu item Ids
39 public static final int VERTICAL_ID = Menu.FIRST;
40 public static final int HORIZONTAL_ID = Menu.FIRST + 1;
42 public static final int TOP_ID = Menu.FIRST + 2;
43 public static final int MIDDLE_ID = Menu.FIRST + 3;
44 public static final int BOTTOM_ID = Menu.FIRST + 4;
46 public static final int LEFT_ID = Menu.FIRST + 5;
47 public static final int CENTER_ID = Menu.FIRST + 6;
48 public static final int RIGHT_ID = Menu.FIRST + 7
    [all...]
  /external/webkit/Source/WebCore/platform/win/
ContextMenuWin.cpp 47 ContextMenu::ContextMenu(HMENU menu)
49 getContextMenuItems(menu, m_items);
52 void ContextMenu::getContextMenuItems(HMENU menu, Vector<ContextMenuItem>& items)
57 int count = ::GetMenuItemCount(menu);
66 if (!::GetMenuItemInfo(menu, i, TRUE, &info))
79 if (::GetMenuItemInfo(menu, i, TRUE, &info))
87 HMENU menu = ::CreatePopupMenu(); local
117 ::InsertMenuW(menu, i, flags, newItem, title);
128 ::InsertMenuItem(menu, i, TRUE, &menuItem);
132 return menu;
    [all...]
  /development/samples/SkeletonApp/src/com/example/android/skeletonapp/
SkeletonActivity.java 22 import android.view.Menu;
36 static final private int BACK_ID = Menu.FIRST;
37 static final private int CLEAR_ID = Menu.FIRST + 1;
72 * Called when your activity's options menu needs to be created.
75 public boolean onCreateOptionsMenu(Menu menu) {
76 super.onCreateOptionsMenu(menu);
81 menu.add(0, BACK_ID, 0, R.string.back).setShortcut('0', 'b');
82 menu.add(0, CLEAR_ID, 0, R.string.clear).setShortcut('1', 'c');
88 * Called right before your activity's option menu is displayed
    [all...]
  /development/samples/LunarLander/src/com/example/android/lunarlander/
LunarLander.java 22 import android.view.Menu;
59 * Invoked during init to give the Activity a chance to set up its Menu.
61 * @param menu the Menu to which entries may be added
65 public boolean onCreateOptionsMenu(Menu menu) {
66 super.onCreateOptionsMenu(menu);
68 menu.add(0, MENU_START, 0, R.string.menu_start);
69 menu.add(0, MENU_STOP, 0, R.string.menu_stop);
70 menu.add(0, MENU_PAUSE, 0, R.string.menu_pause)
    [all...]
  /external/webkit/Source/WebCore/platform/haiku/
ContextMenuHaiku.cpp 36 #include <Menu.h>
46 ContextMenuReceiver(ContextMenu* menu)
48 , m_menu(menu)
59 printf("Error: Context menu item with code %i not found!\n", m_result);
112 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu)
114 if (static_cast<BMenu*>(menu) == m_platformDescription)
118 m_platformDescription = static_cast<BMenu*>(menu);
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
ActionBarActivity.java 21 import android.view.Menu;
28 * NOTE: dynamically marking menu items as invisible/visible is not currently supported.
65 * {@link Activity#onCreateOptionsMenu(android.view.Menu)}.
67 * Note: marking menu items as invisible/visible is not currently supported.
70 public boolean onCreateOptionsMenu(Menu menu) {
72 retValue |= mActionBarHelper.onCreateOptionsMenu(menu);
73 retValue |= super.onCreateOptionsMenu(menu);
  /external/chromium/chrome/browser/ui/gtk/status_icons/
status_tray_gtk_unittest.cc 36 ui::SimpleMenuModel* menu = new ui::SimpleMenuModel(NULL); local
37 menu->AddItem(0, ASCIIToUTF16("foo"));
38 icon->SetContextMenu(menu);
  /external/webkit/Source/WebCore/platform/gtk/
ContextMenuGtk.cpp 49 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu)
51 ASSERT(menu);
55 m_platformDescription = menu;
  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuWith1ItemTest.java 17 package android.view.menu;
19 import android.view.menu.MenuWith1Item;
21 import com.android.internal.view.menu.MenuBuilder;
53 // Open menu, click on an item
67 // open menu, move around to give it focus
72 // close the menu
81 // open the menu, menu item shouldn't be focused, because we are not
  /external/chromium/chrome/browser/extensions/
extension_context_menu_browsertest.cc 25 // real context menu, while still running through the actual code in
48 // Looks in the menu for an extension item with |id|, and if it is found and
65 // Searches for an menu item with |command_id|. If it's found, the return
102 // Given an extension menu item id, tries to find the corresponding command id
103 // in the menu.
142 TestRenderViewContextMenu* menu = local
144 menu->Init();
145 return menu;
180 // This creates a test menu for a page with |page_url| and |link_url|, looks
187 scoped_ptr<TestRenderViewContextMenu> menu(
    [all...]
  /external/chromium/chrome/browser/ui/views/extensions/
browser_action_overflow_menu_controller.h 14 #include "views/controls/menu/menu_delegate.h"
24 // This class handles the overflow menu for browser actions (showing the menu,
28 // The observer is notified prior to the menu being deleted.
43 // Shows the overflow menu.
46 // Closes the overflow menu (and its context menu if open as well).
55 virtual void DropMenuClosed(views::MenuItemView* menu);
57 // menu.
59 views::MenuItemView* menu,
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ListActivity.java 102 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
103 super.onCreateContextMenu(menu, v, menuInfo);
104 menu.setHeaderTitle("Context menu");
105 menu.add("List item 1");
106 menu.add("List item 2");
107 menu.add("List item 3");
TransparentListActivity.java 96 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
97 super.onCreateContextMenu(menu, v, menuInfo);
98 menu.setHeaderTitle("Context menu");
99 menu.add("List item 1");
100 menu.add("List item 2");
101 menu.add("List item 3");

Completed in 6363 milliseconds

12 3 4 5 6 7 8 91011>>