/packages/apps/Settings/src/com/android/settings/vpn/ |
VpnEditor.java | 37 import android.view.Menu; 45 private static final int MENU_SAVE = Menu.FIRST; 46 private static final int MENU_CANCEL = Menu.FIRST + 1; 81 public boolean onCreateOptionsMenu(Menu menu) { 82 super.onCreateOptionsMenu(menu); 83 menu.add(0, MENU_SAVE, 0, R.string.vpn_menu_done) 85 menu.add(0, MENU_CANCEL, 0,
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
ITableFocusListener.java | 23 * For application not relying on a RCP to provide menu changes based on focus, 25 * and update the menu action accordingly.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/ |
MenuContentAssist.java | 17 package com.android.ide.eclipse.adt.internal.editors.menu; 23 * Content Assist Processor for /res/menu XML files
|
/development/apps/Development/src/com/android/development/ |
DataList.java | 24 import android.view.Menu; 76 public boolean onCreateOptionsMenu(Menu menu) 78 super.onCreateOptionsMenu(menu); 79 menu.add(0, 0, 0, "Requery").setOnMenuItemClickListener(mRequery);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
SearchableDictionary.java | 25 import android.view.Menu; 115 public boolean onCreateOptionsMenu(Menu menu) { 117 inflater.inflate(R.menu.options_menu, menu);
|
/external/webkit/WebCore/platform/mac/ |
ContextMenuItemMac.mm | 35 static NSMutableArray* menuToArray(NSMenu* menu) 38 int total = [menu numberOfItems]; 40 [itemsArray addObject:[menu itemAtIndex:i]]; 128 void ContextMenuItem::setSubMenu(ContextMenu* menu) 130 NSArray* subMenuArray = menu->platformDescription();
|
ContextMenuMac.mm | 92 ContextMenu::ContextMenu(const HitTestResult& result, const PlatformMenuDescription menu) 94 , m_platformDescription(menu) 140 void ContextMenu::setPlatformDescription(NSMutableArray* menu) 142 if (m_platformDescription.get() != menu) 143 m_platformDescription = menu;
|
/frameworks/base/core/java/android/view/ |
SubMenu.java | 22 * Subclass of {@link Menu} for sub menus. 27 public interface SubMenu extends Menu { 79 * Change the icon associated with this submenu's item in its parent menu. 88 * Change the icon associated with this submenu's item in its parent menu. 98 * menu. Use this for setting additional item attributes.
|
/frameworks/base/docs/html/resources/articles/ |
can-i-use-this-intent.jd | 48 public boolean onPrepareOptionsMenu(Menu menu) { 53 item = menu.findItem(R.id.menu_item_add); 56 return super.onPrepareOptionsMenu(menu); 60 <p>In this example, the menu is grayed out if the <em>Barcode Scanner</em>
|
/packages/apps/IM/src/com/android/im/app/ |
ContactListActivity.java | 39 import android.view.Menu; 54 private static final int MENU_START_CONVERSATION = Menu.FIRST; 55 private static final int MENU_VIEW_PROFILE = Menu.FIRST + 1; 56 private static final int MENU_BLOCK_CONTACT = Menu.FIRST + 2; 57 private static final int MENU_DELETE_CONTACT = Menu.FIRST + 3; 58 private static final int MENU_END_CONVERSATION = Menu.FIRST + 4; 156 public boolean onCreateOptionsMenu(Menu menu) { 158 inflater.inflate(R.menu.contact_list_menu, menu); [all...] |
/packages/apps/Calendar/res/values/ |
strings.xml | 79 <!-- Menu items: --> 81 <!-- This is a label on a context menu item. Pressing this menu item displays the 84 <!-- This is a label on a context menu item. Pressing this menu item displays the 87 <!-- This is a label on a menu item. Pressing this menu item displays the 90 <!-- This is a label on a menu item. Pressing this menu item displays the 93 <!-- This is a label on a menu item. Pressing this menu item displays th [all...] |
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
PhoneWindow.java | 25 import com.android.internal.view.menu.ContextMenuBuilder; 26 import com.android.internal.view.menu.MenuBuilder; 27 import com.android.internal.view.menu.MenuDialogHelper; 28 import com.android.internal.view.menu.MenuView; 29 import com.android.internal.view.menu.SubMenuBuilder; 59 import android.view.Menu; 91 * Simple callback used by the context menu and its submenus. The options 92 * menu submenus do not use this (their behavior is more complex). 274 * Prepares the panel to either be opened or chorded. This creates the Menu 299 // Init the panel state's menu--return false if init faile 797 final MenuBuilder menu = new MenuBuilder(getContext()); local 835 final MenuBuilder menu = (MenuBuilder)st.menu; local 2563 Menu menu; field in class:PhoneWindow.PanelFeatureState [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 17 package com.android.internal.view.menu; 19 import com.android.internal.view.menu.MenuBuilder.ItemInvoker; 39 * The icon menu view is an icon-based menu usually with a subset of all the menu items. 40 * It is opened as the default menu, and shows either the first five or all six of the menu items 43 * all the menu items. 60 /** Maximum number of items to show in the icon menu. */ 90 /** Default animations for this menu */ [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsList.java | 29 import android.view.Menu; 65 /** ID of the menu item (add) */ 67 /** ID of the menu item (edit) */ 69 /** ID of the menu item (delete) */ 71 /** ID of the menu item (initialize) */ 98 private Menu mMenu; 112 /** The state of "Add" menu item */ 114 /** The state of "Edit" menu item */ 116 /** The state of "Delete" menu item */ 118 /** The state of "Initialize" menu item * [all...] |
/packages/apps/Phone/src/com/android/phone/ |
InCallMenuView.java | 35 * (i.e. the standard menu triggered by the MENU button.) 37 * This class purely handles the layout and display of the in-call menu 38 * items, *not* the actual contents of the menu or the states of the 66 * The actual layout of items in the menu, organized into 3 rows. 81 * menu items. 141 // the in-call menu (i.e. when in touch mode). 150 // But in the Menu framework, when returning a view from 152 // that you want the smaller-sized "More" menu frame. We want the 153 // full-screen-width menu frame instead, though, so we need t [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmClock.java | 34 import android.view.Menu; 251 public void onCreateContextMenu(ContextMenu menu, View view, 253 // Inflate the menu from xml. 254 getMenuInflater().inflate(R.menu.context_menu, menu); 275 // Set the custom view on the menu. 276 menu.setHeaderView(v); 279 menu.findItem(R.id.enable_alarm).setTitle(R.string.disable_alarm); 302 public boolean onCreateOptionsMenu(Menu menu) { [all...] |
/packages/apps/Browser/res/values/ |
strings.xml | 21 <!-- Name of menu item of a new tab. Also used in the title bar when displaying a new tab --> 23 <!-- Name of menu item which brings up a list of the currently active tabs --> 69 <!-- Menu item --> 123 <!-- Menu item to stop the current page from loading. --> 125 <!-- Menu item to reload or refresh the current page. --> 127 <!-- Menu item to go back to the previous page --> 129 <!-- Menu item to go to the next page (only useful if the user has previously hit back.) --> 141 <!-- Menu item that opens a dialog to save a bookmark, initialized with the current page --> 143 <!-- Menu item on the bookmarks page, to edit an existing bookmark --> 145 <!-- Context menu item to create a shortcut to the bookmark on the desktop -- [all...] |
/external/webkit/WebCore/platform/chromium/ |
PopupMenuChromium.h | 45 // A container for the data for each menu item (e.g. represented by <option> 84 // Whether the selection should be accepted when the popup menu is 99 // A hint on the display directionality of the item text in popup menu. 107 // Use the DOM element's directionality to display the item text in popup menu. 110 // to display the item text in popup menu. 163 // The menu per-item data. 166 // The height of a row in the menu.
|
/external/webkit/WebKit/gtk/WebCoreSupport/ |
ContextMenuClientGtk.cpp | 55 g_object_get(settings, "gtk-show-input-method-menu", &showMenu, NULL); 92 // GtkUnicodeMenuEntry* entry = (GtkUnicodeMenuEntry*)g_object_get_data(G_OBJECT(widget), "gtk-unicode-menu-entry"); 103 g_object_get(settings, "gtk-show-unicode-menu", &showMenu, NULL); 115 g_object_set_data(G_OBJECT(menuitem), "gtk-unicode-menu-entry", (gpointer)&bidi_menu_entries[i]); 128 PlatformMenuDescription ContextMenuClient::getCustomMenuFromDefaultItems(ContextMenu* menu) 130 GtkMenu* gtkmenu = menu->releasePlatformDescription(); 132 HitTestResult result = menu->hitTestResult();
|
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.view.Menu.html | 10 android.view.Menu 74 Interface android.view.<A HREF="../../../../reference/android/view/Menu.html" target="_top"><font size="+2"><code>Menu</code></font></A> 86 <A NAME="android.view.Menu.close_added()"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/view/Menu.html#close()" target="_top"><code>close</code></A>()</nobr> 93 <A NAME="android.view.Menu.getItem_added(int)"></A> 94 <nobr><code>MenuItem</code> <A HREF="../../../../reference/android/view/Menu.html#getItem(int)" target="_top"><code>getItem</code></A>(<code>int</code>)</nobr>
|
/packages/apps/Camera/src/com/android/camera/ |
MenuHelper.java | 32 import android.view.Menu; 41 * A utility class to handle various kinds of menu operations. 119 static void addSwitchModeMenuItem(Menu menu, boolean switchToVideo, 127 MenuItem item = menu.add(Menu.NONE, Menu.NONE,
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MessagingPreferenceActivity.java | 38 import android.view.Menu; 62 // Menu entries 132 public boolean onCreateOptionsMenu(Menu menu) { 133 super.onCreateOptionsMenu(menu); 134 menu.clear(); 135 menu.add(0, MENU_RESTORE_DEFAULTS, 0, R.string.restore_default);
|
ManageSimMessages.java | 42 import android.view.Menu; 173 ContextMenu menu, View v, 175 menu.add(0, MENU_COPY_TO_PHONE_MEMORY, 0, 177 menu.add(0, MENU_DELETE_FROM_SIM, 0, R.string.sim_delete); 180 // menu.add(0, MENU_VIEW, 0, R.string.sim_view); 280 public boolean onPrepareOptionsMenu(Menu menu) { 281 menu.clear(); 284 menu.add(0, OPTION_MENU_DELETE_ALL, 0, R.string.menu_delete_messages).setIcon(
|
/development/samples/ApiDemos/res/values/ |
arrays.xml | 44 <item>Menu Item</item> 74 <!-- Used in app/menu examples --> 81 <!-- Used in app/menu examples -->
|
/frameworks/base/core/tests/coretests/src/android/util/ |
KeyUtils.java | 41 * Simulates tapping the menu key. 53 * Simulates chording the menu key. 56 * @param shortcutKey The shortcut key to tap while chording the menu key.
|