/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 49 Assert.assertEquals(item, mMenu.findItem(id)); in testItemId() 201 mMenu.findItem(2).setChecked(true); in testCheckable() 212 mMenu.findItem(2).setChecked(true); in testCheckable() 229 mMenu.findItem(2).setVisible(false); in testVisibility() 241 Assert.assertEquals(item1, mMenu.findItem(1)); in testSubMenu() 242 Assert.assertEquals(item2, mMenu.findItem(2)); in testSubMenu() 255 Assert.assertEquals(item1, mMenu.findItem(1)); in testRemove() 257 Assert.assertNull(mMenu.findItem(1)); in testRemove() 259 Assert.assertEquals(item2, mMenu.findItem(2)); in testRemove() 261 Assert.assertNull(mMenu.findItem(2)); in testRemove() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 182 const AMessage::Item *AMessage::findItem( in findItem() function in android::AMessage 207 const Item *item = findItem(name, kType##NAME); \ 274 const Item *item = findItem(name, kTypeString); in findString() 283 const Item *item = findItem(name, kTypeObject); in findObject() 292 const Item *item = findItem(name, kTypeBuffer); in findBuffer() 301 const Item *item = findItem(name, kTypeMessage); in findMessage() 312 const Item *item = findItem(name, kTypeRect); in findRect()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuWrapperICS.java | 133 public MenuItem findItem(int id) { in findItem() method in MenuWrapperICS 134 return getMenuItemWrapper(mWrappedObject.findItem(id)); in findItem()
|
D | MenuBuilder.java | 409 MenuItem itemToExpand = findItem(expandedId); in restoreActionViewStates() 661 public MenuItem findItem(int id) { in findItem() method in MenuBuilder 668 MenuItem possibleItem = item.getSubMenu().findItem(id); in findItem() 935 return performItemAction(findItem(id), flags); in performIdentifierAction()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsActivity.java | 476 final MenuItem searchMenu = menu.findItem(R.id.menu_search); in onCreateOptionsMenu() 543 final MenuItem createDir = menu.findItem(R.id.menu_create_dir); in onPrepareOptionsMenu() 544 final MenuItem search = menu.findItem(R.id.menu_search); in onPrepareOptionsMenu() 545 final MenuItem sort = menu.findItem(R.id.menu_sort); in onPrepareOptionsMenu() 546 final MenuItem sortSize = menu.findItem(R.id.menu_sort_size); in onPrepareOptionsMenu() 547 final MenuItem grid = menu.findItem(R.id.menu_grid); in onPrepareOptionsMenu() 548 final MenuItem list = menu.findItem(R.id.menu_list); in onPrepareOptionsMenu() 549 final MenuItem advanced = menu.findItem(R.id.menu_advanced); in onPrepareOptionsMenu() 550 final MenuItem fileSize = menu.findItem(R.id.menu_file_size); in onPrepareOptionsMenu()
|
D | DirectoryFragment.java | 463 final MenuItem open = menu.findItem(R.id.menu_open); 464 final MenuItem share = menu.findItem(R.id.menu_share); 465 final MenuItem delete = menu.findItem(R.id.menu_delete);
|
/frameworks/base/core/java/android/view/ |
D | Menu.java | 377 public MenuItem findItem(int id); in findItem() method
|
/frameworks/av/include/media/stagefright/foundation/ |
D | AMessage.h | 153 const Item *findItem(const char *name, Type type) const;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuBuilder.java | 387 MenuItem itemToExpand = findItem(expandedId); in restoreActionViewStates() 623 public MenuItem findItem(int id) { in findItem() method in MenuBuilder 630 MenuItem possibleItem = item.getSubMenu().findItem(id); in findItem() 890 return performItemAction(findItem(id), flags); in performIdentifierAction()
|
D | IconMenuPresenter.java | 150 MenuItem item = mMenu.findItem(subMenuId);
|
D | ActionMenu.java | 140 public MenuItem findItem(int id) { in findItem() method in ActionMenu
|
/frameworks/base/docs/html/training/search/ |
D | backward-compat.jd | 80 (SearchView) menu.findItem(R.id.search).getActionView();
|
D | setup.jd | 127 (SearchView) menu.findItem(R.id.search).getActionView();
|
/frameworks/base/docs/html/training/sharing/ |
D | shareaction.jd | 103 MenuItem item = menu.findItem(R.id.menu_item_share);
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 245 MenuItem item = menu.findItem(menuItemId); in configureMenuItem()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | SelectPrinterActivity.java | 146 MenuItem searchItem = menu.findItem(R.id.action_search); in onCreateOptionsMenu()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuPresenter.java | 530 MenuItem item = mMenu.findItem(saved.openSubMenuId); in onRestoreInstanceState()
|
D | Toolbar.java | 1045 final MenuItem item = menu.findItem(ss.expandedMenuItemId); in onRestoreInstanceState()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuPresenter.java | 529 MenuItem item = mMenu.findItem(saved.openSubMenuId); in onRestoreInstanceState()
|
D | Toolbar.java | 1050 final MenuItem item = menu.findItem(ss.expandedMenuItemId); in onRestoreInstanceState()
|
/frameworks/base/docs/html/training/implementing-navigation/ |
D | nav-drawer.jd | 282 menu.findItem(R.id.action_websearch).setVisible(!drawerOpen);
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | actionbar.jd | 596 MenuItem searchItem = menu.findItem(R.id.action_search); 608 <pre>menu.findItem(R.id.action_search).getActionView()</pre> 646 MenuItem menuItem = menu.findItem(R.id.actionItem); 759 MenuItem shareItem = menu.findItem(R.id.action_share);
|
D | menus.jd | 281 add()} and retrieve items with {@link android.view.Menu#findItem findItem()} to revise their
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 1304 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId); in onRestoreInstanceState()
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediarouter.jd | 265 MenuItem mediaRouteMenuItem = menu.findItem(R.id.media_route_menu_item);
|