Пример #1
0
 @SuppressLint("NewApi")
 @Override
 public void setTranslationY(float translationY) {
   if (proxy != null) {
     proxy.setTranslationY(translationY);
   }
   super.setTranslationY(translationY);
 }
Пример #2
0
 @SuppressLint("NewApi")
 @Override
 public float getTranslationY() {
   if (proxy != null) {
     return proxy.getTranslationY();
   }
   return super.getTranslationY();
 }
Пример #3
0
 @SuppressLint("NewApi")
 @Override
 public void setAlpha(float alpha) {
   if (proxy != null) {
     proxy.setAlpha(alpha);
   }
   super.setAlpha(alpha);
 }
Пример #4
0
 @SuppressLint("NewApi")
 @Override
 public float getAlpha() {
   if (proxy != null) {
     return proxy.getAlpha();
   }
   return super.getAlpha();
 }
Пример #5
0
 public View(Context context, AttributeSet attrs, int defStyle) {
   super(context, attrs, defStyle);
   proxy = AnimatorProxy.NEEDS_PROXY ? AnimatorProxy.wrap(this) : null;
 }
Пример #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;
 }