HomeSort by relevance Sort by last modified time
    Searched refs:menu (Results 201 - 225 of 539) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuLayoutLandscapeTest.java 17 package android.view.menu;
20 import com.android.internal.view.menu.IconMenuView;
21 import com.android.internal.view.menu.MenuBuilder;
53 * Asserts the layout of the menu.
MenuLayoutPortraitTest.java 17 package android.view.menu;
20 import com.android.internal.view.menu.IconMenuView;
21 import com.android.internal.view.menu.MenuBuilder;
53 * Asserts the layout of the menu.
  /packages/apps/Browser/src/com/android/browser/
BrowserHistoryPage.java 46 import android.view.Menu;
286 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
287 super.onCreateOptionsMenu(menu, inflater);
288 inflater.inflate(R.menu.history, menu);
343 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
351 // Inflate the menu
354 inflater.inflate(R.menu.historycontext, menu);
    [all...]
PieControlPhone.java 20 import android.view.Menu;
35 * controller for Quick Controls pie menu
82 Menu menu = mPopup.getMenu(); local
83 mPopup.getMenuInflater().inflate(R.menu.browser, menu);
  /packages/apps/Calendar/src/com/android/calendar/
CalendarSettingsActivity.java 31 import android.view.Menu;
91 public boolean onCreateOptionsMenu(Menu menu) {
93 inflater.inflate(R.menu.settings_title_bar, menu);
  /packages/apps/Music/src/com/android/music/
PlaylistBrowserActivity.java 44 import android.view.Menu;
269 public boolean onCreateOptionsMenu(Menu menu) {
271 menu.add(0, PARTY_SHUFFLE, 0, R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu()
273 return super.onCreateOptionsMenu(menu);
277 public boolean onPrepareOptionsMenu(Menu menu) {
278 MusicUtils.setPartyShuffleMenuIcon(menu);
279 return super.onPrepareOptionsMenu(menu);
293 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfoIn)
    [all...]
ArtistAlbumBrowserActivity.java 50 import android.view.Menu;
284 public boolean onCreateOptionsMenu(Menu menu) {
285 super.onCreateOptionsMenu(menu);
286 menu.add(0, PARTY_SHUFFLE, 0, R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu()
287 menu.add(0, SHUFFLE_ALL, 0, R.string.shuffle_all).setIcon(R.drawable.ic_menu_shuffle);
292 public boolean onPrepareOptionsMenu(Menu menu) {
293 MusicUtils.setPartyShuffleMenuIcon(menu);
294 return super.onPrepareOptionsMenu(menu);
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CorpusSelectionDialog.java 27 import android.view.Menu;
119 public boolean onPrepareOptionsMenu(Menu menu) {
120 menu.clear();
121 getSettings().addMenuItems(menu, true);
  /external/webkit/LayoutTests/dom/html/level2/html/
HTMLMenuElement01.js 49 docsLoaded += preload(docRef, "doc", "menu");
99 doc = load(docRef, "doc", "menu");
100 nodeList = doc.getElementsByTagName("menu");
  /external/webkit/LayoutTests/dom/xhtml/level2/html/
HTMLMenuElement01.js 49 docsLoaded += preload(docRef, "doc", "menu");
99 doc = load(docRef, "doc", "menu");
100 nodeList = doc.getElementsByTagName("menu");
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactDetailActivity.java 43 import android.view.Menu;
128 public boolean onCreateOptionsMenu(Menu menu) {
129 super.onCreateOptionsMenu(menu);
131 inflater.inflate(R.menu.star, menu);
136 public boolean onPrepareOptionsMenu(Menu menu) {
137 MenuItem starredMenuItem = menu.findItem(R.id.menu_star);
  /packages/apps/Mms/src/com/android/mms/ui/
ManageSimMessages.java 42 import android.view.Menu;
172 ContextMenu menu, View v,
174 menu.add(0, MENU_COPY_TO_PHONE_MEMORY, 0,
176 menu.add(0, MENU_DELETE_FROM_SIM, 0, R.string.sim_delete);
179 // menu.add(0, MENU_VIEW, 0, R.string.sim_view);
280 public boolean onPrepareOptionsMenu(Menu menu) {
281 menu.clear();
284 menu.add(0, OPTION_MENU_DELETE_ALL, 0, R.string.menu_delete_messages).setIcon(
SlideshowEditActivity.java 37 import android.view.Menu;
55 // Menu ids.
221 public boolean onPrepareOptionsMenu(Menu menu) {
222 menu.clear();
228 menu.add(0, MENU_MOVE_UP, 0, R.string.move_up).setIcon(R.drawable.ic_menu_move_up);
232 menu.add(0, MENU_MOVE_DOWN, 0, R.string.move_down).setIcon(
236 menu.add(0, MENU_ADD_SLIDE, 0, R.string.add_slide).setIcon(R.drawable.ic_menu_add_slide);
238 menu.add(0, MENU_REMOVE_SLIDE, 0, R.string.remove_slide).setIcon(
241 menu.add(0, MENU_ADD_SLIDE, 0, R.string.add_slide).setIcon(R.drawable.ic_menu_add_slide)
    [all...]
ConversationList.java 66 import android.view.Menu;
95 // IDs of the context menu items for the list of conversations.
327 public boolean onCreateOptionsMenu(Menu menu) {
328 getMenuInflater().inflate(R.menu.conversation_list_menu, menu);
330 mSearchItem = menu.findItem(R.id.search);
347 public boolean onPrepareOptionsMenu(Menu menu) {
348 MenuItem item = menu.findItem(R.id.action_delete_all)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
EditFdnContactScreen.java 39 import android.view.Menu;
56 // Menu item codes
162 public boolean onCreateOptionsMenu(Menu menu) {
163 super.onCreateOptionsMenu(menu);
167 // Added the icons to the context menu
168 menu.add(0, MENU_IMPORT, 0, r.getString(R.string.importToFDNfromContacts))
170 menu.add(0, MENU_DELETE, 0, r.getString(R.string.menu_delete))
176 * Allow the menu to be opened ONLY if we're not busy.
179 public boolean onPrepareOptionsMenu(Menu menu)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pSettings.java 45 import android.view.Menu;
63 private static final int MENU_ID_SEARCH = Menu.FIRST;
64 private static final int MENU_ID_CREATE_GROUP = Menu.FIRST + 1;
65 private static final int MENU_ID_REMOVE_GROUP = Menu.FIRST + 2;
66 private static final int MENU_ID_ADVANCED = Menu.FIRST +3;
202 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
203 menu.add(Menu.NONE, MENU_ID_SEARCH, 0, R.string.wifi_p2p_menu_search)
205 menu.add(Menu.NONE, MENU_ID_CREATE_GROUP, 0, R.string.wifi_p2p_menu_create_group
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
FragmentMenu.java 48 import org.eclipse.swt.widgets.Menu;
57 * Fragment context menu allowing a layout to be chosen for previewing in the fragment frame.
67 * Creates a "Preview Fragment" menu
77 protected void addMenuItems(Menu menu) {
79 new ActionContributionItem(action).fill(menu, -1);
155 new Separator().fill(menu, -1);
159 new ActionContributionItem(action).fill(menu, -1);
166 new Separator().fill(menu, -1);
168 new ActionContributionItem(action).fill(menu, -1)
    [all...]
  /cts/tests/src/android/widget/cts/
MockTextView.java 118 protected void onCreateContextMenu(ContextMenu menu) {
119 super.onCreateContextMenu(menu);
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
SimpleMenuItem.java 30 * <code>com.android.internal.view.menu.MenuItemImpl</code> in AOSP for a more complete
45 public SimpleMenuItem(SimpleMenu menu, int id, int order, CharSequence title) {
46 mMenu = menu;
115 // No-op operations. We use no-ops to allow inflation from menu XML.
  /external/webkit/Source/WebCore/platform/haiku/
ContextMenuItemHaiku.cpp 33 #include <Menu.h>
137 void ContextMenuItem::setSubMenu(ContextMenu* menu)
142 m_platformDescription = new BMenuItem(menu->platformDescription(), new BMessage(action()));
  /external/webkit/Source/WebKit2/UIProcess/API/qt/
qgraphicswkview.cpp 334 This slot is called when the engine require a context sensitive menu to be displayed.
336 The \a menu passed as a parameter is the menu to be displayed. It is populated with the
337 actions possible for its current position. The menu is empty if there is no action for the position.
339 void QGraphicsWKView::showContextMenu(QSharedPointer<QMenu> menu)
341 // Remove the active menu in case this function is called twice.
345 if (menu->isEmpty())
348 d->activeMenu = menu;
363 menu->setParent(view, menu->windowFlags())
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/mac/
WebPopupMenuProxyMac.mm 66 [[m_popup.get() menu] addItem:[NSMenuItem separatorItem]];
108 NSMenu *menu = [m_popup.get() menu];
110 // These values were borrowed from AppKit to match their placement of the menu.
115 // Menus that pop-over directly obscure the node that generated the popup menu.
131 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font);
  /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.
103 * Instantiates this menu item.
105 * @param menu
114 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering
    [all...]
ActionMenuPresenter.java 17 package com.android.internal.view.menu;
19 import com.android.internal.view.menu.ActionMenuView.ActionMenuChildView;
77 public void initForMenu(Context context, MenuBuilder menu) {
78 super.initForMenu(context, menu);
275 * Display the overflow menu if one is present.
276 * @return true if the overflow menu was shown, false otherwise.
296 * Hide the overflow menu if it is currently showing.
298 * @return true if the overflow menu was hidden, false otherwise.
339 * @return true if the overflow menu is currently showing
346 * @return true if space has been reserved in the action menu for an overflow item
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageGallery.java 49 import android.view.Menu;
166 private MenuItem addSlideShowMenu(Menu menu) {
167 return menu.add(Menu.NONE, Menu.NONE, MenuHelper.POSITION_SLIDESHOW,
476 public boolean onCreateOptionsMenu(Menu menu) {
481 MenuHelper.addCapturePictureMenuItems(menu, this);
483 MenuHelper.addCaptureVideoMenuItems(menu, this)
    [all...]

Completed in 435 milliseconds

1 2 3 4 5 6 7 891011>>