Example #1
0
 @SuppressLint("NewApi")
 @Override
 public void setTranslationY(float translationY) {
   if (proxy != null) {
     proxy.setTranslationY(translationY);
   }
   super.setTranslationY(translationY);
 }
Example #2
0
 @SuppressLint("NewApi")
 @Override
 public float getTranslationY() {
   if (proxy != null) {
     return proxy.getTranslationY();
   }
   return super.getTranslationY();
 }
Example #3
0
 @SuppressLint("NewApi")
 @Override
 public void setAlpha(float alpha) {
   if (proxy != null) {
     proxy.setAlpha(alpha);
   }
   super.setAlpha(alpha);
 }
Example #4
0
 @SuppressLint("NewApi")
 @Override
 public float getAlpha() {
   if (proxy != null) {
     return proxy.getAlpha();
   }
   return super.getAlpha();
 }
Example #5
0
 public View(Context context, AttributeSet attrs, int defStyle) {
   super(context, attrs, defStyle);
   proxy = AnimatorProxy.NEEDS_PROXY ? AnimatorProxy.wrap(this) : null;
 }
Example #6
0
 public View(Context context) {
   super(context);
   proxy = AnimatorProxy.NEEDS_PROXY ? AnimatorProxy.wrap(this) : null;
 }
 public NineViewGroup(Context context, AttributeSet attributeSet, int i) {
   super(context, attributeSet, i);
   this.mProxy = AnimatorProxy.NEEDS_PROXY ? AnimatorProxy.wrap(this) : null;
 }
 public NineViewGroup(Context context) {
   super(context);
   this.mProxy = AnimatorProxy.NEEDS_PROXY ? AnimatorProxy.wrap(this) : null;
 }