@Override public ViewPropertyAnimator translationX(float value) { animateProperty(TRANSLATION_X, value); return this; }
@Override public ViewPropertyAnimator rotationBy(float value) { animatePropertyBy(ROTATION, value); return this; }
@Override public ViewPropertyAnimator xBy(float value) { animatePropertyBy(X, value); return this; }
@Override public void onMoveMotionEvent(MotionEvent ev, float diffX, float diffY) { float translationY = ViewHelper.getTranslationY(mInterceptionLayout) - mScrollYOnDownMotion + diffY; if (translationY < -mIntersectionHeight) { translationY = -mIntersectionHeight; } else if (getScreenHeight() - mHeaderBarHeight < translationY) { translationY = getScreenHeight() - mHeaderBarHeight; } slideTo(translationY, true); }
@Override public ViewPropertyAnimator y(float value) { animateProperty(Y, value); return this; }
@Override public void onMoveMotionEvent(MotionEvent ev, float diffX, float diffY) { float translationY = ViewHelper.getTranslationY(mInterceptionLayout) - mScrollYOnDownMotion + diffY; if (translationY < -mIntersectionHeight) { translationY = -mIntersectionHeight; } else if (getScreenHeight() - mHeaderBarHeight < translationY) { translationY = getScreenHeight() - mHeaderBarHeight; } slideTo(translationY, true); }
@Override public ViewPropertyAnimator y(float value) { animateProperty(Y, value); return this; }
@Override public ViewPropertyAnimator translationXBy(float value) { animatePropertyBy(TRANSLATION_X, value); return this; }
@Override public ViewPropertyAnimator translationX(float value) { animateProperty(TRANSLATION_X, value); return this; }
@Override public ViewPropertyAnimator yBy(float value) { animatePropertyBy(Y, value); return this; }
@Override public ViewPropertyAnimator rotationY(float value) { animateProperty(ROTATION_Y, value); return this; }
@Override public ViewPropertyAnimator alphaBy(float value) { animatePropertyBy(ALPHA, value); return this; }
@Override public ViewPropertyAnimator scaleX(float value) { animateProperty(SCALE_X, value); return this; }
@Override public ViewPropertyAnimator translationXBy(float value) { animatePropertyBy(TRANSLATION_X, value); return this; }
@Override public ViewPropertyAnimator translationY(float value) { animateProperty(TRANSLATION_Y, value); return this; }
@Override public ViewPropertyAnimator rotationXBy(float value) { animatePropertyBy(ROTATION_X, value); return this; }
@Override public ViewPropertyAnimator rotationX(float value) { animateProperty(ROTATION_X, value); return this; }
@Override public ViewPropertyAnimator alpha(float value) { animateProperty(ALPHA, value); return this; }
@Override public ViewPropertyAnimator rotationYBy(float value) { animatePropertyBy(ROTATION_Y, value); return this; }
@Override public ViewPropertyAnimator translationY(float value) { animateProperty(TRANSLATION_Y, value); return this; }