Lines Matching defs:child
29 * {@link ViewGroup} that wraps another view and catches any possible exceptions that the child view
54 assert getChildCount() == 1 : "ErrorCatcher can only have one child";
56 View child = getChildAt(0);
58 measureChild(child, widthMeasureSpec, heightMeasureSpec);
60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec));
64 child.getClass().getCanonicalName(), t);
71 protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
73 return super.drawChild(canvas, child, drawingTime);
76 child.getClass().getCanonicalName(), t);
84 assert getChildCount() == 1 : "ErrorCatcher can only have one child";
86 View child = getChildAt(0);
88 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
91 child.getClass().getCanonicalName(), e);