/device/samsung/crespo/ |
cypress-touchkey.kl | 1 key 139 MENU VIRTUAL
|
herring-keypad.kl | 4 key 139 MENU VIRTUAL
|
/cts/tests/tests/view/src/android/view/cts/ |
MenuInflaterTest.java | 20 import com.android.internal.view.menu.MenuBuilder; 35 import android.view.Menu; 72 notes = "Test {@link MenuInflater#inflate(int, Menu)}", 74 args = {int.class, android.view.Menu.class} 77 + "MenuInflater#inflate(int, Menu) when param menu is null") 79 Menu menu = new MenuBuilder(mActivity); local 80 assertEquals(0, menu.size()); 82 mMenuInflater.inflate(com.android.cts.stub.R.menu.browser, menu) 107 Menu menu = new MenuBuilder(mActivity); local [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 26 import android.view.Menu; 98 public boolean onCreateOptionsMenu(Menu menu) { 99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name"); 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 105 item.setTitleCondensed("Sub menu"); 110 menu.add(0, 0, 0, "Item 3"); 111 menu.add(0, 0, 0, "Item 4") [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
menu.h | 33 /* $Id: menu.h,v 1.19 2007/02/24 17:32:13 tom Exp $ */ 52 /* Menu options: */ 71 TEXT name; /* name of menu item */ 73 struct tagMENU *imenu; /* Pointer to parent menu */ 76 short index; /* Item number if connected to a menu */ 77 short y; /* y and x location of item in menu */ 108 WINDOW *win; /* Window containing menu */ 109 WINDOW *sub; /* Subwindow for menu display */ 113 short nitems; /* Nr. of items in menu */ 115 short toprow; /* Top row of menu */ [all...] |
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...] |
/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...] |
/frameworks/base/docs/html/guide/topics/ui/ |
menus.jd | 11 <li><a href="#Inflating">Inflating a Menu Resource</a> 12 <li><a href="#options-menu">Creating an Options Menu</a> 14 <li><a href="#ChangingTheMenu">Changing the menu when it opens</a></li> 17 <li><a href="#context-menu">Creating a Context Menu</a></li> 19 <li><a href="#features">Other Menu Features</a> 21 <li><a href="#groups">Menu groups</a></li> 22 <li><a href="#checkable">Checkable menu items</a></li> 24 <li><a href="#intents">Intents for menu items</a></li [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ |
Makefile | 3 cat menuhead.html menubody.html menufoot.html > menu.html
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuLayout.java | 17 package android.view.menu; 19 import android.view.menu.MenuScenario.Params; 22 import android.view.Menu; 41 public boolean onPrepareOptionsMenu(Menu menu) { 44 * This activity is meant to try a bunch of different menu layouts. So, 45 * we recreate the menu every time it is prepared. 47 menu.clear(); 48 onCreateOptionsMenu(menu);
|
MenuScenario.java | 17 package android.view.menu; 20 import com.android.internal.view.menu.MenuBuilder; 21 import com.android.internal.view.menu.MenuBuilder.MenuAdapter; 26 import android.view.Menu; 31 * Utility base class for creating various Menu scenarios. Configurable by the 32 * number of menu items. Used @link {@link ListScenario} as a reference. 36 private Menu mMenu; 64 public boolean onCreateOptionsMenu(Menu menu) { 66 mMenu = menu; [all...] |
/cts/tests/src/android/app/cts/ |
TestDialog.java | 23 import android.view.Menu; 32 private static final int OPTIONS_MENU_ITEM_0 = Menu.FIRST; 33 private static final int OPTIONS_MENU_ITEM_1 = Menu.FIRST + 1; 34 private static final int OPTIONS_MENU_ITEM_2 = Menu.FIRST + 2; 35 private static final int OPTIONS_MENU_ITEM_3 = Menu.FIRST + 3; 36 private static final int OPTIONS_MENU_ITEM_4 = Menu.FIRST + 4; 37 private static final int OPTIONS_MENU_ITEM_5 = Menu.FIRST + 5; 38 private static final int OPTIONS_MENU_ITEM_6 = Menu.FIRST + 6; 39 private static final int CONTEXT_MENU_ITEM_0 = Menu.FIRST + 7; 40 private static final int CONTEXT_MENU_ITEM_1 = Menu.FIRST + 8 [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
MenuHelper.java | 24 import android.view.Menu; 49 public static void onPrepareOptionsMenu(Activity activity, Menu menu) { 52 menu.setGroupVisible(MENU_GROUP_AGENDA, true); 53 menu.setGroupEnabled(MENU_GROUP_AGENDA, false); 55 menu.setGroupVisible(MENU_GROUP_AGENDA, true); 56 menu.setGroupEnabled(MENU_GROUP_AGENDA, true); 60 menu.setGroupVisible(MENU_GROUP_DAY, true); 61 menu.setGroupEnabled(MENU_GROUP_DAY, false); 63 menu.setGroupVisible(MENU_GROUP_DAY, true) [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...] |
/development/samples/ApiDemos/res/menu/ |
camera_menu.xml | 2 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 5 </menu>
|
/development/samples/NotePad/res/menu/ |
list_context_menu.xml | 2 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 7 </menu
|
list_options_menu.xml | 2 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 8 </menu
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
menu_design.jd | 1 page.title=Menu Design Guidelines 10 <li>An Options menu is for any commands that are global to the current activity. </li> 11 <li>A Context menu is for any commands that apply to the current selection. </li> 14 <li>The commands on the Context menu that appears when you touch & hold on an item should be duplicated on the activity you get to by a normal press on that item. 23 <li style="padding-top: 4px;"><a href=#options_menu>Options Menu</a></li> 24 <li style="padding-top: 4px;"><a href=#context_menu>Context Menu</a></li> 33 <li style="padding-top: 4px;"><a href=#dont_put_commands>Don't put commands <em>only</em> in a Context menu</li> 34 <li style="padding-top: 4px;"><a href=#first_in_context_menu>First command in Context menu should be most intuitive</li> 36 <li style="padding-top: 4px;"><a href=#context_menu_should_identify>A Context menu should identify the selected item</li> 38 <li style="padding-top: 4px;"><a href=#short_names>Use short names in Options icon menu</a></li [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MenuBar.java | 51 private Menu[] mMenus = {}; 72 public Menu[] getMenus() { 76 public void setMenus(Menu[] menus) { 81 public void updateMenu(Menu menu, int index) { 82 mMenus[index] = menu; 127 Menu[] menus = mMenus; 146 Menu menu = menus[i]; local 147 ResourceTexture icon = view.getResource(menu.icon) 175 Menu menu = mMenus[touchMenu]; local 228 Menu menu = mMenus[index]; local 308 Menu menu = mMenus[hit]; local 359 Menu menu = menus[i]; local 399 Menu menu = menus[i]; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
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...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ExpandedMenuView.java | 17 package com.android.internal.view.menu; 30 import com.android.internal.view.menu.MenuBuilder.ItemInvoker; 33 * The expanded menu view is a list-like menu with all of the available menu items. It is opened 34 * by the user clicking no the 'More' button on the icon menu view. 39 /** Default animations for this menu */ 44 * @param menu The model for the menu which this MenuView will display 56 public void initialize(MenuBuilder menu, int menuType) [all...] |
MenuDialogHelper.java | 17 package com.android.internal.view.menu; 39 public MenuDialogHelper(MenuBuilder menu) { 40 mMenu = menu; 44 * Shows menu as a dialog. 50 final MenuBuilder menu = mMenu; local 52 // Get an adapter for the menu item views 53 mAdapter = menu.getMenuAdapter(MenuBuilder.TYPE_DIALOG); 56 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()) 60 final View headerView = menu.getHeaderView(); 62 // Menu's client has given a custom header view, use i [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...] |
/external/webkit/WebCore/manual-tests/chromium/ |
onchange-reload-popup.html | 19 container.innerHTML = '<select id="menu"> \ 24 var menu = document.getElementById('menu'); 25 addEvent(menu, 'change', reloadSelect);
|
/frameworks/base/core/java/android/view/ |
MenuItem.java | 26 * Interface for direct access to a previously created menu item. 28 * An Item is returned by calling one of the {@link android.view.Menu#add} 31 * For a feature set of specific menu types, see {@link Menu}. 35 * Interface definition for a callback to be invoked when a menu item is 43 * Called when a menu item has been invoked. This is the first code 47 * @param item The menu item that was invoked. 56 * Return the identifier for this menu item. The identifier can not 57 * be changed after the menu is created. 59 * @return The menu item's identifier [all...] |