HomeSort by relevance Sort by last modified time
    Searched full:menu (Results 51 - 75 of 4273) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarShareActionProvider.java 25 import android.view.Menu;
34 public boolean onCreateOptionsMenu(Menu menu) {
35 getMenuInflater().inflate(R.menu.action_bar_share_action_provider, menu);
40 protected boolean onPrepareOptionsPanel(View view, Menu menu) {
42 menu.findItem(R.id.menu_item_share_provider_action_bar));
  /packages/apps/Camera2/res/menu/
filmstrip_context_menu.xml 2 <menu xmlns:android="http://schemas.android.com/apk/res/android">
5 </menu
  /packages/experimental/TestBack/res/menu/
activity_main.xml 0 <menu xmlns:android="http://schemas.android.com/apk/res/android">
6 </menu>
  /packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
ActionBarMenuManager.java 20 import android.view.Menu;
27 * Activity scoped singleton that manages action bar menus. Each menu item is controlled by a
33 // A map of all menu item controllers, keyed by menu item id.
41 * Add one or more {@link MenuItemController} to the actionbar menu.
55 * Inflates {@link Menu} for the activity.
59 public void createOptionsMenu(Menu menu, MenuInflater inflater) {
60 if (menu.size() > 0) {
61 throw new IllegalStateException("Menu has already been inflated.")
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
MenuPresenter.java 17 package android.support.v7.view.menu;
24 * A MenuPresenter is responsible for building views for a Menu object. It takes over some
32 * Called by menu implementation to notify another component of open/close events.
38 * Called when a menu is closing.
39 * @param menu
42 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing);
46 * of menu state so that it does not attempt to hide the action bar
57 * Initialize this presenter for the given context and menu.
62 * @param menu Menu to hos
    [all...]
  /frameworks/base/docs/html/guide/practices/ui_guidelines/
menu_design.jd 1 page.title=Menu Design Guidelines
44 <li>An Options menu is for any commands that are global to the current activity. </li>
45 <li>A Context menu is for any commands that apply to the current selection. </li>
48 <li>The commands on the Context menu that appears when you touch &amp; hold on an item should be duplicated on the activity you get to by a normal press on that item.
57 <li style="padding-top: 4px;"><a href=#options_menu>Options Menu</a></li>
58 <li style="padding-top: 4px;"><a href=#context_menu>Context Menu</a></li>
67 <li style="padding-top: 4px;"><a href=#dont_put_commands>Don't put commands <em>only</em> in a Context menu</li>
68 <li style="padding-top: 4px;"><a href=#first_in_context_menu>First command in Context menu should be most intuitive</li>
70 <li style="padding-top: 4px;"><a href=#context_menu_should_identify>A Context menu should identify the selected item</li>
72 <li style="padding-top: 4px;"><a href=#short_names>Use short names in Options icon menu</a></li
    [all...]
  /frameworks/base/docs/html-intl/intl/in/guide/topics/ui/
menus.jd 1 page.title=Menu
10 <li><a href="#xml">Mendefinisikan Menu dalam XML</a></li>
11 <li><a href="#options-menu">Membuat Menu Opsi</a>
14 <li><a href="#ChangingTheMenu">Mengubah item menu saat runtime</a></li>
17 <li><a href="#context-menu">Membuat Menu Kontekstual</a>
19 <li><a href="#FloatingContextMenu">Membuat menu konteks mengambang</a></li>
23 <li><a href="#PopupMenu">Membuat Menu Popup</a>
28 <li><a href="#groups">Membuat Grup Menu</a
    [all...]
  /packages/services/Car/car-lib/src/android/car/app/menu/
CarMenuCallbacks.java 16 package android.car.app.menu;
21 * The callbacks that a car app needs to pass to a car ui provider for car menu interactions.
25 * Called when the car menu wants to get the root.
33 * Query for information about the menu items that are contained within
36 * @param parentId The id of the parent menu item whose list of children
44 * @param parentId The id of the parent menu item whose list of children
50 * Called when the car menu has been opened.
55 * Called when the car menu has been closed.
60 * Called when a car menu item with the specified id has been clicked.
65 * Called when a car menu item with the specified id has been long clicked
    [all...]
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/
SearchActivity.java 23 import android.view.Menu;
49 * Use this method to instantiate your menu, inflating our {@code main} menu resource.
52 public boolean onCreateOptionsMenu(Menu menu) {
53 // Inflate our menu from the resources by using the menu inflater.
54 getMenuInflater().inflate(R.menu.main, menu);
56 return super.onCreateOptionsMenu(menu);
    [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...]
  /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/docs/html-intl/intl/pt-br/guide/topics/ui/
menus.jd 10 <li><a href="#xml">Definição de um menu em XML</a></li>
11 <li><a href="#options-menu">Criação de um menu de opções</a>
14 <li><a href="#ChangingTheMenu">Alteração de itens de menu em tempo de execução</a></li>
17 <li><a href="#context-menu">Criação de menus contextuais</a>
19 <li><a href="#FloatingContextMenu">Criação de um menu de contexto flutuante</a></li>
23 <li><a href="#PopupMenu">Criação de um menu pop-up</a>
28 <li><a href="#groups">Criação de grupos de menu</a>
30 <li><a href="#checkable">Uso de itens de menu marcáveis</a></li>
33 <li><a href="#intents">Adição de itens de menu com base em uma intenção</a
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Help.java 21 import android.view.Menu;
38 public void addHelpMenuItem(Menu menu, String activityName) {
39 addHelpMenuItem(menu, activityName, false);
42 public void addHelpMenuItem(Menu menu, String activityName, boolean showAsAction) {
46 inflater.inflate(R.menu.help, menu);
47 MenuItem item = menu.findItem(R.id.menu_help);
  /packages/apps/TV/src/com/android/tv/menu/
ItemListRow.java 17 package com.android.tv.menu;
22 import com.android.tv.menu.ItemListRowView.ItemListAdapter;
25 * A menu item which is used to represents the list of the items.
33 public ItemListRow(Context context, Menu menu, int titleResId, int itemHeightResId,
35 this(context, menu, context.getString(titleResId), itemHeightResId, adapter);
38 public ItemListRow(Context context, Menu menu, String title, int itemHeightResId,
40 super(context, menu, title, itemHeightResId);
  /frameworks/base/docs/html/guide/topics/ui/
menus.jd 10 <li><a href="#xml">Defining a Menu in XML</a></li>
11 <li><a href="#options-menu">Creating an Options Menu</a>
14 <li><a href="#ChangingTheMenu">Changing menu items at runtime</a></li>
17 <li><a href="#context-menu">Creating Contextual Menus</a>
19 <li><a href="#FloatingContextMenu">Creating a floating context menu</a></li>
23 <li><a href="#PopupMenu">Creating a Popup Menu</a>
28 <li><a href="#groups">Creating Menu Groups</a>
30 <li><a href="#checkable">Using checkable menu items</a></li>
33 <li><a href="#intents">Adding Menu Items Based on an Intent</a
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentContextMenu.java 27 import android.view.Menu;
35 * Demonstration of displaying a context menu from a fragment.
59 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
60 super.onCreateContextMenu(menu, v, menuInfo);
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B")
    [all...]
MenuInflateFromXml.java 23 import android.view.Menu;
35 * Demonstrates inflating menus from XML. There are different menu XML resources
37 * the spinner, and then hit the menu button. To choose another, back out of the
42 * Different example menu resources.
45 R.menu.title_only, R.menu.title_icon, R.menu.submenu, R.menu.groups,
46 R.menu.checkable, R.menu.shortcuts, R.menu.order, R.menu.category_order
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ProcessTextLauncher.java 5 import android.view.Menu;
20 public boolean onCreateOptionsMenu(Menu menu) {
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentContextMenuSupport.java 28 import android.view.Menu;
34 * Demonstration of displaying a context menu from a fragment.
59 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
60 super.onCreateContextMenu(menu, v, menuInfo);
61 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
62 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B")
    [all...]
  /prebuilts/maven_repo/android/com/android/support/appcompat-v7/24.0.0-alpha1/
appcompat-v7-24.0.0-alpha1-sources.jar 
  /prebuilts/maven_repo/android/com/android/support/appcompat-v7/24.0.0-alpha2/
appcompat-v7-24.0.0-alpha2-sources.jar 
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuDialogHelper.java 17 package com.android.internal.view.menu;
29 * Presents a menu as a modal dialog.
39 public MenuDialogHelper(MenuBuilder menu) {
40 mMenu = menu;
44 * Shows menu as a dialog.
50 final MenuBuilder menu = mMenu; local
53 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext());
63 final View headerView = menu.getHeaderView();
65 // Menu's client has given a custom header view, use it
69 builder.setIcon(menu.getHeaderIcon()).setTitle(menu.getHeaderTitle())
    [all...]

Completed in 3037 milliseconds

1 23 4 5 6 7 8 91011>>