Lines Matching refs:childIndex
713 * @param childIndex Index of child to check for preceding divider
714 * @return true if there should be a divider before the child at childIndex
717 protected boolean hasDividerBeforeChildAt(int childIndex) {
718 if (childIndex == getVirtualChildCount()) {
722 boolean allViewsAreGoneBefore = allViewsAreGoneBefore(childIndex);
734 private boolean allViewsAreGoneBefore(int childIndex) {
735 for (int i = childIndex - 1; i >= 0; i--) {
1512 * @param childIndex the index of the null child
1515 int measureNullChild(int childIndex) {
1526 * @param childIndex the index of the child in this view
1532 void measureChildBeforeLayout(View child, int childIndex,
1739 final int childIndex = start + dir * i;
1740 final View child = getVirtualChildAt(childIndex);
1742 childLeft += measureNullChild(childIndex);
1796 if (hasDividerBeforeChildAt(childIndex)) {
1806 i += getChildrenSkipCount(child, childIndex);