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

<<21222324252627282930>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
Bindings.py 1 """Define the menu contents, hotkeys, and event bindings.
6 makes it possible, for example, to define a Debug menu which is only present in
7 the PythonShell window, and a Format menu which is only present in the Editor
91 # Remove the last 3 items of the file menu: a separator, close window and
93 # it should be according to the HIG. Quit is in the application menu.
97 # Remove the 'About' entry from the help menu, it is in the application
98 # menu
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
Bindings.py 1 """Define the menu contents, hotkeys, and event bindings.
6 makes it possible, for example, to define a Debug menu which is only present in
7 the PythonShell window, and a Format menu which is only present in the Editor
91 # Remove the last 3 items of the file menu: a separator, close window and
93 # it should be according to the HIG. Quit is in the application menu.
97 # Remove the 'About' entry from the help menu, it is in the application
98 # menu
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
Bindings.py 1 """Define the menu contents, hotkeys, and event bindings.
6 makes it possible, for example, to define a Debug menu which is only present in
7 the PythonShell window, and a Format menu which is only present in the Editor
91 # Remove the last 3 items of the file menu: a separator, close window and
93 # it should be according to the HIG. Quit is in the application menu.
97 # Remove the 'About' entry from the help menu, it is in the application
98 # menu
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
Bindings.py 1 """Define the menu contents, hotkeys, and event bindings.
6 makes it possible, for example, to define a Debug menu which is only present in
7 the PythonShell window, and a Format menu which is only present in the Editor
91 # Remove the last 3 items of the file menu: a separator, close window and
93 # it should be according to the HIG. Quit is in the application menu.
97 # Remove the 'About' entry from the help menu, it is in the application
98 # menu
  /frameworks/base/docs/html/guide/topics/resources/
menu-resource.jd 1 page.title=Menu Resource
15 <p>A menu resource defines an application menu (Options Menu, Context Menu, or submenu) that
24 <dd><code>res/menu/<em>filename</em>.xml</code><br/>
28 <dd>Resource pointer to a {@link android.view.Menu} (or subclass) resource.</dd>
32 In Java: <code>R.menu.<em>filename</em></code><br/>
33 In XML: <code>@[<em>package</em>:]menu.<em>filename</em></code>
40 &lt;<a href="#menu-element">menu</a> xmlns:android="http://schemas.android.com/apk/res/android"
    [all...]
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
PopupMenuTest.java 107 assertNotNull("Popup menu created", mPopupMenu);
115 // visibility of our main and sub menu items.
117 // scroll the popup if necessary to make sure the menu item views are visible.
153 * Returns the location of our popup menu in its window.
178 * Returns the location of our popup menu on the screen.
203 * Returns the combined padding around the content of our popup menu.
328 // displayed popup menu. This tap is then treated by the framework to be "split" as
374 // Verify that our menu item click listener hasn't been called yet
381 // Verify that out menu item click listener has been called with the expected menu ite
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SelectedConversationsActionMenu.java 24 import android.view.Menu;
69 * The set of conversations to display the menu for.
121 // If the user taps a new menu item, commit any existing destructive actions.
130 LogUtils.i(LOG_TAG, "Delete selected from CAB menu");
133 LogUtils.i(LOG_TAG, "Discard drafts selected from CAB menu");
136 LogUtils.i(LOG_TAG, "Discard outbox selected from CAB menu");
139 LogUtils.i(LOG_TAG, "Archive selected from CAB menu");
255 // the action mode is not refreshed when activity's options menu is invalidated.
256 // Since we need to refresh our own menu, it is easy to call onPrepareActionMode
355 public boolean onCreateActionMode(ActionMode mode, Menu menu)
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/policy/
PhoneWindowActionModeTest.java 25 import android.view.Menu;
218 public boolean onCreatePanelMenu(int featureId, Menu menu) {
223 public boolean onPreparePanel(int featureId, View view, Menu menu) {
228 public boolean onMenuOpened(int featureId, Menu menu) {
253 public void onPanelClosed(int featureId, Menu menu) {}
300 public boolean onPrepareActionMode(ActionMode mode, Menu menu)
    [all...]
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseBasicsTestCase.java 47 import android.view.Menu;
87 // Reset to make sure that we don't have a menu currently
95 // Now dispatch a menu invalidation and wait for an idle sync
99 // Make sure that we don't have a menu given to use after being destroyed
144 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(true);
151 verify(callback).onCreateActionMode(any(ActionMode.class), any(Menu.class));
152 verify(callback).onPrepareActionMode(any(ActionMode.class), any(Menu.class));
168 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(true);
181 verify(callback, never()).onCreateActionMode(any(ActionMode.class), any(Menu.class));
182 verify(callback).onPrepareActionMode(any(ActionMode.class), any(Menu.class))
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ZonePicker.java 26 import android.view.Menu;
57 private static final int MENU_TIMEZONE = Menu.FIRST+1;
58 private static final int MENU_ALPHABETICAL = Menu.FIRST;
158 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
159 menu.add(0, MENU_ALPHABETICAL, 0, R.string.zone_list_menu_sort_alphabetically)
161 menu.add(0, MENU_TIMEZONE, 0, R.string.zone_list_menu_sort_by_timezone)
163 super.onCreateOptionsMenu(menu, inflater);
167 public void onPrepareOptionsMenu(Menu menu) {
    [all...]
  /frameworks/base/core/java/com/android/internal/policy/
PhoneWindow.java 39 import android.view.Menu;
53 import com.android.internal.view.menu.ContextMenuBuilder;
54 import com.android.internal.view.menu.IconMenuPresenter;
55 import com.android.internal.view.menu.ListMenuPresenter;
56 import com.android.internal.view.menu.MenuBuilder;
57 import com.android.internal.view.menu.MenuDialogHelper;
58 import com.android.internal.view.menu.MenuHelper;
59 import com.android.internal.view.menu.MenuPresenter;
60 import com.android.internal.view.menu.MenuView;
130 * Simple callback used by the context menu and its submenus. The option
1322 final MenuBuilder menu = new MenuBuilder(context); local
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuItemImpl.java 17 package com.android.internal.view.menu;
19 import com.android.internal.view.menu.MenuView.ItemView;
64 /** The menu to which this item belongs */
66 /** If this item should launch a sub menu, this is the sub menu to launch */
91 * Current use case is for context menu: Extra information linked to the
92 * View that added this item to the context menu.
104 * Instantiates this menu item.
106 * @param menu
115 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering
    [all...]
ListMenuPresenter.java 17 package com.android.internal.view.menu;
56 public static final String VIEWS_TAG = "android:menu:list";
81 public void initForMenu(@NonNull Context context, @Nullable MenuBuilder menu) {
91 mMenu = menu;
116 * @return A ListAdapter containing the items in the menu.
148 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
150 mCallback.onCloseMenu(menu, allMenusAreClosing);
175 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) {
179 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) {
249 // Since a menu item's ID is optional, we'll use the position as a
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/elements/
test-picker.html 138 * Gets a list of menu items for test suites.
173 * Gets a list of bot menu items base on the selected test suite.
206 * Handles dropdown menu select; updates the subsequent menu accordingly.
242 * Updates bot dropdown menu with bot items.
245 var menu = this.getSelectionMenu(1);
247 menu.setDataList(botItems);
248 menu.disabled = false;
251 if (menu.value && menu.value.length > 0)
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 27 import android.view.Menu;
54 // Keep reference to the ShareActionProvider from the menu
76 public boolean onCreateOptionsMenu(Menu menu) {
77 // Inflate the menu resource
78 getMenuInflater().inflate(R.menu.main_menu, menu);
80 // Retrieve the share menu item
81 MenuItem shareItem = menu.findItem(R.id.menu_share);
90 return super.onCreateOptionsMenu(menu);
    [all...]
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 27 import android.view.Menu;
54 // Keep reference to the ShareActionProvider from the menu
76 public boolean onCreateOptionsMenu(Menu menu) {
77 // Inflate the menu resource
78 getMenuInflater().inflate(R.menu.main_menu, menu);
80 // Retrieve the share menu item
81 MenuItem shareItem = menu.findItem(R.id.menu_share);
90 return super.onCreateOptionsMenu(menu);
    [all...]
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
MainActivity.java 27 import android.view.Menu;
54 // Keep reference to the ShareActionProvider from the menu
76 public boolean onCreateOptionsMenu(Menu menu) {
77 // Inflate the menu resource
78 getMenuInflater().inflate(R.menu.main_menu, menu);
80 // Retrieve the share menu item
81 MenuItem shareItem = menu.findItem(R.id.menu_share);
90 return super.onCreateOptionsMenu(menu);
    [all...]
  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
ScreenSlideActivity.java 28 import android.view.Menu;
81 public boolean onCreateOptionsMenu(Menu menu) {
82 super.onCreateOptionsMenu(menu);
83 getMenuInflater().inflate(R.menu.activity_screen_slide, menu);
85 menu.findItem(R.id.action_previous).setEnabled(mPager.getCurrentItem() > 0);
89 MenuItem item = menu.add(Menu.NONE, R.id.action_next, Menu.NONE
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
Notepadv2.java 24 import android.view.Menu;
36 private static final int INSERT_ID = Menu.FIRST;
37 private static final int DELETE_ID = Menu.FIRST + 1;
71 public boolean onCreateOptionsMenu(Menu menu) {
72 super.onCreateOptionsMenu(menu);
73 menu.add(0, INSERT_ID, 0, R.string.menu_insert);
89 public void onCreateContextMenu(ContextMenu menu, View v,
91 super.onCreateContextMenu(menu, v, menuInfo);
92 menu.add(0, DELETE_ID, 0, R.string.menu_delete)
    [all...]
  /development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
Notepadv3.java 24 import android.view.Menu;
36 private static final int INSERT_ID = Menu.FIRST;
37 private static final int DELETE_ID = Menu.FIRST + 1;
71 public boolean onCreateOptionsMenu(Menu menu) {
72 super.onCreateOptionsMenu(menu);
73 menu.add(0, INSERT_ID, 0, R.string.menu_insert);
89 public void onCreateContextMenu(ContextMenu menu, View v,
91 super.onCreateContextMenu(menu, v, menuInfo);
92 menu.add(0, DELETE_ID, 0, R.string.menu_delete)
    [all...]
  /external/clang/tools/clang-format-vs/ClangFormat/
ClangFormat.vsct 26 <!--The Commands section is where we the commands, menus and menu groups are defined.
30 for the menu groups, one for the buttons (the actual commands), one for the combos
38 <!-- In this section you can define new menu groups. A menu group is a container for
40 group as the part of a menu contained between two lines. The parent of a group
41 must be a menu. -->
53 <!--This section defines the elements the user can interact with, like a menu command or a button
56 <!--To define a menu group you have to specify its ID, the parent menu and its display priority.
100 <!-- This is the guid used to group the menu commands together -->
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
ListMenuPresenter.java 17 package android.support.v7.view.menu;
57 public static final String VIEWS_TAG = "android:menu:list";
82 public void initForMenu(Context context, MenuBuilder menu) {
92 mMenu = menu;
117 * @return A ListAdapter containing the items in the menu.
149 public void onCloseMenu(MenuBuilder menu, boolean allMenusAreClosing) {
151 mCallback.onCloseMenu(menu, allMenusAreClosing);
176 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) {
180 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) {
250 // Since a menu item's ID is optional, we'll use the position as a
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
MiniAEFrame.py 18 from Carbon import Menu
35 # Initialize menu
38 Menu.ClearMenuBar()
39 self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024")
44 self.quitmenu = Menu.NewMenu(self.quitid, "File")
48 Menu.DrawMenuBar()
93 result = Menu.MenuSelect(where)
99 elif item > 1 and hasattr(Menu, 'OpenDeskAcc'):
101 Menu.OpenDeskAcc(name)
106 Menu.HiliteMenu(0
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
MiniAEFrame.py 18 from Carbon import Menu
35 # Initialize menu
38 Menu.ClearMenuBar()
39 self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024")
44 self.quitmenu = Menu.NewMenu(self.quitid, "File")
48 Menu.DrawMenuBar()
93 result = Menu.MenuSelect(where)
99 elif item > 1 and hasattr(Menu, 'OpenDeskAcc'):
101 Menu.OpenDeskAcc(name)
106 Menu.HiliteMenu(0
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
EmailPreferenceActivity.java 26 import android.view.Menu;
56 // STOPSHIP: Do not ship with the debug menu allowed.
137 * Listen for secret sequence and, if heard, enable debug menu
154 public boolean onCreateOptionsMenu(Menu menu) {
155 super.onCreateOptionsMenu(menu);
156 getMenuInflater().inflate(R.menu.settings_menu, menu);
158 mFeedbackMenuItem = menu.findItem(R.id.feedback_menu_item);
163 public boolean onPrepareOptionsMenu(Menu menu)
    [all...]

Completed in 869 milliseconds

<<21222324252627282930>>