Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java43 Assert.assertEquals(item, mMenu.findItem(id)); in testItemId()
121 mMenu.findItem(2).setChecked(true); in testCheckable()
132 mMenu.findItem(2).setChecked(true); in testCheckable()
149 mMenu.findItem(2).setVisible(false); in testVisibility()
161 Assert.assertEquals(item1, mMenu.findItem(1)); in testSubMenu()
162 Assert.assertEquals(item2, mMenu.findItem(2)); in testSubMenu()
175 Assert.assertEquals(item1, mMenu.findItem(1)); in testRemove()
177 Assert.assertNull(mMenu.findItem(1)); in testRemove()
179 Assert.assertEquals(item2, mMenu.findItem(2)); in testRemove()
181 Assert.assertNull(mMenu.findItem(2)); in testRemove()
[all …]
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp210 const AMessage::Item *AMessage::findItem( in findItem() function in android::AMessage
281 const Item *item = findItem(name, kType##NAME); \
348 const Item *item = findItem(name, kTypeString); in findString()
357 const Item *item = findItem(name, kTypeObject); in findObject()
366 const Item *item = findItem(name, kTypeBuffer); in findBuffer()
375 const Item *item = findItem(name, kTypeMessage); in findMessage()
386 const Item *item = findItem(name, kTypeRect); in findRect()
833 const Item *oitem = other->findItem(item.mName, item.mType); in changesFrom()
1090 AMessage::ItemData AMessage::findItem(const char *name) const { in findItem() function in android::AMessage
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h209 ItemData findItem(const char *name) const;
304 const Item *findItem(const char *name, Type type) const;
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java79 if (menu.findItem(MENU_HELP) != null) { in prepareHelpMenuItem()
90 if (menu.findItem(MENU_HELP) != null) { in prepareHelpMenuItem()
/frameworks/base/core/java/android/view/
DMenu.java385 public MenuItem findItem(int id); in findItem() method
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java183 when(item.findItem(MENU_HELP)).thenReturn(null); in prepareHelpMenuItem_noItem_addItem()
198 when(item.findItem(MENU_HELP)).thenReturn(mock(MenuItem.class)); in prepareHelpMenuItem_hasItem_notAddItem()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java402 MenuItem itemToExpand = findItem(expandedId); in restoreActionViewStates()
649 public MenuItem findItem(int id) { in findItem() method in MenuBuilder
656 MenuItem possibleItem = item.getSubMenu().findItem(id); in findItem()
920 return performItemAction(findItem(id), flags); in performIdentifierAction()
DIconMenuPresenter.java152 MenuItem item = mMenu.findItem(subMenuId);
DActionMenu.java142 public MenuItem findItem(int id) { in findItem() method in ActionMenu
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java263 MenuItem menuItem = menu.findItem(R.id.display_mode); in onCreateOptionsMenu()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java97 MenuItem searchItem = menu.findItem(R.id.action_res); in onCreateOptionsMenu()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java99 MenuItem searchItem = menu.findItem(R.id.action_res); in onCreateOptionsMenu()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java237 MenuItem searchItem = menu.findItem(R.id.action_search); in onCreateOptionsMenu()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java784 MenuItem item = mMenu.findItem(saved.openSubMenuId); in onRestoreInstanceState()
DToolbar.java1561 final MenuItem item = menu.findItem(ss.expandedMenuItemId); in onRestoreInstanceState()
DEditor.java4201 boolean selectAllItemExists = menu.findItem(TextView.ID_SELECT_ALL) != null; in updateSelectAllItem()
4213 boolean replaceItemExists = menu.findItem(TextView.ID_REPLACE) != null; in updateReplaceItem()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1293 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId); in onRestoreInstanceState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32798 method public abstract android.view.MenuItem findItem(int);
/frameworks/base/config/
Dboot-image-profile.txt30399 HSPLcom/android/internal/view/menu/MenuBuilder;->findItem(I)Landroid/view/MenuItem;
/frameworks/base/api/
Dcurrent.txt53065 method public android.view.MenuItem findItem(int);