/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/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | FragmentTuner.java | 152 MenuItem open = menu.findItem(R.id.menu_open); in updateActionMenu() 153 MenuItem share = menu.findItem(R.id.menu_share); in updateActionMenu() 154 MenuItem delete = menu.findItem(R.id.menu_delete); in updateActionMenu() 155 MenuItem rename = menu.findItem(R.id.menu_rename); in updateActionMenu() 156 MenuItem selectAll = menu.findItem(R.id.menu_select_all); in updateActionMenu() 212 menu.findItem(R.id.menu_open).setVisible(false); // "open" is never used in Files. in updateActionMenu() 215 MenuItem copy = menu.findItem(R.id.menu_copy_to_clipboard); in updateActionMenu() 216 MenuItem paste = menu.findItem(R.id.menu_paste_from_clipboard); in updateActionMenu() 219 MenuItem rename = menu.findItem(R.id.menu_rename); in updateActionMenu() 220 MenuItem moveTo = menu.findItem(R.id.menu_move_to); in updateActionMenu() [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarUsage.java | 54 .getActionView(menu.findItem(R.id.action_search)); in onCreateOptionsMenu() 62 Drawable icon = menu.findItem(mSortMode).getIcon(); in onPrepareOptionsMenu() 63 menu.findItem(R.id.action_sort).setIcon(icon); in onPrepareOptionsMenu()
|
D | ActionBarShareActionProvider.java | 42 menu.findItem(R.id.menu_item_share_provider_action_bar)); in onPrepareOptionsPanel()
|
D | ToolbarUsage.java | 53 .getActionView(menu.findItem(R.id.action_search)); in onCreateOptionsMenu()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | PopupMenuTest.java | 383 mPopupMenu.getMenu().findItem(R.id.action_delete)); 409 mPopupMenu.getMenu().findItem(R.id.action_highlight)); 432 mPopupMenu.getMenu().findItem(R.id.action_share)); 471 mPopupMenu.getMenu().findItem(R.id.action_share_circles)); 497 mPopupMenu.getMenu().findItem(R.id.action_share)); 533 mPopupMenu.getMenu().findItem(R.id.action_share).getSubMenu(). 540 mPopupMenu.getMenu().findItem(R.id.action_share_email));
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 204 const AMessage::Item *AMessage::findItem( in findItem() function in android::AMessage 256 const Item *item = findItem(name, kType##NAME); \ 323 const Item *item = findItem(name, kTypeString); in findString() 332 const Item *item = findItem(name, kTypeObject); in findObject() 341 const Item *item = findItem(name, kTypeBuffer); in findBuffer() 350 const Item *item = findItem(name, kTypeMessage); in findMessage() 361 const Item *item = findItem(name, kTypeRect); in findRect() 806 const Item *oitem = other->findItem(item.mName, item.mType); in changesFrom()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuWrapperICS.java | 138 public MenuItem findItem(int id) { in findItem() method in MenuWrapperICS 139 return getMenuItemWrapper(mWrappedObject.findItem(id)); in findItem()
|
D | MenuBuilder.java | 413 MenuItem itemToExpand = findItem(expandedId); in restoreActionViewStates() 669 public MenuItem findItem(int id) { in findItem() method in MenuBuilder 676 MenuItem possibleItem = item.getSubMenu().findItem(id); in findItem() 943 return performItemAction(findItem(id), flags); in performIdentifierAction()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | FilesActivity.java | 204 final MenuItem createDir = menu.findItem(R.id.menu_create_dir); in onPrepareOptionsMenu() 205 final MenuItem pasteFromCb = menu.findItem(R.id.menu_paste_from_clipboard); in onPrepareOptionsMenu() 206 final MenuItem settings = menu.findItem(R.id.menu_settings); in onPrepareOptionsMenu() 207 final MenuItem newWindow = menu.findItem(R.id.menu_new_window); in onPrepareOptionsMenu()
|
D | BaseActivity.java | 167 final MenuItem sort = menu.findItem(R.id.menu_sort); in onPrepareOptionsMenu() 168 final MenuItem sortSize = menu.findItem(R.id.menu_sort_size); in onPrepareOptionsMenu() 169 final MenuItem grid = menu.findItem(R.id.menu_grid); in onPrepareOptionsMenu() 170 final MenuItem list = menu.findItem(R.id.menu_list); in onPrepareOptionsMenu() 171 final MenuItem advanced = menu.findItem(R.id.menu_advanced); in onPrepareOptionsMenu() 172 final MenuItem fileSize = menu.findItem(R.id.menu_file_size); in onPrepareOptionsMenu()
|
D | DocumentsToolbar.java | 70 return getMenu().findItem(R.id.menu_search); in getSearchMenu()
|
D | DocumentsActivity.java | 230 final MenuItem createDir = menu.findItem(R.id.menu_create_dir); in onPrepareOptionsMenu() 231 final MenuItem grid = menu.findItem(R.id.menu_grid); in onPrepareOptionsMenu() 232 final MenuItem list = menu.findItem(R.id.menu_list); in onPrepareOptionsMenu() 233 final MenuItem fileSize = menu.findItem(R.id.menu_file_size); in onPrepareOptionsMenu()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | BottomNavigationViewActions.java | 82 navigationView.getMenu().findItem(menuItemId).setIcon(iconDrawable);
|
D | NavigationViewActions.java | 302 navigationView.getMenu().findItem(menuItemId).setIcon(iconDrawable);
|
/frameworks/base/core/java/android/view/ |
D | Menu.java | 378 public MenuItem findItem(int id); in findItem() method
|
/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 | 152 MenuItem item = mMenu.findItem(subMenuId);
|
D | ActionMenu.java | 140 public MenuItem findItem(int id) { in findItem() method in ActionMenu
|
/frameworks/av/include/media/stagefright/foundation/ |
D | AMessage.h | 227 const Item *findItem(const char *name, Type type) const;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 234 final MenuItem searchMenuItem = menu.findItem(R.id.locale_search_menu); in onCreateOptionsMenu()
|
/frameworks/base/docs/html/training/search/ |
D | backward-compat.jd | 80 (SearchView) menu.findItem(R.id.search).getActionView();
|
/frameworks/base/docs/html/training/appbar/ |
D | action-views.jd | 144 <strong>MenuItem searchItem = menu.findItem(R.id.action_search);</strong> 200 MenuItem actionMenuItem = menu.findItem(R.id.myActionItem);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomNavigationViewTest.java | 102 mBottomNavigation.getMenu().findItem(R.id.destination_profile)); in testNavigationSelectionListener()
|
/frameworks/base/docs/html/training/sharing/ |
D | shareaction.jd | 104 MenuItem item = menu.findItem(R.id.menu_item_share);
|