/**@class android.animation.Animator.AnimatorListener <p>An animation listener receives notifications from an animation. Notifications indicate animation related events, such as the end or the repetition of the animation.</p> */ var AnimatorListener = { /**<p>Notifies the start of the animation as well as the animation's overall play direction. This method's default behavior is to call {@link #onAnimationStart}(Animator). This method can be overridden, though not required, to get the additional play direction info when an animation starts. Skipping calling super when overriding this method results in {@link #onAnimationStart}(Animator) not getting called. @param {Object {Animator}} animation The started animation. @param {Boolean} isReverse Whether the animation is playing in reverse. */ onAnimationStart : function( ) {}, /**<p>Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.</p> <p>This method's default behavior is to call {@link #onAnimationEnd}(Animator). This method can be overridden, though not required, to get the additional play direction info when an animation ends. Skipping calling super when overriding this method results in {@link #onAnimationEnd}(Animator) not getting called. @param {Object {Animator}} animation The animation which reached its end. @param {Boolean} isReverse Whether the animation is playing in reverse. */ onAnimationEnd : function( ) {}, /**<p>Notifies the start of the animation.</p> @param {Object {Animator}} animation The started animation. */ onAnimationStart : function( ) {}, /**<p>Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.</p> @param {Object {Animator}} animation The animation which reached its end. */ onAnimationEnd : function( ) {}, /**<p>Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.</p> @param {Object {Animator}} animation The animation which was canceled. */ onAnimationCancel : function( ) {}, /**<p>Notifies the repetition of the animation.</p> @param {Object {Animator}} animation The animation which was repeated. */ onAnimationRepeat : function( ) {}, };