Android Interpolator

本文详细介绍了Android中各种动画插值器的功能和使用场景,包括加减速、加速、预期待抛、过待抛、弹回等插值器,以及线性插值器和周期插值器的工作原理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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. (向前抛至超过目标值再抛回)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值