Home
last modified time | relevance | path

Searched refs:menu (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/toybox/kconfig/
Dmenu.c12 struct menu rootmenu;
13 static struct menu **last_entry_ptr;
18 static void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument
22 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn()
46 struct menu *menu; in menu_add_entry() local
48 menu = malloc(sizeof(*menu)); in menu_add_entry()
49 memset(menu, 0, sizeof(*menu)); in menu_add_entry()
50 menu->sym = sym; in menu_add_entry()
51 menu->parent = current_menu; in menu_add_entry()
52 menu->file = current_file; in menu_add_entry()
[all …]
Dmconf.c278 static struct menu *current_menu;
282 static void conf(struct menu *menu);
283 static void conf_choice(struct menu *menu);
284 static void conf_string(struct menu *menu);
289 static void show_help(struct menu *menu);
329 struct menu *submenu[8], *menu; in get_prompt_str() local
332 str_printf(r, " Defined at %s:%d\n", prop->menu->file->name, in get_prompt_str()
333 prop->menu->lineno); in get_prompt_str()
339 menu = prop->menu->parent; in get_prompt_str()
340 for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent) in get_prompt_str()
[all …]
Dconf.c17 static void conf(struct menu *menu);
18 static void check_conf(struct menu *menu);
36 static struct menu *rootEntry;
171 int conf_string(struct menu *menu) in conf_string() argument
173 struct symbol *sym = menu->sym; in conf_string()
177 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
190 if (menu->sym->help) in conf_string()
191 help = menu->sym->help; in conf_string()
192 printf("\n%s\n", menu->sym->help); in conf_string()
205 static int conf_sym(struct menu *menu) in conf_sym() argument
[all …]
Dlkc_proto.h10 P(rootmenu,struct menu,);
12 P(menu_is_visible,bool,(struct menu *menu));
13 P(menu_get_prompt,const char *,(struct menu *menu));
14 P(menu_get_root_menu,struct menu *,(struct menu *menu));
15 P(menu_get_parent_menu,struct menu *,(struct menu *menu));
Dconfdata.c382 struct menu *next_menu(struct menu *menu) in next_menu() argument
384 if (menu->list) return menu->list; in next_menu()
386 if (menu->next) { in next_menu()
387 menu = menu->next; in next_menu()
390 } while ((menu = menu->parent)); in next_menu()
392 return menu; in next_menu()
401 struct menu *menu; in conf_write() local
465 for (menu = rootmenu.list; menu; menu = next_menu(menu)) in conf_write()
466 if (menu->sym) menu->sym->flags |= SYMBOL_FORCEWRITE; in conf_write()
474 menu = rootmenu.list; in conf_write()
[all …]
/external/toybox/kconfig/lxdialog/
Dmenubox.c105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
189 WINDOW *dialog, *menu; in dialog_menu() local
232 menu = subwin(dialog, menu_height, menu_width, in dialog_menu()
234 keypad(menu, TRUE); in dialog_menu()
271 wnoutrefresh(menu); in dialog_menu()
277 wmove(menu, choice, item_x + 1); in dialog_menu()
278 wrefresh(menu); in dialog_menu()
281 key = wgetch(menu); in dialog_menu()
314 do_scroll(menu, &scroll, -1); in dialog_menu()
326 do_scroll(menu, &scroll, 1); in dialog_menu()
[all …]
/external/autotest/frontend/client/src/autotest/common/ui/
DContextMenu.java14 private AutoHideMenu menu = new AutoHideMenu(); field in ContextMenu
48 menu.setAutoOpen(true); in ContextMenu()
50 popup.add(menu); in ContextMenu()
55 menu.addStyleName("menubar-hand-cursor"); in setUseHandCursor()
57 menu.removeStyleName("menubar-hand-cursor"); in setUseHandCursor()
61 menu.addItem(text, new CommandWrapper(cmd)); in addItem()
66 menu.addItem(text, subMenu); in addSubMenuItem()
89 menu.setEnabled(enabled); in setEnabled()
/external/autotest/frontend/client/src/autotest/afe/
DHostListView.java137 ContextMenu menu = new ContextMenu(); in getActionMenu() local
138 menu.addItem("Reverify hosts", new Command() { in getActionMenu()
143 menu.addItem("Lock hosts for testing", new Command() { in getActionMenu()
148 menu.addItem("Lock hosts for recovery", new Command() { in getActionMenu()
153 menu.addItem("Lock hosts for resource exclusion", new Command() { in getActionMenu()
158 menu.addItem("Lock hosts for defects", new Command() { in getActionMenu()
163 menu.addItem("Unlock hosts", new Command() { in getActionMenu()
168 menu.addItem("Reinstall hosts", new Command() { in getActionMenu()
175 menu.setEnabled(false); in getActionMenu()
176 return menu; in getActionMenu()
/external/libcxxabi/www/
Dmenu.css5 [id=menu] { selector
17 /* menu style */
20 #menu .submenu {
25 #menu label {
31 #menu a {
37 #menu a:visited {
/external/compiler-rt/www/
Dmenu.css5 [id=menu] { selector
17 /* menu style */
20 #menu .submenu {
25 #menu label {
31 #menu a {
37 #menu a:visited {
/external/libcxx/www/
Dmenu.css5 [id=menu] { selector
17 /* menu style */
20 #menu .submenu {
25 #menu label {
31 #menu a {
37 #menu a:visited {
/external/clang/www/
Dmenu.css5 [id=menu] { selector
17 /* menu style */
20 #menu .submenu {
25 #menu label {
31 #menu a {
37 #menu a:visited {
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMenuInflaterTest.java20 TestMenu menu = new TestMenu(Robolectric.application); in canRetrieveMenuListAndFindMenuItemById() local
21 new MenuInflater(Robolectric.application).inflate(R.menu.test, menu); in canRetrieveMenuListAndFindMenuItemById()
23 TestMenuItem testMenuItem = (TestMenuItem) menu.getItem(0); in canRetrieveMenuListAndFindMenuItemById()
27 testMenuItem = (TestMenuItem) menu.getItem(1); in canRetrieveMenuListAndFindMenuItemById()
31 assertNotNull(menu.findItem(R.id.test_menu_1)); in canRetrieveMenuListAndFindMenuItemById()
/external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
DSkiaSampleActivity.java118 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() argument
119 getMenuInflater().inflate(R.menu.action_bar, menu); in onCreateOptionsMenu()
124 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() argument
127 ((MenuItem) menu.findItem(R.id.glcontext_menu)) in onPrepareOptionsMenu()
134 ((MenuItem) menu.findItem(R.id.glcontext_opengles)) in onPrepareOptionsMenu()
137 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengles)) in onPrepareOptionsMenu()
140 ((MenuItem) menu.findItem(R.id.glcontext_opengl)) in onPrepareOptionsMenu()
143 ((MenuItem) menu.findItem(R.id.glcontext_msaa4_opengl)) in onPrepareOptionsMenu()
/external/skia/experimental/DrawingBoard/
DSampleDrawingClient.cpp61 virtual void requestMenu(SkOSMenu* menu) { in requestMenu() argument
62 menu->setTitle("Drawing Client"); in requestMenu()
63 menu->appendTextField("Server IP", "Server IP", this->getSinkID(), in requestMenu()
65 menu->appendSwitch("Vector", "Vector", this->getSinkID(), fVector); in requestMenu()
66 menu->appendSlider("Brush Size", "Brush Size", this->getSinkID(), 1.0, in requestMenu()
68 menu->appendSwitch("Anti-Aliasing", "AA", this->getSinkID(), fAA); in requestMenu()
69 menu->appendSwitch("Show Color Palette", "Palette", this->getSinkID(), in requestMenu()
71 menu->appendSwitch("Sync", "Sync", this->getSinkID(), fSync); in requestMenu()
72 menu->appendAction("Clear", this->getSinkID()); in requestMenu()
/external/skia/src/views/mac/
Dskia_mac.mm96 NSMenu* menu=[[NSMenu alloc] initWithTitle:@"AMainMenu"];
100 //Create the application menu.
102 [menu addItem:item];
104 [menu setSubmenu:subMenu forItem:item];
111 //Add the menu to the app.
112 [app setMenu:menu];
118 [menu release];
DSkNSView.h18 - (void) view:(SkNSView*)view didAddMenu:(const SkOSMenu*)menu;
19 - (void) view:(SkNSView*)view didUpdateMenu:(const SkOSMenu*)menu;
44 - (void)onAddMenu:(const SkOSMenu*)menu;
45 - (void)onUpdateMenu:(const SkOSMenu*)menu;
/external/opencv3/samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/
DCameraCalibrationActivity.java111 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() argument
112 super.onCreateOptionsMenu(menu); in onCreateOptionsMenu()
113 getMenuInflater().inflate(R.menu.calibration, menu); in onCreateOptionsMenu()
119 public boolean onPrepareOptionsMenu (Menu menu) { in onPrepareOptionsMenu() argument
120 super.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
121 menu.findItem(R.id.preview_mode).setEnabled(true); in onPrepareOptionsMenu()
123 menu.findItem(R.id.preview_mode).setEnabled(false); in onPrepareOptionsMenu()
/external/okhttp/website/static/
Dapp.css27 header menu {
32 header menu ul {
37 header menu li {
43 header menu li a {
51 header menu li a:hover {
55 header menu li a img {
175 header menu {
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java170 JMenu menu = getJMenuBar().getMenu(1); in setMatchMenu() local
173 menu.removeAll(); in setMatchMenu()
180 menu.add(menuItem); in setMatchMenu()
392 JMenu menu = new JMenu("File"); in makeMenus() local
398 menu.add(mi); in makeMenus()
406 menu.add(mi); in makeMenus()
411 menu.add(mi); in makeMenus()
414 mbar.add(menu); in makeMenus()
416 menu = new JMenu("Detected Encodings"); in makeMenus()
417 mbar.add(menu); in makeMenus()
/external/testng/doc/
Dtestng.css85 #menu {
92 #menu li {
96 #menu li li {
101 #menu li.submenuitems {
105 #menu a {
132 /* The following rules apply to the top menu */
/external/skia/experimental/iOSSampleApp/Shared/
DSkUIView.h22 - (void) view:(SkUIView*)view didAddMenu:(const SkOSMenu*)menu;
23 - (void) view:(SkUIView*)view didUpdateMenu:(SkOSMenu*)menu;
42 - (void)onAddMenu:(const SkOSMenu*)menu;
43 - (void)onUpdateMenu:(SkOSMenu*)menu;
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/
DFutureActivity.java121 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
123 mTask.onCreateContextMenu(menu, v, menuInfo); in onCreateContextMenu()
128 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() argument
129 super.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
133 return mTask.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java210 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
211 menu.add(Menu.NONE, MenuId.RENAME.getId(), Menu.NONE, "Rename"); in onCreateContextMenu()
212 menu.add(Menu.NONE, MenuId.DELETE.getId(), Menu.NONE, "Delete"); in onCreateContextMenu()
269 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() argument
270 super.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
271 menu.clear(); in onPrepareOptionsMenu()
273 buildAddMenu(menu); in onPrepareOptionsMenu()
274 buildSwitchActivityMenu(menu); in onPrepareOptionsMenu()
275 menu.add(Menu.NONE, MenuId.SEARCH.getId(), Menu.NONE, "Search").setIcon( in onPrepareOptionsMenu()
277 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
[all …]
DInterpreterManager.java107 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() argument
108 menu.clear(); in onPrepareOptionsMenu()
109 buildInstallLanguagesMenu(menu); in onPrepareOptionsMenu()
110 menu.add(Menu.NONE, MenuId.NETWORK.getId(), Menu.NONE, "Start Server").setIcon( in onPrepareOptionsMenu()
112 menu.add(Menu.NONE, MenuId.PREFERENCES.getId(), Menu.NONE, "Preferences").setIcon( in onPrepareOptionsMenu()
114 return super.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
117 private void buildInstallLanguagesMenu(Menu menu) { in buildInstallLanguagesMenu() argument
119 menu.addSubMenu(Menu.NONE, MenuId.ADD.getId(), Menu.NONE, "Add").setIcon( in buildInstallLanguagesMenu()

12345678910>>...14