InstantAnimation

class InstantAnimation : Animation

An empty animation that instantly completes. Useful for replacing dynamic animations with when an animation should conditionally be instant.

Constructors

Link copied to clipboard
fun InstantAnimation()

Functions

Link copied to clipboard
open override fun getDuration(): Long
Link copied to clipboard
open override fun willChangeBounds(): Boolean
Link copied to clipboard
open override fun willChangeTransformationMatrix(): Boolean

Inherited functions

Link copied to clipboard
open fun applyTransformation(p0: Float, p1: Transformation)
Link copied to clipboard
open fun cancel()
Link copied to clipboard
open override fun clone(): Animation
Link copied to clipboard
open fun computeDurationHint(): Long
Link copied to clipboard
open fun ensureInterpolator()
Link copied to clipboard
open fun finalize()
Link copied to clipboard
open fun getBackgroundColor(): Int
Link copied to clipboard
open fun getDetachWallpaper(): Boolean
Link copied to clipboard
open fun getFillAfter(): Boolean
Link copied to clipboard
open fun getFillBefore(): Boolean
Link copied to clipboard
open fun getInterpolator(): Interpolator
Link copied to clipboard
open fun getRepeatCount(): Int
Link copied to clipboard
open fun getRepeatMode(): Int
Link copied to clipboard
open fun getScaleFactor(): Float
Link copied to clipboard
open fun getStartOffset(): Long
Link copied to clipboard
open fun getStartTime(): Long
Link copied to clipboard
open fun getTransformation(p0: Long, p1: Transformation): Boolean
open fun getTransformation(p0: Long, p1: Transformation, p2: Float): Boolean
Link copied to clipboard
open fun getZAdjustment(): Int
Link copied to clipboard
open fun hasEnded(): Boolean
Link copied to clipboard
open fun hasStarted(): Boolean
Link copied to clipboard
open fun initialize(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun isFillEnabled(): Boolean
Link copied to clipboard
open fun isInitialized(): Boolean
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun resolveSize(p0: Int, p1: Float, p2: Int, p3: Int): Float
Link copied to clipboard
open fun restrictDuration(p0: Long)
Link copied to clipboard
open fun scaleCurrentDuration(p0: Float)
Link copied to clipboard
open fun setAnimationListener(p0: Animation.AnimationListener)
Link copied to clipboard
open fun setBackgroundColor(p0: Int)
Link copied to clipboard
open fun setDetachWallpaper(p0: Boolean)
Link copied to clipboard
open fun setDuration(p0: Long)
Link copied to clipboard
open fun setFillAfter(p0: Boolean)
Link copied to clipboard
open fun setFillBefore(p0: Boolean)
Link copied to clipboard
open fun setFillEnabled(p0: Boolean)
Link copied to clipboard
open fun setInterpolator(p0: Interpolator)
open fun setInterpolator(p0: Context, p1: Int)
Link copied to clipboard
open fun setRepeatCount(p0: Int)
Link copied to clipboard
open fun setRepeatMode(p0: Int)
Link copied to clipboard
open fun setStartOffset(p0: Long)
Link copied to clipboard
open fun setStartTime(p0: Long)
Link copied to clipboard
open fun setZAdjustment(p0: Int)
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun startNow()