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