Searched refs:numChildren (Results 1 – 2 of 2) sorted by relevance
71 int[] numChildren = expandableParams.mNumChildren; in readAndValidateParams() local73 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() argument100 mNumChildren = numChildren; in setNumChildren()280 public int findGroupWithNumChildren(int numChildren, boolean atLeastOneChild) { in findGroupWithNumChildren() argument290 if (numChildren == curNumChildren || atLeastOneChild && curNumChildren > 0) { in findGroupWithNumChildren()360 public MyGroup(int numChildren) { in MyGroup() argument362 children = new ArrayList<MyChild>(numChildren); in MyGroup()[all …]
87 private int expandGroup(int numChildren, boolean atLeastOneChild) { in expandGroup() argument88 final int groupPos = mActivity.findGroupWithNumChildren(numChildren, atLeastOneChild); in expandGroup()