HomeSort by relevance Sort by last modified time
    Searched full:menu (Results 51 - 75 of 1265) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/expandablelistview/
ExpandableListSimple.java 19 import android.view.Menu;
36 public boolean onCreateOptionsMenu(Menu menu) {
38 menu.add("Add item").setOnMenuItemClickListener(new OnMenuItemClickListener() {
  /frameworks/base/tests/LocationTracker/res/menu/
menu.xml 19 <menu xmlns:android="http://schemas.android.com/apk/res/android">
28 <menu>
33 </menu>
37 </menu>
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/
MenuDescriptors.java 17 package com.android.ide.eclipse.adt.internal.editors.menu.descriptors;
32 * Complete description of the menu structure.
36 public static final String MENU_ROOT_ELEMENT = "menu"; //$NON-NLS-1$
60 // There are 3 elements: menu, item and group.
61 // The root element MUST be a menu.
62 // A top menu can contain items or group:
65 // A sub menu can contains sub items or sub groups:
72 "Menu", // uiName,
79 // -- sub menu can have sub_items, sub_groups but not sub_menus
99 "Sub-Menu", // uiName
    [all...]
  /cts/tests/res/menu/
checkable.xml 17 <menu xmlns:android="http://schemas.android.com/apk/res/android">
26 <menu>
38 </menu>
42 <menu>
55 </menu>
59 <menu>
71 </menu>
76 <menu>
89 </menu>
92 </menu>
    [all...]
browser.xml 17 <menu xmlns:android="http://schemas.android.com/apk/res/android">
24 </menu>
  /development/samples/ApiDemos/res/menu/
checkable.xml 17 <menu xmlns:android="http://schemas.android.com/apk/res/android">
26 <menu>
38 </menu>
42 <menu>
55 </menu>
59 <menu>
71 </menu>
75 <menu>
88 </menu>
91 </menu>
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
Notepadv3.java 24 import android.view.Menu;
36 private static final int INSERT_ID = Menu.FIRST;
37 private static final int DELETE_ID = Menu.FIRST + 1;
69 public boolean onCreateOptionsMenu(Menu menu) {
70 super.onCreateOptionsMenu(menu);
71 menu.add(0, INSERT_ID, 0, R.string.menu_insert);
87 public void onCreateContextMenu(ContextMenu menu, View v,
89 super.onCreateContextMenu(menu, v, menuInfo);
90 menu.add(0, DELETE_ID, 0, R.string.menu_delete)
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
CommandParams.java 125 Menu menu = null; field in class:SelectItemParams
128 SelectItemParams(CommandDetails cmdDet, Menu menu, boolean loadTitleIcon) {
130 this.menu = menu;
135 if (icon != null && menu != null) {
136 if (loadTitleIcon && menu.titleIcon == null) {
137 menu.titleIcon = icon;
139 for (Item item : menu.items)
    [all...]
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java 23 import android.view.Menu;
58 public boolean onCreateOptionsMenu(Menu menu) {
60 inflater.inflate(R.menu.options_menu, menu);
  /packages/apps/Stk/src/com/android/stk/
StkMenuActivity.java 35 import com.android.internal.telephony.gsm.stk.Menu;
39 * ListActivity used for displaying STK menus. These can be SET UP MENU and
41 * menu content.
46 private Menu mStkMenu = null;
184 public boolean onCreateOptionsMenu(android.view.Menu menu) {
185 super.onCreateOptionsMenu(menu);
186 menu.add(0, StkApp.MENU_ID_END_SESSION, 1, R.string.menu_end_session);
187 menu.add(0, StkApp.MENU_ID_HELP, 2, R.string.help);
192 public boolean onPrepareOptionsMenu(android.view.Menu menu)
    [all...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader2.java 23 import android.view.Menu;
91 // Add our initial menu options. We will tweak this menu when it's loaded swap out
94 public boolean onCreateOptionsMenu(Menu menu){
97 super.onCreateOptionsMenu(menu);
99 menu.add(0, 0, "Start RSS Service", null);
100 menu.add(0, 1, "Stop RSS Service", null);
101 menu.add(0, 2, "Add New Feed", null);
102 menu.add(0, 3, "Delete Feed", null)
    [all...]
MyRssReader3.java 24 import android.view.Menu;
73 // Add our initial menu options. We will tweak this menu when it's loaded swap out
76 public boolean onCreateOptionsMenu(Menu menu)
80 super.onCreateOptionsMenu(menu);
82 menu.add(0, 0, R.string.menu_option_start, null);
83 menu.add(0, 1, R.string.menu_option_stop, null);
84 menu.add(0, 2, R.string.menu_option_add, null);
85 menu.add(0, 3, R.string.menu_option_delete, null)
    [all...]
MyRssReader4.java 24 import android.view.Menu;
84 // Add our initial menu options. We will tweak this menu when it's loaded swap out
87 public boolean onCreateOptionsMenu(Menu menu){
90 super.onCreateOptionsMenu(menu);
92 menu.add(0, 0, R.string.menu_option_start, null);
93 menu.add(0, 1, R.string.menu_option_stop, null);
94 menu.add(0, 2, R.string.menu_option_add, null);
95 menu.add(0, 3, R.string.menu_option_delete, null)
    [all...]
  /frameworks/base/core/java/android/view/
Menu.java 24 * Interface for managing the items in a menu.
26 * By default, every Activity supports an options menu of actions or options.
27 * You can add items to this menu and handle clicks on your additions. The
28 * easiest way of adding menu items is inflating an XML file into the
29 * {@link Menu} via {@link MenuInflater}. The easiest way of attaching code to
33 * Different menu types support different features:
39 * <b>expanded menus</b> (only available if six or more menu items are visible,
40 * reached via the 'More' item in the icon menu) do not show item icons, and
45 public interface Menu {
112 * any existing menu items in the same group
    [all...]
  /packages/apps/IM/src/com/android/im/app/
LandingPage.java 35 import android.view.Menu;
52 private static final int ID_SIGN_IN = Menu.FIRST + 1;
53 private static final int ID_SIGN_OUT = Menu.FIRST + 2;
54 private static final int ID_EDIT_ACCOUNT = Menu.FIRST + 3;
55 private static final int ID_REMOVE_ACCOUNT = Menu.FIRST + 4;
56 private static final int ID_SIGN_OUT_ALL = Menu.FIRST + 5;
57 private static final int ID_ADD_ACCOUNT = Menu.FIRST + 6;
58 private static final int ID_VIEW_CONTACT_LIST = Menu.FIRST + 7;
59 private static final int ID_SETTINGS = Menu.FIRST + 8;
209 public boolean onPrepareOptionsMenu(Menu menu)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuItemImpl.java 17 package com.android.internal.view.menu;
33 import com.android.internal.view.menu.MenuView.ItemView;
60 /** The (cached) menu item views for this item */
63 /** The menu to which this item belongs */
65 /** If this item should launch a sub menu, this is the sub menu to launch */
82 * Current use case is for context menu: Extra information linked to the
83 * View that added this item to the context menu.
94 * Instantiates this menu item. The constructor
98 * @param menu
    [all...]
SubMenuBuilder.java 17 package com.android.internal.view.menu;
21 import android.view.Menu;
27 * The model for a sub menu, which is an extension of the menu. Most methods are proxied to
28 * the parent menu.
61 public Menu getParentMenu() {
  /bootable/recovery/
recovery_ui.h 37 // true if the recovery menu is being shown. Implementations can call
41 // - move the menu highlight (HIGHLIGHT_*)
44 // - invoke a specific action (a menu position: any non-negative number)
47 // Perform a recovery action selected from the menu. 'which' will be
48 // the item number of the selected menu item, or a non-negative number
49 // returned from device_handle_key(). The menu will be hidden when
57 // menu.) Can perform whatever device-specific wiping actions are
73 // Header text to display above the main menu.
76 // Text of menu items.
  /development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
Notepadv2.java 24 import android.view.Menu;
35 private static final int INSERT_ID = Menu.FIRST;
36 private static final int DELETE_ID = Menu.FIRST + 1;
69 public boolean onCreateOptionsMenu(Menu menu) {
70 super.onCreateOptionsMenu(menu);
71 menu.add(0, INSERT_ID,0, R.string.menu_insert);
87 public void onCreateContextMenu(ContextMenu menu, View v,
89 super.onCreateContextMenu(menu, v, menuInfo);
  /external/webkit/WebCore/platform/win/
ContextMenuWin.cpp 46 ContextMenu::ContextMenu(const HitTestResult& result, const PlatformMenuDescription menu)
50 setPlatformDescription(menu);
81 static ContextMenuItem* contextMenuItemByIdOrPosition(HMENU menu, unsigned id, BOOL byPosition)
83 if (!menu)
95 if (!::GetMenuItemInfo(menu, id, byPosition, info)) {
108 ::GetMenuItemInfo(menu, id, byPosition, info);
124 void ContextMenu::setPlatformDescription(HMENU menu)
126 if (menu == m_platformDescription)
132 m_platformDescription = menu;
  /development/apps/FontLab/src/com/android/fontlab/
FontLab.java 28 import android.view.Menu;
176 private void addFontMenu(Menu menu, int index) {
177 MenuItem item = menu.add(0, index, 0, sTypefaceName[index]);
191 private void addStyleMenu(Menu menu, int style, char shortCut) {
192 MenuItem item = menu.add(0, style, 0, (style == Typeface.BOLD) ? "Bold" : "Italic");
214 void addFlagMenu(Menu menu, int paintFlag, String label, char shortCut) {
215 MenuItem item = menu.add(0, paintFlag, 0, label)
    [all...]
  /external/webkit/WebKit/mac/WebCoreSupport/
WebKeyGenerator.m 55 UI_STRING("2048 (High Grade)", "Menu item title for KEYGEN pop-up menu"),
56 UI_STRING("1024 (Medium Grade)", "Menu item title for KEYGEN pop-up menu"),
57 UI_STRING("512 (Low Grade)", "Menu item title for KEYGEN pop-up menu"), nil];
  /sdk/ddms/app/src/com/android/ddms/
DropdownSelectionListener.java 27 import org.eclipse.swt.widgets.Menu;
35 private Menu mMenu;
39 * Basic constructor. Creates an empty Menu to hold items.
43 mMenu = new Menu(item.getParent().getShell(), SWT.POP_UP);
47 * Add an item to the dropdown menu.
68 // arrow clicked, show menu
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchInvoke.java 26 import android.view.Menu;
45 // Menu mode spinner choices
77 // Create listener for the menu mode dropdown. We use this to demonstrate control
106 * Called when your activity's options menu needs to be updated.
109 public boolean onPrepareOptionsMenu(Menu menu) {
110 super.onPrepareOptionsMenu(menu);
114 menu.removeItem(0);
115 menu.removeItem(1);
117 // next, add back item(s) based on current menu mod
    [all...]
  /cts/tests/src/android/app/cts/
InstrumentationTestActivity.java 26 import android.view.Menu;
165 public boolean onMenuOpened(int featureId, Menu menu) {
167 return super.onMenuOpened(featureId, menu);
171 public boolean onCreateOptionsMenu(Menu menu) {
172 super.onCreateOptionsMenu(menu);
174 inflater.inflate(R.menu.browser, menu);
176 menu.add("title")
    [all...]

Completed in 446 milliseconds

1 23 4 5 6 7 8 91011>>