/frameworks/base/core/java/com/android/internal/view/menu/ |
ShowableListMenu.java | 17 package com.android.internal.view.menu; 22 * A list menu which can be shown and hidden and which is internally represented by a ListView. 32 * @return The internal ListView for the visible menu.
|
CascadingMenuPopup.java | 1 package com.android.internal.view.menu; 44 * A popup for a menu which will allow multiple submenus to appear in a cascading fashion, side by 59 * Delay between hovering over a menu item with a mouse and receiving 60 * side-effects (ex. opening a sub-menu or closing unrelated menus). 75 * List of open menus. The first item is the root menu and each 121 public void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item) { 124 // pending runnables, only cancel runnables for the host menu. 125 mSubMenuHoverHandler.removeCallbacksAndMessages(menu); 130 @NonNull final MenuBuilder menu, @NonNull final MenuItem item) { 134 // Find the position of the hovered menu within the added menus 734 public final MenuBuilder menu; field in class:CascadingMenuPopup.CascadingMenuInfo [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
R$menu.class | |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
Menu.java | 27 * Container class for CAT menu (SET UP MENU, SELECT ITEM) parameters. 30 public class Menu implements Parcelable { 42 public Menu() { 53 // set default style to be navigation menu. 57 private Menu(Parcel in) { 98 public static final Parcelable.Creator<Menu> CREATOR = new Parcelable.Creator<Menu>() { 100 public Menu createFromParcel(Parcel in) { 101 return new Menu(in) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
MenuView.java | 17 package android.support.v7.view.menu; 22 * Minimal interface for a menu view. {@link #initialize(MenuBuilder)} must be called for the 23 * menu to be functional. 29 * Initializes the menu to the given menu. This should be called after the 32 * @param menu The menu that this MenuView should display. 34 public void initialize(MenuBuilder menu); 37 * Returns the default animations to be used for this menu when entering/exiting. 38 * @return A resource ID for the default animations to be used for this menu [all...] |
ShowableListMenu.java | 17 package android.support.v7.view.menu; 22 * A list menu which can be shown and hidden and which is internally represented by a ListView. 34 * @return The internal ListView for the visible 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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleMenuListener.java | 31 import org.eclipse.swt.widgets.Menu; 40 * menu in the {@link ConfigurationChooser}. 79 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); local 86 MenuItem item = new MenuItem(menu, SWT.CHECK); 103 MenuItem separator = new MenuItem(menu, SWT.SEPARATOR); 105 ConfigurationMenuListener.addTogglePreviewModeAction(menu, 110 MenuItem separator = new MenuItem(menu, SWT.SEPARATOR); 112 MenuItem item = new MenuItem(menu, SWT.PUSH) [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 33 import android.view.Menu; 75 // The user does not need to hold down the key to use menu shortcuts. 92 * Sets the callback for context menu activation for the ListView. The listener is set 94 * ListView, and the context menu is handled by a method in NotesList. 141 * Called when the user clicks the device's Menu button the first time for 142 * this Activity. Android passes in a Menu object that is populated with items. 144 * Sets up a menu that provides the Insert option plus a list of alternative actions for 149 * the menu will offer the user other applications that can handle notes. 150 * @param menu A Menu object, to which menu items should be added [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/res/menu/ |
main_menu.xml | 18 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 21 A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 22 scheme functionality. This kind of menu item should not be incorporated into your app, 30 <menu> 46 </menu> 59 </menu
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/src/main/res/menu/ |
main_menu.xml | 18 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 21 A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 22 scheme functionality. This kind of menu item should not be incorporated into your app, 30 <menu> 46 </menu> 59 </menu
|
/development/samples/browseable/SwipeRefreshListFragment/res/menu/ |
main_menu.xml | 18 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 21 A color scheme menu item used for demonstrating the use of SwipeRefreshLayout's color 22 scheme functionality. This kind of menu item should not be incorporated into your app, 30 <menu> 46 </menu> 59 </menu
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
MainActivity.java | 21 import android.view.Menu; 34 public boolean onCreateOptionsMenu(Menu menu) { 35 super.onCreateOptionsMenu(menu); 36 getMenuInflater().inflate(R.menu.main, menu);
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
Notepadv1.java | 22 import android.view.Menu; 27 public static final int INSERT_ID = Menu.FIRST; 43 public boolean onCreateOptionsMenu(Menu menu) { 44 boolean result = super.onCreateOptionsMenu(menu); 45 menu.add(0, INSERT_ID, 0, R.string.menu_insert);
|
/external/mockftpserver/MockFtpServer/src/site/ |
site.xml | 28 <menu name="General">
35 </menu>
37 <menu name="FakeFtpServer">
41 </menu>
43 <menu name="StubFtpServer">
47 </menu>
|
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/ |
MainActivity.java | 22 import android.view.Menu; 41 public boolean onCreateOptionsMenu(Menu menu) { 42 // Inflate the menu; this adds items to the action bar if it is present. 43 getMenuInflater().inflate(R.menu.menu_main, menu);
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/ |
MainActivity.java | 22 import android.view.Menu; 41 public boolean onCreateOptionsMenu(Menu menu) { 42 // Inflate the menu; this adds items to the action bar if it is present. 43 getMenuInflater().inflate(R.menu.menu_main, menu);
|
/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ListViewTypeMenu.java | 38 import org.eclipse.swt.widgets.Menu; 42 * "Preview List Content" context menu which lists available data types and layouts 48 /** When true, this menu is for a grid rather than a simple list */ 50 /** When true, this menu is for a spinner rather than a simple list */ 54 * Creates a "Preview List Content" menu 57 * @param isGrid whether the menu is for a grid rather than a list 58 * @param isSpinner whether the menu is for a spinner rather than a list 69 protected void addMenuItems(Menu menu) { 73 new ActionContributionItem(action).fill(menu, -1) [all...] |
/external/toybox/kconfig/ |
conf.c | 17 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) 173 struct symbol *sym = menu->sym; 177 printf("%*s%s ", indent - 1, "", menu->prompt->text); 190 if (menu->sym->help [all...] |
/development/samples/NotePad/res/menu/ |
editor_options_menu.xml | 2 <menu xmlns:android="http://schemas.android.com/apk/res/android"> 15 </menu
|
/development/samples/WiFiDirectDemo/res/menu/ |
action_items.xml | 2 <menu 15 </menu>
|
/external/clang/test/CodeGen/ |
pragma-pack-3.c | 11 struct menu { struct in union:command 14 } menu; member in union:command
|
/external/toybox/kconfig/lxdialog/ |
menubox.c | 2 * menubox.c -- implements the menu box 30 * to the first position in the menu box. Now lxdialog is a bit 31 * smarter and works more like other menu systems (just have a look at 50 * middle of the menu box, not at the bottom. 64 * Print menu item 105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 171 /* Scroll menu up */ 180 * Display a menu for choosing among a number of options 189 WINDOW *dialog, *menu; local 231 /* create new window for the menu */ [all...] |
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuWith1ItemTest.java | 17 package android.view.menu; 19 import android.view.menu.MenuWith1Item; 21 import com.android.internal.view.menu.MenuBuilder; 53 // Open menu, click on an item 67 // open menu, move around to give it focus 72 // close the menu 81 // open the menu, menu item shouldn't be focused, because we are not
|