Home
last modified time | relevance | path

Searched refs:getChildrenCount (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DSimpleExpandableListAdapterTest.java257 assertEquals(1, mSimpleExpandableListAdapter.getChildrenCount(0)); in testGetChildrenCount()
258 assertEquals(2, mSimpleExpandableListAdapter.getChildrenCount(1)); in testGetChildrenCount()
259 assertEquals(3, mSimpleExpandableListAdapter.getChildrenCount(2)); in testGetChildrenCount()
260 assertEquals(4, mSimpleExpandableListAdapter.getChildrenCount(3)); in testGetChildrenCount()
263 mSimpleExpandableListAdapter.getChildrenCount(-1); in testGetChildrenCount()
269 mSimpleExpandableListAdapter.getChildrenCount(4); in testGetChildrenCount()
DExpandableListTester.java101 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testContextMenus()
178 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testConvertionBetweenFlatAndPackedOnChildren()
232 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testSelectedPositionOnChildren()
DCursorTreeAdapterTest.java494 assertEquals(2, adapter.getChildrenCount(0)); in testGetChild()
527 assertEquals(2, adapter.getChildrenCount(0)); in testGetChildId()
536 assertEquals(0, adapter.getChildrenCount(0)); in testGetChildrenCount()
539 assertEquals(2, adapter.getChildrenCount(0)); in testGetChildrenCount()
540 assertEquals(1, adapter.getChildrenCount(1)); in testGetChildrenCount()
544 assertEquals(0, adapter.getChildrenCount(2)); in testGetChildrenCount()
574 assertEquals(2, adapter.getChildrenCount(0)); in testGetChildView()
DBaseExpandableListAdapterTest.java148 public int getChildrenCount(int groupPosition) { in getChildrenCount() method in BaseExpandableListAdapterTest.MockBaseExpandableListAdapter
DExpandableListViewTest.java407 public int getChildrenCount(int groupPosition) { in getChildrenCount() method in ExpandableListViewTest.MockExpandableListAdapter
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java281 final int curNumChildren = adapter.getChildrenCount(i); in findGroupWithNumChildren()
312 public int getChildrenCount(int groupPosition) { in getChildrenCount() method in ExpandableListScenario.MyAdapter