/**@class android.graphics.drawable.LayerDrawable
 implements android.graphics.drawable.Drawable.Callback

@extends android.graphics.drawable.Drawable

 A Drawable that manages an array of other Drawables. These are drawn in array
 order, so the element with the largest index will be drawn on top.
 <p>
 It can be defined in an XML file with the <code>&lt;layer-list></code> element.
 Each Drawable in the layer is defined in a nested <code>&lt;item></code>.
 <p>
 For more information, see the guide to
 <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.

 @attr ref android.R.styleable#LayerDrawable_paddingMode
 @attr ref android.R.styleable#LayerDrawableItem_left
 @attr ref android.R.styleable#LayerDrawableItem_top
 @attr ref android.R.styleable#LayerDrawableItem_right
 @attr ref android.R.styleable#LayerDrawableItem_bottom
 @attr ref android.R.styleable#LayerDrawableItem_start
 @attr ref android.R.styleable#LayerDrawableItem_end
 @attr ref android.R.styleable#LayerDrawableItem_width
 @attr ref android.R.styleable#LayerDrawableItem_height
 @attr ref android.R.styleable#LayerDrawableItem_gravity
 @attr ref android.R.styleable#LayerDrawableItem_drawable
 @attr ref android.R.styleable#LayerDrawableItem_id
*/
var LayerDrawable = {

/** Padding mode used to nest each layer inside the padding of the previous
 layer.

 @see #setPaddingMode(int)
*/
PADDING_MODE_NEST : "0",
/** Padding mode used to stack each layer directly atop the previous layer.

 @see #setPaddingMode(int)
*/
PADDING_MODE_STACK : "1",
/** Value used for undefined start and end insets.

 @see #getLayerInsetStart(int)
 @see #getLayerInsetEnd(int)
*/
INSET_UNDEFINED : "-2147483648",
/**
*/
inflate : function(  ) {},

/**
*/
applyTheme : function(  ) {},

/**
*/
canApplyTheme : function(  ) {},

/**
@hide 
*/
isProjected : function(  ) {},

/**Adds a new layer containing the specified {@code drawable} to the end of
 the layer list and returns its index.
@param {Object {Drawable}} dr The drawable to add as a new layer.
@return {Number} The index of the new layer.
*/
addLayer : function(  ) {},

/**Looks for a layer with the given ID and returns its {@link android.graphics.drawable.Drawable}.
 <p>
 If multiple layers are found for the given ID, returns the
 {@link android.graphics.drawable.Drawable} for the matching layer at the highest index.
@param {Number} id The layer ID to search for.
@return {Object {android.graphics.drawable.Drawable}} The {@link Drawable} for the highest-indexed layer that has the
         given ID, or null if not found.
*/
findDrawableByLayerId : function(  ) {},

/**Sets the ID of a layer.
@param {Number} index The index of the layer to modify, must be in the range
              {@code 0...getNumberOfLayers()-1}.
@param {Number} id The id to assign to the layer.
@see #getId(int)
@attr ref android.R.styleable#LayerDrawableItem_id
*/
setId : function(  ) {},

/**Returns the ID of the specified layer.
@param {Number} index The index of the layer, must be in the range
              {@code 0...getNumberOfLayers()-1}.
@return {Number} The id of the layer or {@link android.view.View#NO_ID} if the
         layer has no id.
@see #setId(int, int)
@attr ref android.R.styleable#LayerDrawableItem_id
*/
getId : function(  ) {},

/**Returns the number of layers contained within this layer drawable.
@return {Number} The number of layers.
*/
getNumberOfLayers : function(  ) {},

/**Replaces the {@link android.graphics.drawable.Drawable} for the layer with the given id.
@param {Number} id The layer ID to search for.
@param {Object {Drawable}} drawable The replacement {@link Drawable}.
@return {Boolean} Whether the {@link Drawable} was replaced (could return false if
         the id was not found).
*/
setDrawableByLayerId : function(  ) {},

/**Returns the layer with the specified {@code id}.
 <p>
 If multiple layers have the same ID, returns the layer with the lowest
 index.
@param {Number} id The ID of the layer to return.
@return {Number} The index of the layer with the specified ID.
*/
findIndexByLayerId : function(  ) {},

/**Sets the drawable for the layer at the specified index.
@param {Number} index The index of the layer to modify, must be in the range
              {@code 0...getNumberOfLayers()-1}.
@param {Object {Drawable}} drawable The drawable to set for the layer.
@see #getDrawable(int)
@attr ref android.R.styleable#LayerDrawableItem_drawable
*/
setDrawable : function(  ) {},

/**Returns the drawable for the layer at the specified index.
@param {Number} index The index of the layer, must be in the range
              {@code 0...getNumberOfLayers()-1}.
@return {Object {android.graphics.drawable.Drawable}} The {@link Drawable} at the specified layer index.
@see #setDrawable(int, Drawable)
@attr ref android.R.styleable#LayerDrawableItem_drawable
*/
getDrawable : function(  ) {},

/**Sets an explicit size for the specified layer.
 <p>
 <strong>Note:</strong> Setting an explicit layer size changes the
 default layer gravity behavior. See {@link #setLayerGravity(int, int)}
 for more information.
@param {Number} index the index of the layer to adjust
@param {Number} w width in pixels, or -1 to use the intrinsic width
@param {Number} h height in pixels, or -1 to use the intrinsic height
@see #getLayerWidth(int)
@see #getLayerHeight(int)
@attr ref android.R.styleable#LayerDrawableItem_width
@attr ref android.R.styleable#LayerDrawableItem_height
*/
setLayerSize : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} w width in pixels, or -1 to use the intrinsic width
@attr ref android.R.styleable#LayerDrawableItem_width
*/
setLayerWidth : function(  ) {},

/**
@param {Number} index the index of the drawable to adjust
@return {Number} the explicit width of the layer, or -1 if not specified
@see #setLayerSize(int, int, int)
@attr ref android.R.styleable#LayerDrawableItem_width
*/
getLayerWidth : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} h height in pixels, or -1 to use the intrinsic height
@attr ref android.R.styleable#LayerDrawableItem_height
*/
setLayerHeight : function(  ) {},

/**
@param {Number} index the index of the drawable to adjust
@return {Number} the explicit height of the layer, or -1 if not specified
@see #setLayerSize(int, int, int)
@attr ref android.R.styleable#LayerDrawableItem_height
*/
getLayerHeight : function(  ) {},

/**Sets the gravity used to position or stretch the specified layer within
 its container. Gravity is applied after any layer insets (see
 {@link #setLayerInset(int, int, int, int, int)}) or padding (see
 {@link #setPaddingMode}(int)).
 <p>
 If gravity is specified as {@link Gravity#NO_GRAVITY}, the default
 behavior depends on whether an explicit width or height has been set
 (see {@link #setLayerSize(int, int, int)}), If a dimension is not set,
 gravity in that direction defaults to {@link Gravity#FILL_HORIZONTAL} or
 {@link Gravity#FILL_VERTICAL}; otherwise, gravity in that direction
 defaults to {@link Gravity#LEFT} or {@link Gravity#TOP}.
@param {Number} index the index of the drawable to adjust
@param {Number} gravity the gravity to set for the layer
@see #getLayerGravity(int)
@attr ref android.R.styleable#LayerDrawableItem_gravity
*/
setLayerGravity : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} the gravity used to position or stretch the specified layer
         within its container
@see #setLayerGravity(int, int)
@attr ref android.R.styleable#LayerDrawableItem_gravity
*/
getLayerGravity : function(  ) {},

/**Specifies the insets in pixels for the drawable at the specified index.
@param {Number} index the index of the drawable to adjust
@param {Number} l number of pixels to add to the left bound
@param {Number} t number of pixels to add to the top bound
@param {Number} r number of pixels to subtract from the right bound
@param {Number} b number of pixels to subtract from the bottom bound
@attr ref android.R.styleable#LayerDrawableItem_left
@attr ref android.R.styleable#LayerDrawableItem_top
@attr ref android.R.styleable#LayerDrawableItem_right
@attr ref android.R.styleable#LayerDrawableItem_bottom
*/
setLayerInset : function(  ) {},

/**Specifies the relative insets in pixels for the drawable at the
 specified index.
@param {Number} index the index of the layer to adjust
@param {Number} s number of pixels to inset from the start bound
@param {Number} t number of pixels to inset from the top bound
@param {Number} e number of pixels to inset from the end bound
@param {Number} b number of pixels to inset from the bottom bound
@attr ref android.R.styleable#LayerDrawableItem_start
@attr ref android.R.styleable#LayerDrawableItem_top
@attr ref android.R.styleable#LayerDrawableItem_end
@attr ref android.R.styleable#LayerDrawableItem_bottom
*/
setLayerInsetRelative : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} l number of pixels to inset from the left bound
@attr ref android.R.styleable#LayerDrawableItem_left
*/
setLayerInsetLeft : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} number of pixels to inset from the left bound
@attr ref android.R.styleable#LayerDrawableItem_left
*/
getLayerInsetLeft : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} r number of pixels to inset from the right bound
@attr ref android.R.styleable#LayerDrawableItem_right
*/
setLayerInsetRight : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} number of pixels to inset from the right bound
@attr ref android.R.styleable#LayerDrawableItem_right
*/
getLayerInsetRight : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} t number of pixels to inset from the top bound
@attr ref android.R.styleable#LayerDrawableItem_top
*/
setLayerInsetTop : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} number of pixels to inset from the top bound
@attr ref android.R.styleable#LayerDrawableItem_top
*/
getLayerInsetTop : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} b number of pixels to inset from the bottom bound
@attr ref android.R.styleable#LayerDrawableItem_bottom
*/
setLayerInsetBottom : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} number of pixels to inset from the bottom bound
@attr ref android.R.styleable#LayerDrawableItem_bottom
*/
getLayerInsetBottom : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} s number of pixels to inset from the start bound
@attr ref android.R.styleable#LayerDrawableItem_start
*/
setLayerInsetStart : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} the number of pixels to inset from the start bound, or
         {@link #INSET_UNDEFINED} if not specified
@attr ref android.R.styleable#LayerDrawableItem_start
*/
getLayerInsetStart : function(  ) {},

/**
@param {Number} index the index of the layer to adjust
@param {Number} e number of pixels to inset from the end bound, or
         {@link #INSET_UNDEFINED} if not specified
@attr ref android.R.styleable#LayerDrawableItem_end
*/
setLayerInsetEnd : function(  ) {},

/**
@param {Number} index the index of the layer
@return {Number} number of pixels to inset from the end bound
@attr ref android.R.styleable#LayerDrawableItem_end
*/
getLayerInsetEnd : function(  ) {},

/**Specifies how layer padding should affect the bounds of subsequent
 layers. The default value is {@link #PADDING_MODE_NEST}.
@param {Number} mode padding mode, one of:
            <ul>
            <li>{@link #PADDING_MODE_NEST} to nest each layer inside the
            padding of the previous layer
            <li>{@link #PADDING_MODE_STACK} to stack each layer directly
            atop the previous layer
            </ul>
@see #getPaddingMode()
@attr ref android.R.styleable#LayerDrawable_paddingMode
*/
setPaddingMode : function(  ) {},

/**
@return {Number} the current padding mode
@see #setPaddingMode(int)
@attr ref android.R.styleable#LayerDrawable_paddingMode
*/
getPaddingMode : function(  ) {},

/**
*/
invalidateDrawable : function(  ) {},

/**
*/
scheduleDrawable : function(  ) {},

/**
*/
unscheduleDrawable : function(  ) {},

/**
*/
draw : function(  ) {},

/**
*/
getChangingConfigurations : function(  ) {},

/**
*/
getPadding : function(  ) {},

/**Sets the absolute padding.
 <p>
 If padding in a dimension is specified as {@code -1}, the resolved
 padding will use the value computed according to the padding mode (see
 {@link #setPaddingMode}(int)).
 <p>
 Calling this method clears any relative padding values previously set
 using {@link #setPaddingRelative(int, int, int, int)}.
@param {Number} left the left padding in pixels, or -1 to use computed padding
@param {Number} top the top padding in pixels, or -1 to use computed padding
@param {Number} right the right padding in pixels, or -1 to use computed padding
@param {Number} bottom the bottom padding in pixels, or -1 to use computed
               padding
@attr ref android.R.styleable#LayerDrawable_paddingLeft
@attr ref android.R.styleable#LayerDrawable_paddingTop
@attr ref android.R.styleable#LayerDrawable_paddingRight
@attr ref android.R.styleable#LayerDrawable_paddingBottom
@see #setPaddingRelative(int, int, int, int)
*/
setPadding : function(  ) {},

/**Sets the relative padding.
 <p>
 If padding in a dimension is specified as {@code -1}, the resolved
 padding will use the value computed according to the padding mode (see
 {@link #setPaddingMode}(int)).
 <p>
 Calling this method clears any absolute padding values previously set
 using {@link #setPadding(int, int, int, int)}.
@param {Number} start the start padding in pixels, or -1 to use computed padding
@param {Number} top the top padding in pixels, or -1 to use computed padding
@param {Number} end the end padding in pixels, or -1 to use computed padding
@param {Number} bottom the bottom padding in pixels, or -1 to use computed
               padding
@attr ref android.R.styleable#LayerDrawable_paddingStart
@attr ref android.R.styleable#LayerDrawable_paddingTop
@attr ref android.R.styleable#LayerDrawable_paddingEnd
@attr ref android.R.styleable#LayerDrawable_paddingBottom
@see #setPadding(int, int, int, int)
*/
setPaddingRelative : function(  ) {},

/**Returns the left padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the left padding in pixels, or -1 if not explicitly specified
@see #setPadding(int, int, int, int)
@see #getPadding(Rect)
*/
getLeftPadding : function(  ) {},

/**Returns the right padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the right padding in pixels, or -1 if not explicitly specified
@see #setPadding(int, int, int, int)
@see #getPadding(Rect)
*/
getRightPadding : function(  ) {},

/**Returns the start padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the start padding in pixels, or -1 if not explicitly specified
@see #setPaddingRelative(int, int, int, int)
@see #getPadding(Rect)
*/
getStartPadding : function(  ) {},

/**Returns the end padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the end padding in pixels, or -1 if not explicitly specified
@see #setPaddingRelative(int, int, int, int)
@see #getPadding(Rect)
*/
getEndPadding : function(  ) {},

/**Returns the top padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the top padding in pixels, or -1 if not explicitly specified
@see #setPadding(int, int, int, int)
@see #setPaddingRelative(int, int, int, int)
@see #getPadding(Rect)
*/
getTopPadding : function(  ) {},

/**Returns the bottom padding in pixels.
 <p>
 A return value of {@code -1} means there is no explicit padding set for
 this dimension. As a result, the value for this dimension returned by
 {@link #getPadding}(Rect) will be computed from the child layers
 according to the padding mode (see {@link #getPaddingMode}().
@return {Number} the bottom padding in pixels, or -1 if not explicitly specified
@see #setPadding(int, int, int, int)
@see #setPaddingRelative(int, int, int, int)
@see #getPadding(Rect)
*/
getBottomPadding : function(  ) {},

/**Populates <code>outline</code> with the first available (non-empty) layer outline.
@param {Object {Outline}} outline Outline in which to place the first available layer outline
*/
getOutline : function(  ) {},

/**
*/
setHotspot : function(  ) {},

/**
*/
setHotspotBounds : function(  ) {},

/**
*/
getHotspotBounds : function(  ) {},

/**
*/
setVisible : function(  ) {},

/**
*/
setDither : function(  ) {},

/**
*/
setAlpha : function(  ) {},

/**
*/
getAlpha : function(  ) {},

/**
*/
setColorFilter : function(  ) {},

/**
*/
setTintList : function(  ) {},

/**
*/
setTintBlendMode : function(  ) {},

/**Sets the opacity of this drawable directly instead of collecting the
 states from the layers.
@param {Number} opacity The opacity to use, or {@link PixelFormat#UNKNOWN
            PixelFormat.UNKNOWN} for the default behavior
@see PixelFormat#UNKNOWN
@see PixelFormat#TRANSLUCENT
@see PixelFormat#TRANSPARENT
@see PixelFormat#OPAQUE
*/
setOpacity : function(  ) {},

/**
*/
getOpacity : function(  ) {},

/**
*/
setAutoMirrored : function(  ) {},

/**
*/
isAutoMirrored : function(  ) {},

/**
*/
jumpToCurrentState : function(  ) {},

/**
*/
isStateful : function(  ) {},

/**
@hide 
*/
hasFocusStateSpecified : function(  ) {},

/**
*/
getIntrinsicWidth : function(  ) {},

/**
*/
getIntrinsicHeight : function(  ) {},

/**
*/
getConstantState : function(  ) {},

/**
*/
mutate : function(  ) {},

/**
@hide 
*/
clearMutated : function(  ) {},

/**
*/
onLayoutDirectionChanged : function(  ) {},


};