Lines Matching refs:childIndex
560 * @param childIndex Index of child to check for preceding divider
561 * @return true if there should be a divider before the child at childIndex
564 protected boolean hasDividerBeforeChildAt(int childIndex) {
565 if (childIndex == 0) {
567 } else if (childIndex == getChildCount()) {
571 for (int i = childIndex - 1; i >= 0; i--) {
1354 * @param childIndex the index of the null child
1357 int measureNullChild(int childIndex) {
1368 * @param childIndex the index of the child in this view
1374 void measureChildBeforeLayout(View child, int childIndex,
1571 int childIndex = start + dir * i;
1572 final View child = getVirtualChildAt(childIndex);
1575 childLeft += measureNullChild(childIndex);
1629 if (hasDividerBeforeChildAt(childIndex)) {
1639 i += getChildrenSkipCount(child, childIndex);