HomeSort by relevance Sort by last modified time
    Searched refs:menu (Results 101 - 125 of 1344) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
TestLibraryMainActivity.java 21 import android.view.Menu;
37 public boolean onCreateOptionsMenu(Menu menu) {
38 // Inflate the menu; this adds items to the action bar if it is present.
39 getMenuInflater().inflate(R.menu.menu_test_library_main, menu);
  /frameworks/support/design/src/android/support/design/internal/
NavigationMenu.java 23 import android.support.v7.view.menu.MenuBuilder;
24 import android.support.v7.view.menu.MenuItemImpl;
25 import android.support.v7.view.menu.SubMenuBuilder;
30 * {@link SubMenuBuilder} when a sub menu is created.
NavigationMenuView.java 23 import android.support.v7.view.menu.MenuBuilder;
24 import android.support.v7.view.menu.MenuView;
49 public void initialize(MenuBuilder menu) {
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarMechanics.java 21 import android.view.Menu;
27 * standard options menu. This demo is for informative purposes only; see ActionBarUsage for
46 public boolean onCreateOptionsMenu(Menu menu) {
47 // Menu items default to never show in the action bar. On most devices this means
48 // they will show in the standard options menu panel when the menu button is pressed.
50 // Action Bar that will display remaining items in a cascading menu.
51 menu.add("Normal item");
53 MenuItem actionItem = menu.add("Action Button")
    [all...]
MenuItemIconTinting.java 21 import android.view.Menu;
29 * This demonstrates icon tinting on menu items.
44 public boolean onCreateOptionsMenu(Menu menu) {
46 inflater.inflate(R.menu.menu_with_tinted_icons, menu);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
AppCompatMenuItemIconTintingTestActivity.java 22 import android.view.Menu;
40 public boolean onCreateOptionsMenu(Menu menu) {
42 inflater.inflate(R.menu.appcompat_menu_icon_tinting, menu);
47 public Menu getToolbarMenu() {
  /packages/apps/TV/src/com/android/tv/menu/
PlayControlsRow.java 17 package com.android.tv.menu;
31 public PlayControlsRow(Context context, TunableTvView tvView, Menu menu,
33 super(context, menu, R.string.menu_title_play_controls, R.dimen.play_controls_height);
  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
macosxSupport.py 81 Replace the Tk root menu by something that's more appropriate for
84 # The menu that is attached to the Tk root (".") is also used by AquaTk for
85 # all windows that don't specify a menu of their own. The default menubar
87 # Most annoying of those is an 'About Tck/Tk...' menu in the application
88 # menu.
91 # should only contain the correct application menu and the window menu.
94 # menu.
95 from Tkinter import Menu, Text, Text
101 menubar = Menu(root
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
macosxSupport.py 81 Replace the Tk root menu by something that's more appropriate for
84 # The menu that is attached to the Tk root (".") is also used by AquaTk for
85 # all windows that don't specify a menu of their own. The default menubar
87 # Most annoying of those is an 'About Tck/Tk...' menu in the application
88 # menu.
91 # should only contain the correct application menu and the window menu.
94 # menu.
95 from Tkinter import Menu, Text, Text
101 menubar = Menu(root
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 81 Replace the Tk root menu by something that's more appropriate for
84 # The menu that is attached to the Tk root (".") is also used by AquaTk for
85 # all windows that don't specify a menu of their own. The default menubar
87 # Most annoying of those is an 'About Tck/Tk...' menu in the application
88 # menu.
91 # should only contain the correct application menu and the window menu.
94 # menu.
95 from Tkinter import Menu, Text, Text
101 menubar = Menu(root
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 81 Replace the Tk root menu by something that's more appropriate for
84 # The menu that is attached to the Tk root (".") is also used by AquaTk for
85 # all windows that don't specify a menu of their own. The default menubar
87 # Most annoying of those is an 'About Tck/Tk...' menu in the application
88 # menu.
91 # should only contain the correct application menu and the window menu.
94 # menu.
95 from Tkinter import Menu, Text, Text
101 menubar = Menu(root
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ListActivity.java 98 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
99 super.onCreateContextMenu(menu, v, menuInfo);
100 menu.setHeaderTitle("Context menu");
101 menu.add("List item 1");
102 menu.add("List item 2");
103 menu.add("List item 3");
TransparentListActivity.java 96 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
97 super.onCreateContextMenu(menu, v, menuInfo);
98 menu.setHeaderTitle("Context menu");
99 menu.add("List item 1");
100 menu.add("List item 2");
101 menu.add("List item 3");
  /frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
PhotoViewActivity.java 25 import android.view.Menu;
97 public boolean onCreateOptionsMenu(Menu menu) {
98 return mController.onCreateOptionsMenu(menu) || super.onCreateOptionsMenu(menu);
102 public boolean onPrepareOptionsMenu(Menu menu) {
103 return mController.onPrepareOptionsMenu(menu) || super.onPrepareOptionsMenu(menu);
  /frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
PhotoViewActivity.java 25 import android.view.Menu;
97 public boolean onCreateOptionsMenu(Menu menu) {
98 return mController.onCreateOptionsMenu(menu) || super.onCreateOptionsMenu(menu);
102 public boolean onPrepareOptionsMenu(Menu menu) {
103 return mController.onPrepareOptionsMenu(menu) || super.onPrepareOptionsMenu(menu);
  /packages/apps/Settings/src/com/android/settings/core/lifecycle/
ObservableFragment.java 23 import android.view.Menu;
93 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
94 mLifecycle.onCreateOptionsMenu(menu, inflater);
95 super.onCreateOptionsMenu(menu, inflater);
100 public void onPrepareOptionsMenu(final Menu menu) {
101 mLifecycle.onPrepareOptionsMenu(menu);
102 super.onPrepareOptionsMenu(menu);
ObservablePreferenceFragment.java 24 import android.view.Menu;
103 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
104 mLifecycle.onCreateOptionsMenu(menu, inflater);
105 super.onCreateOptionsMenu(menu, inflater);
110 public void onPrepareOptionsMenu(final Menu menu) {
111 mLifecycle.onPrepareOptionsMenu(menu);
112 super.onPrepareOptionsMenu(menu);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
EmailCopyContextMenu.java 44 * <li>res/menu/email_copy_context_menu.xml</li>
49 // IDs for displaying in the menu
95 * Creates context menu via MenuInflater and populates with items defined
96 * in res/menu/email_copy_context_menu.xml
99 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo info) {
102 inflater.inflate(getMenuResourceId(), menu); local
104 // Create menu and bind listener/intent
105 menu.setHeaderTitle(mAddress);
106 menu.findItem(SEND_EMAIL_ITEM).setIntent(new Intent(Intent.ACTION_VIEW,
108 menu.findItem(COPY_CONTACT_ITEM).setOnMenuItemClickListener
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
PointerCaptureCtsActivity.java 34 ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
35 menu.add("context menu");
  /cts/tests/tests/widget/src/android/widget/cts/
ExpandableListBasic.java 19 import android.view.Menu;
33 public boolean onCreateOptionsMenu(Menu menu) {
34 menu.add("Add item").setOnMenuItemClickListener((MenuItem item) -> {
  /external/skia/src/views/ios/
SkOSWindow_iOS.mm 52 void SkOSWindow::onAddMenu(const SkOSMenu* menu) {
53 [(SkUIView*)fHWND onAddMenu:menu];
56 void SkOSWindow::onUpdateMenu(const SkOSMenu* menu) {
57 [(SkUIView*)fHWND onUpdateMenu:menu];
  /external/syslinux/com32/hdt/
hdt-menu-summary.c 29 #include "hdt-menu.h"
31 /* Computing Summary menu */
32 void compute_summarymenu(struct s_my_menu *menu, struct s_hardware *hardware)
38 menu->menu = add_menu(buffer, -1);
39 menu->items_count = 0;
47 menu->items_count++;
53 menu->items_count++;
73 menu->items_count++;
83 menu->items_count++
    [all...]
  /external/syslinux/com32/include/
menu.h 14 * menu.h
16 * Header file for the simple menu system
39 struct menu;
46 MA_DISABLED, /* Disabled menu entry */
48 MA_GOTO, /* Go to another menu */
51 MA_EXIT, /* Exit to higher-level menu */
57 struct menu *menu; /* Parent menu */ member in struct:menu_entry
64 struct menu *submenu
142 struct menu { struct
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuScenario.java 17 package android.view.menu;
23 import android.view.Menu;
27 * Utility base class for creating various Menu scenarios. Configurable by the
28 * number of menu items. Used @link {@link ListScenario} as a reference.
32 private Menu mMenu;
59 public boolean onCreateOptionsMenu(Menu menu) {
61 mMenu = menu;
67 if ((item = onAddMenuItem(menu, i)) == null) {
71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i))
    [all...]
  /frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
MyActivity.class 

Completed in 1921 milliseconds

1 2 3 45 6 7 8 91011>>