Home
last modified time | relevance | path

Searched refs:findItem (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java49 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/
DAMessage.cpp182 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/
DMenuWrapperICS.java133 public MenuItem findItem(int id) { in findItem() method in MenuWrapperICS
134 return getMenuItemWrapper(mWrappedObject.findItem(id)); in findItem()
DMenuBuilder.java409 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/
DDocumentsActivity.java476 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()
DDirectoryFragment.java463 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/
DMenu.java377 public MenuItem findItem(int id); in findItem() method
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h153 const Item *findItem(const char *name, Type type) const;
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java387 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()
DIconMenuPresenter.java150 MenuItem item = mMenu.findItem(subMenuId);
DActionMenu.java140 public MenuItem findItem(int id) { in findItem() method in ActionMenu
/frameworks/base/docs/html/training/search/
Dbackward-compat.jd80 (SearchView) menu.findItem(R.id.search).getActionView();
Dsetup.jd127 (SearchView) menu.findItem(R.id.search).getActionView();
/frameworks/base/docs/html/training/sharing/
Dshareaction.jd103 MenuItem item = menu.findItem(R.id.menu_item_share);
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java245 MenuItem item = menu.findItem(menuItemId); in configureMenuItem()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java146 MenuItem searchItem = menu.findItem(R.id.action_search); in onCreateOptionsMenu()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java530 MenuItem item = mMenu.findItem(saved.openSubMenuId); in onRestoreInstanceState()
DToolbar.java1045 final MenuItem item = menu.findItem(ss.expandedMenuItemId); in onRestoreInstanceState()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java529 MenuItem item = mMenu.findItem(saved.openSubMenuId); in onRestoreInstanceState()
DToolbar.java1050 final MenuItem item = menu.findItem(ss.expandedMenuItemId); in onRestoreInstanceState()
/frameworks/base/docs/html/training/implementing-navigation/
Dnav-drawer.jd282 menu.findItem(R.id.action_websearch).setVisible(!drawerOpen);
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd596 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);
Dmenus.jd281 add()} and retrieve items with {@link android.view.Menu#findItem findItem()} to revise their
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1304 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId); in onRestoreInstanceState()
/frameworks/base/docs/html/guide/topics/media/
Dmediarouter.jd265 MenuItem mediaRouteMenuItem = menu.findItem(R.id.media_route_menu_item);

12