Lines Matching defs:child
82 protected void measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed,
86 final int childIndex = indexOfChild(child);
88 final LayoutParams params = (LayoutParams) child.getLayoutParams();
90 // To display the dividers in-between the child views, we modify their margins
107 super.measureChildWithMargins(child, parentWidthMeasureSpec, widthUsed,
114 final View child = getChildAt(i);
115 if (child != null && child.getVisibility() != GONE &&
117 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
118 drawSupportHorizontalDivider(canvas, child.getTop() - lp.topMargin);
123 final View child = getChildAt(count - 1);
125 if (child == null) {
128 bottom = child.getBottom();
137 final View child = getChildAt(i);
138 if (child != null && child.getVisibility() != GONE &&
140 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
141 drawSupportVerticalDivider(canvas, child.getLeft() - lp.leftMargin);
146 final View child = getChildAt(count - 1);
148 if (child == null) {
151 right = child.getRight();
172 * @param childIndex Index of child to check for preceding divider
173 * @return true if there should be a divider before the child at childIndex