Lines Matching refs:childIndex
649 * @param childIndex Index of child to check for preceding divider
650 * @return true if there should be a divider before the child at childIndex
653 protected boolean hasDividerBeforeChildAt(int childIndex) {
654 if (childIndex == getVirtualChildCount()) {
658 boolean allViewsAreGoneBefore = allViewsAreGoneBefore(childIndex);
670 private boolean allViewsAreGoneBefore(int childIndex) {
671 for (int i = childIndex - 1; i >= 0; i--) {
1441 * @param childIndex the index of the null child
1444 int measureNullChild(int childIndex) {
1455 * @param childIndex the index of the child in this view
1461 void measureChildBeforeLayout(View child, int childIndex,
1668 final int childIndex = start + dir * i;
1669 final View child = getVirtualChildAt(childIndex);
1671 childLeft += measureNullChild(childIndex);
1725 if (hasDividerBeforeChildAt(childIndex)) {
1735 i += getChildrenSkipCount(child, childIndex);