Example #1
0
 /**
  * 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);
 }
Example #2
0
 /** Intercepts a {@link View#requestLayout()} call on the given {@link View}. */
 public void requestLayout(View view) {
   ViewProxyBuilder.superRequestLayout(view);
 }
Example #3
0
 /**
  * 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);
 }
Example #4
0
 /** Intercepts an {@link View#onDraw(Canvas)} call on the given {@link View}. */
 public void onDraw(View view, Canvas canvas) {
   ViewProxyBuilder.superOnDraw(view, canvas);
 }
Example #5
0
 public void onMeasure(View view, int widthMeasureSpec, int heightMeasureSpec) {
   ViewProxyBuilder.superOnMeasure(view, widthMeasureSpec, heightMeasureSpec);
 }