Home
last modified time | relevance | path

Searched refs:findItemIndex (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java130 private int findItemIndex(int id) { in findItemIndex() method in ActionMenu
143 return mItems.get(findItemIndex(id)); in findItem()
189 final int index = findItemIndex(id); in performIdentifierAction()
221 mItems.remove(findItemIndex(id)); in removeItem()
DMenuBuilder.java520 removeItemAtInt(findItemIndex(id), true); in removeItem()
667 public int findItemIndex(int id) { in findItemIndex() method in MenuBuilder
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp155 inline size_t AMessage::findItemIndex(const char *name, size_t len) const { in findItemIndex() function in android::AMessage
193 size_t i = findItemIndex(name, len); in allocateItem()
212 size_t i = findItemIndex(name, strlen(name)); in findItem()
222 size_t i = findItemIndex(name, strlen(name)); in findAsFloat()
249 size_t i = findItemIndex(name, strlen(name)); in findAsInt64()
267 size_t i = findItemIndex(name, strlen(name)); in contains()
999 if (findItemIndex(name, len) < mNumItems) { in setEntryNameAt()
1110 return name == nullptr ? countEntries() : findItemIndex(name, strlen(name)); in findEntryByName()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h309 size_t findItemIndex(const char *name, size_t len) const;
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java44 Assert.assertEquals(0, mMenu.findItemIndex(id)); in testItemId()