Home
last modified time | relevance | path

Searched refs:findGroupIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java59 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId)); in testGroupId()
60 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1)); in testGroupId()
74 Assert.assertEquals(mMenu.findGroupIndex(GROUP_ONE), 0); in testGroup()
75 Assert.assertEquals(mMenu.findGroupIndex(GROUP_TWO), -1); in testGroup()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java499 final int i = findGroupIndex(group); in removeGroup()
654 public int findGroupIndex(int group) { in findGroupIndex() method in MenuBuilder
655 return findGroupIndex(group, 0); in findGroupIndex()
658 public int findGroupIndex(int group, int start) { in findGroupIndex() method in MenuBuilder
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java544 final int i = findGroupIndex(group); in removeGroup()
712 public int findGroupIndex(int group) { in findGroupIndex() method in MenuBuilder
713 return findGroupIndex(group, 0); in findGroupIndex()
716 public int findGroupIndex(int group, int start) { in findGroupIndex() method in MenuBuilder