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

1 2

  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 32 import android.view.SubMenu;
193 SubMenu subMenu = menu.findItem(R.id.submenu).getSubMenu();
194 assertNotNull(subMenu);
196 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_1).isCheckable());
197 assertFalse(subMenu.findItem(R.id.nongroup_checkable_item_1).isChecked());
199 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_2).isCheckable());
200 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_2).isChecked());
202 assertTrue(subMenu.findItem(R.id.nongroup_checkable_item_3).isCheckable())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8InspectorFrontendHostCustom.cpp 78 } else if (typeString == "subMenu" && subItems->IsArray()) {
79 ContextMenu subMenu;
81 if (!populateContextMenuItems(subItemsArray, subMenu, isolate))
87 &subMenu);
  /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 39 import android.view.SubMenu;
170 // A menu start tag denotes a submenu for an item
171 SubMenu subMenu = menuState.addSubMenuItem();
173 // Parse the submenu into returned SubMenu
174 parseMenu(parser, attrs, subMenu);
190 // a submenu, it would have been added already)
465 public SubMenu addSubMenuItem() {
467 SubMenu subMenu = menu.addSubMenu(groupId, itemId, itemCategoryOrder, itemTitle)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestMenuItem.java 19 private SubMenu subMenu;
171 return subMenu != null;
175 public SubMenu getSubMenu() {
176 return subMenu;
179 public void setSubMenu(SubMenu subMenu) {
180 this.subMenu = subMenu;
  /frameworks/base/core/java/android/widget/
ShareActionProvider.java 29 import android.view.SubMenu;
196 public void onPrepareSubMenu(SubMenu subMenu) {
198 subMenu.clear();
209 subMenu.add(0, i, i, activity.loadLabel(packageManager))
216 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount,
  /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");
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java 32 import android.view.SubMenu;
212 public void onPrepareSubMenu(SubMenu subMenu) {
214 subMenu.clear();
225 subMenu.add(0, i, i, activity.loadLabel(packageManager))
232 SubMenu expandedSubMenu = subMenu.addSubMenu(Menu.NONE, collapsedActivityCount,
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuPresenter.java 269 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
270 if (!subMenu.hasVisibleItems()) return false;
272 SubMenuBuilder topSubMenu = subMenu;
282 mOpenSubMenuId = subMenu.getItem().getItemId();
283 mActionButtonPopup = new ActionButtonSubmenu(mContext, subMenu);
286 super.onSubMenuSelected(subMenu);
357 * Dismiss all submenu popups.
540 SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
541 onSubMenuSelected(subMenu);
549 // Not a submenu, but treat it like one
    [all...]
MenuBuilder.java 37 import android.view.SubMenu;
250 private boolean dispatchSubMenuSelected(SubMenuBuilder subMenu,
258 result = preferredPresenter.onSubMenuSelected(subMenu);
266 result = presenter.onSubMenuSelected(subMenu);
341 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
342 subMenu.saveActionViewStates(outStates);
367 final SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
368 subMenu.restoreActionViewStates(states);
425 public SubMenu addSubMenu(CharSequence title) {
429 public SubMenu addSubMenu(int titleRes)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuPresenter.java 248 public boolean onSubMenuSelected(SubMenuBuilder subMenu) {
249 if (!subMenu.hasVisibleItems()) {
253 SubMenuBuilder topSubMenu = subMenu;
265 mOpenSubMenuId = subMenu.getItem().getItemId();
266 mActionButtonPopup = new ActionButtonSubmenu(subMenu);
268 super.onSubMenuSelected(subMenu);
343 * Dismiss all submenu popups.
523 SubMenuBuilder subMenu = (SubMenuBuilder) item.getSubMenu();
524 onSubMenuSelected(subMenu);
532 // Not a submenu, but treat it like one
    [all...]
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...]
  /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...]
  /packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsUi.java 38 import android.view.SubMenu;
208 SubMenu subMenu = menu.addSubMenu(R.string.menu_proc_stats_duration);
210 mDurationMenus[i] = subMenu.add(0, MENU_DURATION+i, 0, sDurationLabels[i])
219 subMenu = menu.addSubMenu(R.string.menu_proc_stats_type);
220 mTypeBackgroundMenu = subMenu.add(0, MENU_TYPE_BACKGROUND, 0,
224 mTypeForegroundMenu = subMenu.add(0, MENU_TYPE_FOREGROUND, 0,
228 mTypeCachedMenu = subMenu.add(0, MENU_TYPE_CACHED, 0,
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar 
org.eclipse.jface_3.4.2.M20090107-0800.jar 
org.eclipse.jface_3.6.2.M20110210-1200.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jface_3.6.1.M20100825-0800.jar 
org.eclipse.ui.ide_3.6.2.M20101117-0800.jar 
  /prebuilts/devtools/tools/lib/
org-eclipse-jface-3.6.2.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-jface/3.6.2/
org-eclipse-jface-3.6.2.jar 
  /development/samples/training/NavigationDrawer/libs/
android-support-v4.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/
support-v4-18.0.0.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/
support-v4-19.0.0.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 1186 milliseconds

1 2