/**@class android.graphics.drawable.Drawable.ConstantState
@extends java.lang.Object

 This abstract class is used by {@link android.graphics.drawable.Drawable}s to store shared constant state and data
 between Drawables. {@link android.graphics.drawable.BitmapDrawable}s created from the same resource will for instance
 share a unique bitmap stored in their ConstantState.

 <p>
 {@link #newDrawable}(Resources) can be used as a factory to create new Drawable instances
 from this ConstantState.
 </p>

 Use {@link android.graphics.drawable.Drawable#getConstantState()} to retrieve the ConstantState of a Drawable. Calling
 {@link android.graphics.drawable.Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
 Drawable.
*/
var ConstantState = {

/**Creates a new Drawable instance from its constant state.
 <p>
 <strong>Note:</strong> Using this method means density-dependent
 properties, such as pixel dimensions or bitmap images, will not be
 updated to match the density of the target display. To ensure
 correct scaling, use {@link #newDrawable}(Resources) instead to
 provide an appropriate Resources object.
@return {Object {android.graphics.drawable.Drawable}} a new drawable object based on this constant state
@see #newDrawable(Resources)
*/
newDrawable : function(  ) {},

/**Creates a new Drawable instance from its constant state using the
 specified resources. This method should be implemented for drawables
 that have density-dependent properties.
 <p>
 The default implementation for this method calls through to
 {@link #newDrawable}().
@param {Object {Resources}} res the resources of the context in which the drawable will
            be displayed
@return {Object {android.graphics.drawable.Drawable}} a new drawable object based on this constant state
*/
newDrawable : function(  ) {},

/**Creates a new Drawable instance from its constant state using the
 specified resources and theme. This method should be implemented for
 drawables that have theme-dependent properties.
 <p>
 The default implementation for this method calls through to
 {@link #newDrawable}(Resources).
@param {Object {Resources}} res the resources of the context in which the drawable will
            be displayed
@param {Object {Resources.Theme}} theme the theme of the context in which the drawable will be
              displayed
@return {Object {android.graphics.drawable.Drawable}} a new drawable object based on this constant state
*/
newDrawable : function(  ) {},

/**Return a bit mask of configuration changes that will impact
 this drawable (and thus require completely reloading it).
*/
getChangingConfigurations : function(  ) {},

/**Return whether this constant state can have a theme applied.
*/
canApplyTheme : function(  ) {},


};