AnimationSet
declare class AnimationSet extends Animation {}
AnimationSet
Instance Method
constructor
Signature
declare class AnimationSet {
constructor(shareInterpolator: boolean)
}
Description
Constructor to use when building an AnimationSet from code
clone
Signature
declare class AnimationSet {
clone(): AnimationSet
}
Description
Creates and returns a copy of this object.
setFillAfter
Signature
declare class AnimationSet {
setFillAfter(fillAfter: boolean):void
}
Description
If fillAfter is true, the transformation that this animation performed will persist when it is finished.
setFillBefore
Signature
declare class AnimationSet {
setFillBefore(fillBefore: boolean): void
}
Description
If fillBefore is true, this animation will apply its transformation before the start time of the animation.
setRepeatMode
Signature
declare class AnimationSet {
setRepeatMode(repeatMode: number): void
}
Description
Defines what this animation should do when it reaches the end.
setStartOffset
Signature
declare class AnimationSet {
setStartOffset(startOffset: number): void
}
Description
When this animation should start relative to the start time.
setDuration
Signature
declare class AnimationSet {
setDuration(durationMillis: number) :void
}
Description
Sets the duration of every child animation.
addAnimation
Signature
declare class AnimationSet {
addAnimation(a:Animation): void
}
Description
Add a child animation to this animation set
setStartTime
Signature
declare class AnimationSet {
setStartTime(startTimeMillis: number) :void
}
Description
Sets the start time of this animation and all child animations
getStartTime
Signature
declare class AnimationSet {
getStartTime(): number
}
Description
When this animation should start.
restrictDuration
Signature
declare class AnimationSet {
restrictDuration(durationMillis: number): void
}
Description
Ensure that the duration that this animation will run is not longer than durationMillis.
getDuration
Signature
declare class AnimationSet {
getDuration(): number
}
Description
The duration of an AnimationSet is defined to be the duration of the longest child animation.
computeDurationHint
Signature
declare class AnimationSet {
computeDurationHint(): number
}
Description
The duration hint of an animation set is the maximum of the duration hints of all of its component animations.
scaleCurrentDuration
Signature
declare class AnimationSet {
scaleCurrentDuration(scale: number):void
}
Description
How much to scale the duration by.
initialize
Signature
declare class AnimationSet {
initialize(width, height, parentWidth, parentHeight): void
}
Description
Initialize this animation with the dimensions of the object being animated as well as the objects parents.
reset
Signature
declare class AnimationSet {
reset(): void
}
Description
Reset the initialization state of this animation.
getAnimations
Signature
declare class AnimationSet {
getAnimations(): List<Animation>
}
Description
Gets All Animation
getTransformation
Signature
declare class AnimationSet {
getTransformation(currentTime: number, t: Transformation): boolean
}
Description
The transformation of an animation set is the concatenation of all of its component animations.
willChangeBounds
Signature
declare class AnimationSet {
willChangeBounds(): boolean
}
Description
Indicates whether or not this animation will affect the bounds of the animated view.
willChangeTransformationMatrix
Signature
declare class AnimationSet {
willChangeTransformationMatrix(): boolean
}
Description
Indicates whether or not this animation will affect the transformation matrix.