android.graphics.drawable
Class DrawableContainer.DrawableContainerState

java.lang.Object
  extended by android.graphics.drawable.Drawable.ConstantState
      extended by android.graphics.drawable.DrawableContainer.DrawableContainerState
Enclosing class:
DrawableContainer

public abstract static class DrawableContainer.DrawableContainerState
extends Drawable.ConstantState


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)
           
 
Methods inherited from class android.graphics.drawable.Drawable.ConstantState
newDrawable, newDrawable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

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()


Copyright © 2008-2010. All Rights Reserved.