/** * Calls {@link View#setMeasuredDimension(int, int)} on the given {@link View}. This can be used * when overriding {@link View#onMeasure(int, int)} calls on-the-fly. */ protected final void setMeasuredDimension(View view, int width, int height) { ViewProxyBuilder.superSetMeasuredDimension(view, width, height); }
/** Intercepts a {@link View#requestLayout()} call on the given {@link View}. */ public void requestLayout(View view) { ViewProxyBuilder.superRequestLayout(view); }
/** * Intercepts an {@link View#onLayout(boolean, int, int, int, int)} call on the given {@link * View}. */ public void onLayout(View view, boolean changed, int l, int t, int r, int b) { ViewProxyBuilder.superOnLayout(view, changed, l, t, r, b); }
/** Intercepts an {@link View#onDraw(Canvas)} call on the given {@link View}. */ public void onDraw(View view, Canvas canvas) { ViewProxyBuilder.superOnDraw(view, canvas); }
public void onMeasure(View view, int widthMeasureSpec, int heightMeasureSpec) { ViewProxyBuilder.superOnMeasure(view, widthMeasureSpec, heightMeasureSpec); }