CameraAnimator

abstract class CameraAnimator<out T>(evaluator: TypeEvaluator<T>, cameraAnimatorOptions: CameraAnimatorOptions<out T>) : ValueAnimator

Base generic class for all camera animators.

Constructors

Link copied to clipboard
fun <out T> CameraAnimator(evaluator: TypeEvaluator<T>, cameraAnimatorOptions: CameraAnimatorOptions<out T>)

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

Link copied to clipboard
override fun addListener(listener: Animator.AnimatorListener?)

Add an animator listener

Link copied to clipboard
Link copied to clipboard

Add an animator update listener

Link copied to clipboard
override fun cancel()

Cancels the animation. Unlike end(), cancel() causes the animation to stop in its tracks, sending an Animator.AnimatorListener.onAnimationCancel(Animator) to its listeners, followed by an Animator.AnimatorListener.onAnimationEnd(Animator) message.

Link copied to clipboard
open override fun clone(): ValueAnimator
Link copied to clipboard
open override fun end()
Link copied to clipboard
Link copied to clipboard
open override fun getAnimatedValue(): Any

The most recent value calculated by this ValueAnimator when there is just one property being animated. This value is only sensible while the animation is running. The main purpose for this read-only property is to retrieve the value from the ValueAnimator during a call to {@link AnimatorUpdateListener#onAnimationUpdate(ValueAnimator)}, which is called during each animation frame, immediately after the value is calculated.

open fun getAnimatedValue(p0: String): Any
Link copied to clipboard
Link copied to clipboard
open override fun getDuration(): Long
Link copied to clipboard
open override fun getInterpolator(): TimeInterpolator
Link copied to clipboard
Link copied to clipboard
open fun getRepeatCount(): Int
Link copied to clipboard
open fun getRepeatMode(): Int
Link copied to clipboard
open override fun getStartDelay(): Long
Link copied to clipboard
open override fun getTotalDuration(): Long
Link copied to clipboard
Link copied to clipboard
open fun isPaused(): Boolean
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
open override fun isStarted(): Boolean
Link copied to clipboard
open override fun pause()
Link copied to clipboard
override fun removeAllListeners()

Remove all animator listeners

Link copied to clipboard

Remove all update listeners

Link copied to clipboard
override fun removeListener(listener: Animator.AnimatorListener?)

Remove an animator listener

Link copied to clipboard

Remove an animator update listener

Link copied to clipboard
open override fun resume()
Link copied to clipboard
open fun reverse()
Link copied to clipboard
Link copied to clipboard
open fun setCurrentPlayTime(p0: Long)
Link copied to clipboard
open override fun setDuration(p0: Long): ValueAnimator
Link copied to clipboard
override fun setEvaluator(value: TypeEvaluator<*>?)

Set the animator evaluator

Link copied to clipboard
open fun setFloatValues(vararg p0: Float)
Link copied to clipboard
open override fun setInterpolator(p0: TimeInterpolator)
Link copied to clipboard
open fun setIntValues(vararg p0: Int)
Link copied to clipboard
override fun setObjectValues(vararg values: Any?)

Set the animator object values

Link copied to clipboard
open fun setRepeatCount(p0: Int)
Link copied to clipboard
open fun setRepeatMode(p0: Int)
Link copied to clipboard
open override fun setStartDelay(p0: Long)
Link copied to clipboard
open fun setTarget(p0: Any?)
Link copied to clipboard
open fun setupEndValues()
Link copied to clipboard
open fun setupStartValues()
Link copied to clipboard
open fun setValues(vararg p0: PropertyValuesHolder)
Link copied to clipboard
override fun start()

Start the animator

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

Animator owner or creator.

Link copied to clipboard

Start animation value, will use current map value option from CameraOptions if null.

Link copied to clipboard
val targets: Array<out T>

Sets the values to animate between for this animation (except start value).

Link copied to clipboard
abstract val type: CameraAnimatorType

The type of CameraAnimator