AnimatorSet
declare class AnimatorSet extends Animator {}
AnimatorSet
Instance Method
constructor
Signature
declare class AnimatorSet {
constructor(context: Context)
}
Description
Create a new AnimatorSet
start
Signature
declare class AnimatorSet {
start(): void
}
Description
Starts this animation.
end
Signature
declare class AnimatorSet {
end(): void
}
Description
Ends the animation.
cancel
Signature
declare class AnimatorSet {
cancel(): void
}
Description
Cancels the animation.
setStartDelay
Signature
declare class AnimatorSet {
setStartDelay(startDelay: number): void
}
Description
The amount of time, in milliseconds, to delay processing the animation afterstart()
is called
setDuration
Signature
declare class AnimatorSet {
setDuration(duration: number): Animator
}
Description
Sets the duration of the animation.
getDuration
Signature
declare class AnimatorSet {
getDuration(): number
}
Description
Gets the duration of the animation.
getStartDelay
Signature
declare class AnimatorSet {
getStartDelay(): number
}
Description
The amount of time, in milliseconds, to delay processing the animation afterstart()
is called.
setInterpolator
Signature
declare class AnimatorSet {
setInterpolator(value: TimeInterpolator): void
}
Description
The time interpolator used in calculating the elapsed fraction of the animation.
isRunning
Signature
declare class AnimatorSet {
isRunning(): boolean
}
Description
Returns whether this Animator is currently running (having been started and gone past any initial startDelay period and not yet ended).
addListener
Signature
declare class AnimatorSet {
addListener(listener: Animator.AnimatorListener): void
}
Description
Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.
removeListener
Signature
declare class AnimatorSet {
removeListener(listener: Animator.AnimatorListener): void
}
Description
Removes a listener from the set listening to this animation.
removeAllListeners
Signature
declare class AnimatorSet {
removeAllListeners(): void
}
Description
Removes alllisteners
andpauseListeners
from this object.
getListeners
Signature
declare class AnimatorSet {
getListeners(): ArrayList<Animator.AnimatorListener>
}
Description
Gets the set ofAnimator.AnimatorListener
objects that are currently listening for events on this Animator object.
clone
Signature
declare class AnimatorSet {
clone(): AnimationSet
}
Description
Creates and returns a copy of this object.
setTarget
Signature
declare class AnimatorSet {
setTarget(target: Object): void
}
Description
Sets the target object whose property will be animated by this animation.
setupEndValues
Signature
declare class AnimatorSet {
setupEndValues(): void
}
Description
This method tells the object to use appropriate information to extract ending values for the animation.
setupStartValues
Signature
declare class AnimatorSet {
setupStartValues(): void
}
Description
This method tells the object to use appropriate information to extract starting values for the animation.