/sdk/templates/activities/BlankActivity/root/src/app_package/ |
include_onCreateOptionsMenu.java.ftl | 2 public boolean onCreateOptionsMenu(Menu menu) { 3 // Inflate the menu; this adds items to the action bar if it is present. 4 getMenuInflater().inflate(R.menu.${menuName}, menu);
|
/cts/apps/CtsVerifier/res/menu/ |
ca_menu.xml | 2 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 3 </menu>
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
context_menu_handler.js | 8 const Menu = cr.ui.Menu; 19 * The menu that we are currently showing. 20 * @type {cr.ui.Menu} 23 get menu() { 28 * Shows a menu as a context menu. 31 * @param {!cr.ui.Menu} menu The menu to show [all...] |
menu_button.js | 6 const Menu = cr.ui.Menu; 10 * Creates a new menu button element. 21 * Initializes the menu button. 27 var menu; 28 if ((menu = this.getAttribute('menu'))) 29 this.menu = menu; 31 // An event tracker for events we only connect to while the menu i [all...] |
/external/robolectric/src/test/resources/res/menu/ |
test.xml | 0 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 3 android:title="Test menu item 1" /> 5 android:title="Test menu item 2" /> 6 </menu>
|
test_withchilds.xml | 0 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 2 <item android:id="@+id/test_menu_1" android:title="Test menu item 1"> 5 <item android:id="@+id/test_menu_2" android:title="Test menu item 2" /> 6 <item android:id="@+id/test_menu_3" android:title="Test menu item 3" /> 9 <menu> 10 <item android:id="@+id/test_menu_2" android:title="Test menu item 2" /> 11 <item android:id="@+id/test_menu_3" android:title="Test menu item 3" /> 12 </menu> 14 </menu>
|
/external/clang/www/ |
menu.css | 5 [id=menu] { 10 /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */ 17 /* menu style */ 20 #menu .submenu { 25 #menu label { 31 #menu a { 37 #menu a:visited {
|
/external/compiler-rt/www/ |
menu.css | 5 [id=menu] { 10 /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */ 17 /* menu style */ 20 #menu .submenu { 25 #menu label { 31 #menu a { 37 #menu a:visited {
|
/ndk/sources/cxx-stl/llvm-libc++/www/ |
menu.css | 5 [id=menu] { 10 /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */ 17 /* menu style */ 20 #menu .submenu { 25 #menu label { 31 #menu a { 37 #menu a:visited {
|
/external/chromium/chrome/browser/ui/cocoa/ |
menu_controller_unittest.mm | 20 // A menu delegate that counts the number of times certain things are called 41 // the label/icon in the model are reflected in the menu. 66 scoped_nsobject<MenuController> menu( 68 EXPECT_EQ([[menu menu] numberOfItems], 0); 81 scoped_nsobject<MenuController> menu( 83 EXPECT_EQ([[menu menu] numberOfItems], 6); 87 NSMenuItem* itemTwo = [[menu menu] itemAtIndex:2] [all...] |
menu_button_unittest.mm | 22 - (id)initWithMenu:(NSMenu*)menu { 24 menu_.reset([menu retain]); 37 - (void)menuWillOpen:(NSMenu*)menu { 38 EXPECT_EQ(menu_.get(), menu); 45 [menu performSelector:@selector(cancelTracking) 51 - (void)menuDidClose:(NSMenu*)menu { 52 EXPECT_EQ(menu_.get(), menu); 74 NSMenu* menu = [[NSMenu alloc] initWithTitle:@""]; 75 [menu insertItemWithTitle:@"" action:nil keyEquivalent:@"" atIndex:0]; 76 [menu insertItemWithTitle:@"foo" action:nil keyEquivalent:@"" atIndex:1] [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...] |
/cts/tests/tests/view/src/android/view/cts/ |
MenuInflaterTest.java | 20 import com.android.internal.view.menu.MenuBuilder; 30 import android.view.Menu; 59 Menu menu = new MenuBuilder(mActivity); local 60 assertEquals(0, menu.size()); 62 mMenuInflater.inflate(com.android.cts.stub.R.menu.browser, menu); 63 assertNotNull(menu); 64 assertEquals(1, menu.size()); 67 mMenuInflater.inflate(0, menu); 82 Menu menu = new MenuBuilder(mActivity); local [all...] |
/sdk/templates/activities/LoginActivity/root/res/menu/ |
activity_login.xml | 0 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 5 </menu>
|
/prebuilts/gcc/linux-x86/host/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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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...] |
/packages/apps/Browser/src/com/android/browser/ |
ActivityController.java | 10 import android.view.Menu; 26 boolean onMenuOpened(int featureId, Menu menu); 28 void onOptionsMenuClosed(Menu menu); 30 void onContextMenuClosed(Menu menu); 40 boolean onCreateOptionsMenu(Menu menu); 42 boolean onPrepareOptionsMenu(Menu menu) [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...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_menu_bridge_unittest.mm | 51 void ClearBookmarkMenu(BookmarkMenuBridge* bridge, NSMenu* menu) { 52 bridge->ClearBookmarkMenu(menu); 60 NSMenu* menu) { 61 bridge->AddNodeToMenu(root, menu); 68 NSMenu* menu, 70 bridge->AddItemToMenu(command_id, message_id, node, menu, enable); 78 NSMenuItem* AddTestMenuItem(NSMenu *menu, NSString *title, SEL selector) { 83 [menu addItem:item]; 93 NSMenu* menu = bridge_->menu_.get(); 94 bridge_->UpdateMenu(menu); [all...] |
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/ |
site.xml | 18 <menu name="Overview"> 21 </menu> 23 <menu name="Examples"> 27 </menu> 29 <menu ref="reports" /> 30 <menu ref="modules" />
|
/packages/apps/Browser/src/com/android/browser/stub/ |
NullController.java | 9 import android.view.Menu; 41 public boolean onMenuOpened(int featureId, Menu menu) { 46 public void onOptionsMenuClosed(Menu menu) { 50 public void onContextMenuClosed(Menu menu) { 70 public boolean onCreateOptionsMenu(Menu menu) { 75 public boolean onPrepareOptionsMenu(Menu menu) [all...] |
/external/chromium/chrome/browser/resources/ntp4/ |
recently_closed.css | 6 #recently-closed-menu-button { 12 /* Reserve space for the menu button even when it's hidden. */ 13 #recently-closed-menu-button[hidden] { 18 #recently-closed-menu-button img { 22 .recent-menu { 26 .recent-menu-item { 47 .recent-menu-item:active, 48 .recent-menu-item:visited, 49 .recent-menu-item:link {
|
/external/webkit/Source/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);
|