HomeSort by relevance Sort by last modified time
    Searched defs:subMenu (Results 1 - 14 of 14) sorted by null

  /external/webkit/Source/WebKit2/UIProcess/win/
WebContextMenuProxyWin.cpp 62 HMENU subMenu = ::CreatePopupMenu();
63 populateMenu(subMenu, itemData.submenu());
65 ::AppendMenu(menu, MF_POPUP, reinterpret_cast<UINT>(subMenu), title.charactersWithNullTermination());
  /external/webkit/Source/WebCore/platform/haiku/
ContextMenuItemHaiku.cpp 46 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu)
48 m_platformDescription = new BMenuItem(subMenu->platformDescription(),
53 const String& title, ContextMenu* subMenu)
60 m_platformDescription = new BMenuItem(subMenu->platformDescription(), new BMessage(action));
81 if (m_platformDescription->Submenu())
90 BMenu* subMenu = platformSubMenu();
98 if (subMenu) {
99 m_platformDescription = new BMenuItem(subMenu, new BMessage(theAction));
134 return m_platformDescription->Submenu();
  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 37 import android.view.SubMenu;
218 SubMenu subMenu = menu.findItem(R.id.submenu).getSubMenu();
219 assertNotNull(subMenu);
221 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_1).isCheckable());
222 assertFalse(subMenu.findItem(R.id.nongroup_checkable_item_1).isChecked());
224 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_2).isCheckable());
225 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_2).isChecked());
227 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_3).isCheckable())
    [all...]
  /external/webkit/Source/WebCore/platform/gtk/
ContextMenuItemGtk.cpp 131 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu)
151 if (subMenu)
152 setSubMenu(subMenu);
220 GtkWidget* subMenu = gtk_menu_item_get_submenu(m_platformDescription);
221 return subMenu ? GTK_MENU(subMenu) : 0;
  /frameworks/base/core/java/android/widget/
ShareActionProvider.java 29 import android.view.SubMenu;
195 public void onPrepareSubMenu(SubMenu subMenu) {
197 subMenu.clear();
208 subMenu.add(0, i, i, activity.loadLabel(packageManager))
215 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount,
  /frameworks/base/core/java/android/view/
MenuInflater.java 147 // A menu start tag denotes a submenu for an item
148 SubMenu subMenu = menuState.addSubMenuItem();
150 // Parse the submenu into returned SubMenu
151 parseMenu(parser, attrs, subMenu);
167 // a submenu, it would have been added already)
439 public SubMenu addSubMenuItem() {
441 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
MenuTest.java 30 import android.view.SubMenu;
235 final SubMenu subMenu = mMenu.addSubMenu(0, 0, 0, "submenu");
236 final MenuItem subMenuItem = subMenu.getItem();
237 final MenuItem item1 = subMenu.add(0, 1, 0, "item1");
238 final MenuItem item2 = subMenu.add(0, 2, 0, "item2");
  /external/webkit/Source/WebCore/platform/
ContextMenuItem.h 206 wxMenu * subMenu;
232 ContextMenuItem(ContextMenuItemType, ContextMenuAction, const String&, ContextMenu* subMenu = 0);
271 ContextMenuItem(ContextMenu* subMenu = 0);
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuPresenter.java 238 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
239 if (!subMenu.hasVisibleItems()) return false;
241 SubMenuBuilder topSubMenu = subMenu;
251 mOpenSubMenuId = subMenu.getItem().getItemId();
252 mActionButtonPopup = new ActionButtonSubmenu(mContext, subMenu);
255 super.onSubMenuSelected(subMenu);
325 * Dismiss all submenu popups.
501 SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
502 onSubMenuSelected(subMenu);
510 // Not a submenu, but treat it like one
    [all...]
MenuBuilder.java 37 import android.view.SubMenu;
250 private boolean dispatchSubMenuSelected(SubMenuBuilder subMenu) {
260 result = presenter.onSubMenuSelected(subMenu);
335 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
336 subMenu.saveActionViewStates(outStates);
361 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
362 subMenu.restoreActionViewStates(states);
419 public SubMenu addSubMenu(CharSequence title) {
423 public SubMenu addSubMenu(int titleRes) {
427 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title)
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideEditorActivity.java 60 import android.view.SubMenu;
370 SubMenu subMenu = menu.addSubMenu(0, MENU_SUB_AUDIO, 0, R.string.add_music)
372 subMenu.add(0, MENU_ADD_AUDIO, 0, R.string.attach_sound);
373 subMenu.add(0, MENU_RECORD_SOUND, 0, R.string.attach_record_sound);
  /external/webkit/Source/WebKit/qt/Api/
qwebpage.cpp 479 QMenu *subMenu = createContextMenu(webcoreMenu, item.platformSubMenu(), visitedWebActions);
483 QList<QAction *> actions = subMenu->actions();
491 subMenu->setTitle(item.title());
492 menu->addAction(subMenu->menuAction());
494 delete subMenu;
    [all...]
  /prebuilt/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar 
  /prebuilt/sdk/14/
android.jar 

Completed in 3524 milliseconds