Android Interpolator

来源:互联网 发布:卷皮折扣和淘宝哪个好 编辑:程序博客网 时间:2024/06/04 19:58

From android.view.animation.***interpolator

AccelerateDecelerateInterpolator(加-减速)

         An interpolator where the rate of change starts and ends slowly but accelerates through the middle.

AccelerateInterpolator(加速)

        An interpolator where the rate of change starts out slowly and then accelerates.

AnticipateInterpolator

       An interpolator where the change starts backward then flings forward.  (开始时向后然后再向前抛)

AnticipateOvershootInterpolator,

     An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.(开始时向后然后再向前抛,超过目标位置,最后到抛回到目标位置)

BounceInterpolator

      An interpolator where the change bounces at the end.  (弹回)

CycleInterpolator

     Repeats the animation for a specified number of cycles . The rate of change follows a sinusoidal pattern.

     ps : sinusoidal / sain?'s?id /   正弦曲线

DecelerateInterpolator(减速)

      An interpolator where the rate of change starts out quickly and and then decelerates.

LinearInterpolator

      An interpolator where the rate of change is constant

OvershootInterpolator
     An interpolator where the change flings forward and overshoots the last value then comes back. (向前抛至超过目标值再抛回)