HomeSort by relevance Sort by last modified time
    Searched refs:subMenu (Results 26 - 50 of 63) sorted by null

12 3

  /frameworks/base/core/java/com/android/internal/view/menu/
MenuPopupHelper.java 240 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
241 if (subMenu.hasVisibleItems()) {
242 MenuPopupHelper subPopup = new MenuPopupHelper(mContext, subMenu, mAnchorView, false);
246 final int count = subMenu.size();
248 MenuItem childItem = subMenu.getItem(i);
258 mPresenterCallback.onOpenSubMenu(subMenu);
ListMenuPresenter.java 135 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
136 if (!subMenu.hasVisibleItems()) return false;
139 new MenuDialogHelper(subMenu).show(null);
141 mCallback.onOpenSubMenu(subMenu);
MenuDialogHelper.java 159 public boolean onOpenSubMenu(MenuBuilder subMenu) {
161 return mPresenterCallback.onOpenSubMenu(subMenu);
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...]
MenuItemImpl.java 30 import android.view.SubMenu;
317 public SubMenu getSubMenu() {
325 void setSubMenu(SubMenuBuilder subMenu) {
326 mSubMenu = subMenu;
328 subMenu.setHeaderTitle(getTitle());
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
MenuPopupHelper.java 233 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
234 if (subMenu.hasVisibleItems()) {
235 MenuPopupHelper subPopup = new MenuPopupHelper(mContext, subMenu, mAnchorView, false);
239 final int count = subMenu.size();
241 MenuItem childItem = subMenu.getItem(i);
251 mPresenterCallback.onOpenSubMenu(subMenu);
ListMenuPresenter.java 144 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
145 if (!subMenu.hasVisibleItems()) return false;
148 new MenuDialogHelper(subMenu).show(null);
150 mCallback.onOpenSubMenu(subMenu);
MenuDialogHelper.java 162 public boolean onOpenSubMenu(MenuBuilder subMenu) {
164 return mPresenterCallback.onOpenSubMenu(subMenu);
MenuBuilder.java 25 import android.view.SubMenu;
257 private boolean dispatchSubMenuSelected(SubMenuBuilder subMenu) {
269 result = presenter.onSubMenuSelected(subMenu);
348 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
349 subMenu.saveActionViewStates(outStates);
374 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
375 subMenu.restoreActionViewStates(states);
437 public SubMenu addSubMenu(CharSequence title) {
442 public SubMenu addSubMenu(int titleRes) {
447 public SubMenu addSubMenu(int group, int id, int categoryOrder, CharSequence title)
    [all...]
MenuItemImpl.java 30 import android.view.SubMenu;
340 public SubMenu getSubMenu() {
349 void setSubMenu(SubMenuBuilder subMenu) {
350 mSubMenu = subMenu;
352 subMenu.setHeaderTitle(getTitle());
MenuItemWrapperICS.java 27 import android.view.SubMenu;
201 public SubMenu getSubMenu() {
409 public void onPrepareSubMenu(android.view.SubMenu subMenu) {
410 mInner.onPrepareSubMenu(getSubMenuWrapper(subMenu));
  /frameworks/support/v4/java/android/support/v4/view/
ActionProvider.java 22 import android.view.SubMenu;
182 * Determines if this ActionProvider has a submenu associated with it.
185 * receive a call to {@link #onPrepareSubMenu(SubMenu)} after the call to {@link
186 * #onPerformDefaultAction()} and before a submenu is displayed to the user.
188 * @return true if the item backed by this provider should have an associated submenu
195 * Called to prepare an associated submenu for the menu item backed by this ActionProvider.
198 * selected to prepare the submenu for presentation to the user. Apps may use this to create or
199 * alter submenu content right before display.
201 * @param subMenu Submenu that will be displaye
    [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/android/view/
MenuInflater.java 162 // A menu start tag denotes a submenu for an item
163 SubMenu subMenu = menuState.addSubMenuItem();
165 // Parse the submenu into returned SubMenu
166 parseMenu(parser, attrs, subMenu);
182 // a submenu, it would have been added already)
454 public SubMenu addSubMenuItem() {
456 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
SupportMenuInflater.java 35 import android.view.SubMenu;
168 // A menu start tag denotes a submenu for an item
169 SubMenu subMenu = menuState.addSubMenuItem();
171 // Parse the submenu into returned SubMenu
172 parseMenu(parser, attrs, subMenu);
188 // a submenu, it would have been added already)
459 public SubMenu addSubMenuItem() {
461 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
ActionBarImpl.java 971 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
976 if (!subMenu.hasVisibleItems()) {
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideEditorActivity.java 38 import android.view.SubMenu;
380 SubMenu subMenu = menu.addSubMenu(0, MENU_SUB_AUDIO, 0, R.string.add_music)
382 subMenu.add(0, MENU_ADD_AUDIO, 0, R.string.attach_sound);
383 subMenu.add(0, MENU_RECORD_SOUND, 0, R.string.attach_record_sound);
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneWindow.java     [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBarImplBase.java 873 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
878 if (!subMenu.hasVisibleItems()) {
882 //new MenuPopupHelper(getThemedContext(), subMenu).show();
ActionBarActivityDelegateBase.java 339 public boolean onOpenSubMenu(MenuBuilder subMenu) {
  /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...]
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarView.java     [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarView.java     [all...]
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar 

Completed in 440 milliseconds

12 3