public class SetHardwareAnimatedViews
extends java.lang.Object
implements android.animation.Animator.AnimatorListener
Constructor and Description |
---|
SetHardwareAnimatedViews(android.view.View mainView,
android.view.View... views)
Set A View to Hardware Layer, for Hardware Acceleration during the Animation and revert at the end of animation to the previously layer type.
|
Modifier and Type | Method and Description |
---|---|
void |
onAnimationCancel(android.animation.Animator animator) |
void |
onAnimationEnd(android.animation.Animator animator) |
void |
onAnimationRepeat(android.animation.Animator animator) |
void |
onAnimationStart(android.animation.Animator animator) |
public SetHardwareAnimatedViews(@NonNull android.view.View mainView, @NonNull android.view.View... views)
mainView
- The first hardware animated Viewviews
- some other additional animated viewspublic final void onAnimationStart(android.animation.Animator animator)
onAnimationStart
in interface android.animation.Animator.AnimatorListener
public final void onAnimationEnd(android.animation.Animator animator)
onAnimationEnd
in interface android.animation.Animator.AnimatorListener
public final void onAnimationCancel(android.animation.Animator animator)
onAnimationCancel
in interface android.animation.Animator.AnimatorListener
public final void onAnimationRepeat(android.animation.Animator animator)
onAnimationRepeat
in interface android.animation.Animator.AnimatorListener