Decelerate Animator
class DecelerateAnimator @JvmOverloads() constructor(context: Context, mBounceCoeff: Float, isBouncing: Boolean) : ValueAnimator
Content copied to clipboard
减速动画,默认启用回弹效果。
Author
Simon Lee
Constructors
DecelerateAnimator
Link copied to clipboard
DecelerateAnimator
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Functions
getDistanceByDuration
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
getDistanceByVelocity
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
getDurationByDistance
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
getDurationByVelocity
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
getVelocityByDistance
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
reviseDistance
Link copied to clipboard
fun reviseDistance(distance: Float, startValue: Float, modulus: Float): Float
Content copied to clipboard
setFlingFrictionRatio
Link copied to clipboard
startAnimator
Link copied to clipboard
fun startAnimator(startValue: Float, finalValue: Float, maxDuration: Long)
Content copied to clipboard
fun startAnimator(startValue: Float, minFinalValue: Float, maxFinalValue: Float, velocity: Float)
Content copied to clipboard
startAnimator_Distance
Link copied to clipboard
fun startAnimator_Distance(startValue: Float, distance: Float, modulus: Float)
Content copied to clipboard
startAnimator_Velocity
Link copied to clipboard
fun startAnimator_Velocity(startValue: Float, velocity: Float, modulus: Float)
Content copied to clipboard