Lines Matching refs:child

52      * Id of the child that's also visible in the contracted layout.
108 final View child = getChildAt(i);
109 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
122 final View child = getChildAt(i);
125 if (child instanceof ImageFloatingTextView) {
129 ((ImageFloatingTextView) child).setNumIndentLines(mIndentLines);
132 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
134 final int childHeight = child.getMeasuredHeight();
151 final View child = getChildAt(i);
152 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
154 if (child.getVisibility() == GONE || lp.hide) {
158 if (child instanceof ImageFloatingTextView) {
159 ImageFloatingTextView textChild = (ImageFloatingTextView) child;
168 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
174 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin
192 // Where right end of child should go
204 final View child = getChildAt(i);
205 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
207 if (child.getVisibility() == GONE || lp.hide) {
211 final int childWidth = child.getMeasuredWidth();
212 final int childHeight = child.getMeasuredHeight();
226 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
235 protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
236 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
240 return super.drawChild(canvas, child, drawingTime);
272 * Set id of the child that's also visible in the contracted layout.
280 * Get id of the child that's also visible in the contracted layout.