MapboxPaddingAnimator

Mapbox animator for padding property.

open class MapboxPaddingAnimator : MapboxAnimator<Array<Double>>

Constructors

MapboxPaddingAnimator
Link copied to clipboard
open fun MapboxPaddingAnimator(values: Array<Array<Double>>, updateListener: MapboxAnimator.AnimationsValueChangeListener<Array<Double>>, cancelableCallback: CancelableCallback)

Functions

addListener
Link copied to clipboard
open fun addListener(listener: Animator.AnimatorListener)
addPauseListener
Link copied to clipboard
open fun addPauseListener(listener: Animator.AnimatorPauseListener)
addUpdateListener
Link copied to clipboard
open fun addUpdateListener(listener: ValueAnimator.AnimatorUpdateListener)
areAnimatorsEnabled
Link copied to clipboard
open fun areAnimatorsEnabled(): Boolean
cancel
Link copied to clipboard
open fun cancel()
clone
Link copied to clipboard
open fun clone(): Animator
open fun clone(): ValueAnimator
end
Link copied to clipboard
open fun end()
getAnimatedFraction
Link copied to clipboard
open fun getAnimatedFraction(): Float
getAnimatedValue
Link copied to clipboard
open fun getAnimatedValue(): Any
getCurrentPlayTime
Link copied to clipboard
open fun getCurrentPlayTime(): Long
getDuration
Link copied to clipboard
open fun getDuration(): Long
getFrameDelay
Link copied to clipboard
open fun getFrameDelay(): Long
getInterpolator
Link copied to clipboard
open fun getInterpolator(): TimeInterpolator
getListeners
Link copied to clipboard
open fun getListeners(): ArrayList<Animator.AnimatorListener>
getRepeatCount
Link copied to clipboard
open fun getRepeatCount(): Int
getRepeatMode
Link copied to clipboard
open fun getRepeatMode(): Int
getStartDelay
Link copied to clipboard
open fun getStartDelay(): Long
getTarget
Link copied to clipboard
open fun getTarget(): K
getTotalDuration
Link copied to clipboard
open fun getTotalDuration(): Long
getValues
Link copied to clipboard
open fun getValues(): Array<PropertyValuesHolder>
isPaused
Link copied to clipboard
open fun isPaused(): Boolean
isRunning
Link copied to clipboard
open fun isRunning(): Boolean
isStarted
Link copied to clipboard
open fun isStarted(): Boolean
makeInvalid
Link copied to clipboard

Makes this animator invalid and prevents it from pushing any more updates to the listener. This can be used to prevent propagating final updates when the animator should be immediately canceled.

open fun makeInvalid()
ofArgb
Link copied to clipboard
open fun ofArgb(values: Array<Int>): ValueAnimator
ofFloat
Link copied to clipboard
open fun ofFloat(values: Array<Float>): ValueAnimator
ofInt
Link copied to clipboard
open fun ofInt(values: Array<Int>): ValueAnimator
ofObject
Link copied to clipboard
open fun ofObject(evaluator: TypeEvaluator, values: Array<Any>): ValueAnimator
ofPropertyValuesHolder
Link copied to clipboard
open fun ofPropertyValuesHolder(values: Array<PropertyValuesHolder>): ValueAnimator
onAnimationUpdate
Link copied to clipboard
abstract fun onAnimationUpdate(p: ValueAnimator)

Called on each animator update.

open fun onAnimationUpdate(animation: ValueAnimator)
pause
Link copied to clipboard
open fun pause()
provideEvaluator
Link copied to clipboard
abstract fun provideEvaluator(): TypeEvaluator
open fun provideEvaluator(): TypeEvaluator<Array<Double>>
removeAllListeners
Link copied to clipboard
open fun removeAllListeners()
removeAllUpdateListeners
Link copied to clipboard
open fun removeAllUpdateListeners()
removeListener
Link copied to clipboard
open fun removeListener(listener: Animator.AnimatorListener)
removePauseListener
Link copied to clipboard
open fun removePauseListener(listener: Animator.AnimatorPauseListener)
removeUpdateListener
Link copied to clipboard
open fun removeUpdateListener(listener: ValueAnimator.AnimatorUpdateListener)
resume
Link copied to clipboard
open fun resume()
reverse
Link copied to clipboard
open fun reverse()
setCurrentFraction
Link copied to clipboard
open fun setCurrentFraction(fraction: Float)
setCurrentPlayTime
Link copied to clipboard
open fun setCurrentPlayTime(playTime: Long)
setDuration
Link copied to clipboard
abstract fun setDuration(p: Long): Animator
open fun setDuration(duration: Long): ValueAnimator
setEvaluator
Link copied to clipboard
open fun setEvaluator(value: TypeEvaluator)
setFloatValues
Link copied to clipboard
open fun setFloatValues(values: Array<Float>)
setFrameDelay
Link copied to clipboard
open fun setFrameDelay(frameDelay: Long)
setInterpolator
Link copied to clipboard
open fun setInterpolator(value: TimeInterpolator)
setIntValues
Link copied to clipboard
open fun setIntValues(values: Array<Int>)
setObjectValues
Link copied to clipboard
open fun setObjectValues(values: Array<Any>)
setRepeatCount
Link copied to clipboard
open fun setRepeatCount(value: Int)
setRepeatMode
Link copied to clipboard
open fun setRepeatMode(value: Int)
setStartDelay
Link copied to clipboard
open fun setStartDelay(startDelay: Long)
setTarget
Link copied to clipboard
open fun setTarget(target: Any)
setupEndValues
Link copied to clipboard
open fun setupEndValues()
setupStartValues
Link copied to clipboard
open fun setupStartValues()
setValues
Link copied to clipboard
open fun setValues(values: Array<PropertyValuesHolder>)
start
Link copied to clipboard
open fun start()
toString
Link copied to clipboard
open fun toString(): String