Home
last modified time | relevance | path

Searched refs:numChildren (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java71 int[] numChildren = expandableParams.mNumChildren; in readAndValidateParams() local
73 mGroups = new ArrayList<MyGroup>(numChildren.length); in readAndValidateParams()
74 for (int i = 0; i < numChildren.length; i++) { in readAndValidateParams()
75 mGroups.add(new MyGroup(numChildren[i])); in readAndValidateParams()
99 public ExpandableParams setNumChildren(int[] numChildren) { in setNumChildren() argument
100 mNumChildren = numChildren; in setNumChildren()
280 public int findGroupWithNumChildren(int numChildren, boolean atLeastOneChild) { in findGroupWithNumChildren() argument
290 if (numChildren == curNumChildren || atLeastOneChild && curNumChildren > 0) { in findGroupWithNumChildren()
360 public MyGroup(int numChildren) { in MyGroup() argument
362 children = new ArrayList<MyChild>(numChildren); in MyGroup()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewBasicTest.java87 private int expandGroup(int numChildren, boolean atLeastOneChild) { in expandGroup() argument
88 final int groupPos = mActivity.findGroupWithNumChildren(numChildren, atLeastOneChild); in expandGroup()