Searched refs:getGroupId (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuInflaterTest.java | 113 assertEquals(R.id.hidden_group, mMenu.findItem(R.id.hidden_by_group).getGroupId()); in testInflateAlphabeticShortcutFromXml() 167 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.first_most_item).getGroupId()); in testInflateOrderFromXml() 170 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.middle_most_item).getGroupId()); in testInflateOrderFromXml() 173 assertEquals(R.id.most_used_items, mMenu.findItem(R.id.last_most_item).getGroupId()); in testInflateOrderFromXml() 177 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.first_least_item).getGroupId()); in testInflateOrderFromXml() 180 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.middle_least_item).getGroupId()); in testInflateOrderFromXml() 184 assertEquals(R.id.least_used_items, mMenu.findItem(R.id.last_least_item).getGroupId()); in testInflateOrderFromXml() 195 mMenu.findItem(R.id.noncheckable_item_1).getGroupId()); in testInflateCheckableFromXmlNone() 199 mMenu.findItem(R.id.noncheckable_item_2).getGroupId()); in testInflateCheckableFromXmlNone() 203 mMenu.findItem(R.id.noncheckable_item_3).getGroupId()); in testInflateCheckableFromXmlNone() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SimpleExpandableListAdapterTest.java | 324 assertEquals(0, mSimpleExpandableListAdapter.getGroupId(0)); in testGetGroupId() 325 assertEquals(3, mSimpleExpandableListAdapter.getGroupId(3)); in testGetGroupId() 328 assertEquals(-1, mSimpleExpandableListAdapter.getGroupId(-1)); in testGetGroupId() 329 assertEquals(4, mSimpleExpandableListAdapter.getGroupId(4)); in testGetGroupId()
|
D | CursorTreeAdapterTest.java | 463 assertEquals(0, adapter.getGroupId(0)); in testGetGroupId() 466 assertEquals(1, adapter.getGroupId(0)); in testGetGroupId() 467 assertEquals(2, adapter.getGroupId(1)); in testGetGroupId() 471 assertEquals(0, adapter.getGroupId(2)); in testGetGroupId()
|
D | BaseExpandableListAdapterTest.java | 170 public long getGroupId(int groupPosition) { in getGroupId() method in BaseExpandableListAdapterTest.MockBaseExpandableListAdapter
|
D | PopupMenuTest.java | 380 final int currGroupId = menu.getItem(i).getGroupId(); in testGroupDivider() 382 i - 1 >= 0 ? menu.getItem(i - 1).getGroupId() : currGroupId; in testGroupDivider()
|
D | ExpandableListViewTest.java | 583 public long getGroupId(int groupPosition) { in getGroupId() method in ExpandableListViewTest.MockExpandableListAdapter
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyGroups.java | 104 public String getGroupId() { in getGroupId() method in PowerPolicyGroups.PowerPolicyGroupDef
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/ |
D | NotificationStatsTests.java | 161 if (uid == pref.getUid() && pref.getGroupId().equals("StatsdCtsGroup")) { in testNotificationChannelGroupPreferencesExtraction()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ExpandableListScenario.java | 333 public long getGroupId(int groupPosition) { in getGroupId() method in ExpandableListScenario.MyAdapter
|