Build 1.0_r1(from source)

android.graphics.drawable
Class DrawableContainer.DrawableContainerState

java.lang.Object
  extended by android.graphics.drawable.Drawable.ConstantState
      extended by android.graphics.drawable.DrawableContainer.DrawableContainerState
Direct Known Subclasses:
StateListDrawable.StateListState
Enclosing class:
DrawableContainer

public abstract static class DrawableContainer.DrawableContainerState
extends Drawable.ConstantState


Field Summary
(package private)  boolean mCanConstantState
           
(package private)  int mChangingConfigurations
           
(package private)  boolean mCheckedConstantState
           
(package private)  int mChildrenChangingConfigurations
           
(package private)  boolean mComputedConstantSize
           
(package private)  int mConstantHeight
           
(package private)  int mConstantMinimumHeight
           
(package private)  int mConstantMinimumWidth
           
(package private)  Rect mConstantPadding
           
(package private)  boolean mConstantSize
           
(package private)  int mConstantWidth
           
(package private)  Drawable[] mDrawables
           
(package private)  boolean mHaveOpacity
           
(package private)  boolean mHaveStateful
           
(package private)  int mNumChildren
           
(package private)  int mOpacity
           
(package private)  DrawableContainer mOwner
           
(package private)  boolean mStateful
           
(package private)  boolean mVariablePadding
           
 
Constructor Summary
DrawableContainer.DrawableContainerState(DrawableContainer.DrawableContainerState orig, DrawableContainer owner)
           
 
Method Summary
 int addChild(Drawable dr)
           
 boolean canConstantState()
           
 int getChangingConfigurations()
           
 int getChildCount()
           
 Drawable[] getChildren()
           
 int getConstantHeight()
           
 int getConstantMinimumHeight()
           
 int getConstantMinimumWidth()
           
 Rect getConstantPadding()
           
 int getConstantWidth()
           
 int getOpacity()
           
 void growArray(int oldSize, int newSize)
           
 boolean isConstantSize()
           
 boolean isStateful()
           
 void setConstantSize(boolean constant)
           
 void setVariablePadding(boolean variable)
          A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true).
 
Methods inherited from class android.graphics.drawable.Drawable.ConstantState
newDrawable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mOwner

final DrawableContainer mOwner

mChangingConfigurations

int mChangingConfigurations

mChildrenChangingConfigurations

int mChildrenChangingConfigurations

mDrawables

Drawable[] mDrawables

mNumChildren

int mNumChildren

mVariablePadding

boolean mVariablePadding

mConstantPadding

Rect mConstantPadding

mConstantSize

boolean mConstantSize

mComputedConstantSize

boolean mComputedConstantSize

mConstantWidth

int mConstantWidth

mConstantHeight

int mConstantHeight

mConstantMinimumWidth

int mConstantMinimumWidth

mConstantMinimumHeight

int mConstantMinimumHeight

mHaveOpacity

boolean mHaveOpacity

mOpacity

int mOpacity

mHaveStateful

boolean mHaveStateful

mStateful

boolean mStateful

mCheckedConstantState

boolean mCheckedConstantState

mCanConstantState

boolean mCanConstantState
Constructor Detail

DrawableContainer.DrawableContainerState

DrawableContainer.DrawableContainerState(DrawableContainer.DrawableContainerState orig,
                                         DrawableContainer owner)
Method Detail

getChangingConfigurations

public int getChangingConfigurations()
Specified by:
getChangingConfigurations in class Drawable.ConstantState

addChild

public final int addChild(Drawable dr)

getChildCount

public final int getChildCount()

getChildren

public final Drawable[] getChildren()

setVariablePadding

public final void setVariablePadding(boolean variable)
A boolean value indicating whether to use the maximum padding value of all frames in the set (false), or to use the padding value of the frame being shown (true). Default value is false.


getConstantPadding

public final Rect getConstantPadding()

setConstantSize

public final void setConstantSize(boolean constant)

isConstantSize

public final boolean isConstantSize()

getConstantWidth

public final int getConstantWidth()

getConstantHeight

public final int getConstantHeight()

getConstantMinimumWidth

public final int getConstantMinimumWidth()

getConstantMinimumHeight

public final int getConstantMinimumHeight()

getOpacity

public final int getOpacity()

isStateful

public final boolean isStateful()

growArray

public void growArray(int oldSize,
                      int newSize)

canConstantState

public boolean canConstantState()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature