LeftSideSpringAnimation

class LeftSideSpringAnimation(view: View, transitionType: LeftSideSpringAnimation.TransitionType, fadingEnabled: Boolean) : Animation

A custom Android animation to perform left side animated enter and exit of a view on the screen.

Parameters

view

View to animate.

transitionType

Transition type. For more details refer to TransitionType.

fadingEnabled

Whether fading effect is enabled.

Constructors

Link copied to clipboard
fun LeftSideSpringAnimation(view: View, transitionType: LeftSideSpringAnimation.TransitionType, fadingEnabled: Boolean)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum TransitionType : Enum<LeftSideSpringAnimation.TransitionType>

Type of animation transition.

Functions

Link copied to clipboard
open override fun getTransformation(currentTime: Long, outTransformation: Transformation?): Boolean
Link copied to clipboard
open override fun initialize(width: Int, height: Int, parentWidth: Int, parentHeight: Int)
Link copied to clipboard
open override fun setAnimationListener(listener: Animation.AnimationListener)

Inherited functions

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 getDuration(): Long
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, 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 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 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()
Link copied to clipboard
open fun willChangeBounds(): Boolean
Link copied to clipboard
open fun willChangeTransformationMatrix(): Boolean