/**@class android.animation.StateListAnimator implements java.lang.Cloneable @extends java.lang.Object Lets you define a number of Animators that will run on the attached View depending on the View's drawable state. <p> It can be defined in an XML file with the <code><selector></code> element. Each State Animator is defined in a nested <code><item></code> element. @attr ref android.R.styleable#DrawableStates_state_focused @attr ref android.R.styleable#DrawableStates_state_window_focused @attr ref android.R.styleable#DrawableStates_state_enabled @attr ref android.R.styleable#DrawableStates_state_checkable @attr ref android.R.styleable#DrawableStates_state_checked @attr ref android.R.styleable#DrawableStates_state_selected @attr ref android.R.styleable#DrawableStates_state_activated @attr ref android.R.styleable#DrawableStates_state_active @attr ref android.R.styleable#DrawableStates_state_single @attr ref android.R.styleable#DrawableStates_state_first @attr ref android.R.styleable#DrawableStates_state_middle @attr ref android.R.styleable#DrawableStates_state_last @attr ref android.R.styleable#DrawableStates_state_pressed @attr ref android.R.styleable#StateListAnimatorItem_animation */ var StateListAnimator = { /**Associates the given animator with the provided drawable state specs so that it will be run when the View's drawable state matches the specs. @param {Object {int[]}} specs The drawable state specs to match against @param {Object {Animator}} animator The animator to run when the specs match */ addState : function( ) {}, /**Returns the current {@link android.animation.Animator} which is started because of a state change. @return {Object {android.animation.Animator}} The currently running Animator or null if no Animator is running @hide */ getRunningAnimator : function( ) {}, /** @hide */ getTarget : function( ) {}, /**Called by View @hide */ setTarget : function( ) {}, /** */ clone : function( ) {}, /**Called by View @hide */ setState : function( ) {}, /** @hide */ getTuples : function( ) {}, /**If there is an animation running for a recent state change, ends it. <p> This causes the animation to assign the end value(s) to the View. */ jumpToCurrentState : function( ) {}, /**Return a mask of the configuration parameters for which this animator may change, requiring that it be re-created. The default implementation returns whatever was provided through {@link #setChangingConfigurations}(int) or 0 by default. @return {Number} Returns a mask of the changing configuration parameters, as defined by {@link android.content.pm.ActivityInfo}. @see android.content.pm.ActivityInfo @hide */ getChangingConfigurations : function( ) {}, /**Set a mask of the configuration parameters for which this animator may change, requiring that it should be recreated from resources instead of being cloned. @param {Number} configs A mask of the changing configuration parameters, as defined by {@link android.content.pm.ActivityInfo}. @see android.content.pm.ActivityInfo @hide */ setChangingConfigurations : function( ) {}, /**Sets the changing configurations value to the union of the current changing configurations and the provided configs. This method is called while loading the animator. @hide */ appendChangingConfigurations : function( ) {}, /**Return a {@link android.content.res.ConstantState} instance that holds the shared state of this Animator. <p> This constant state is used to create new instances of this animator when needed. Default implementation creates a new {@link android.animation.StateListAnimatorConstantState}. You can override this method to provide your custom logic or return null if you don't want this animator to be cached. @return {Object {android.content.res.ConstantState}} The {@link android.content.res.ConstantState} associated to this Animator. @see android.content.res.ConstantState @see #clone() @hide */ createConstantState : function( ) {}, };