Build 1.0_r1(from source)

android.graphics.drawable
Class LayerDrawable.LayerState

java.lang.Object
  extended by android.graphics.drawable.Drawable.ConstantState
      extended by android.graphics.drawable.LayerDrawable.LayerState
Direct Known Subclasses:
TransitionDrawable.TransitionState
Enclosing class:
LayerDrawable

static class LayerDrawable.LayerState
extends Drawable.ConstantState


Field Summary
(package private)  LayerDrawable.Rec[] mArray
           
(package private)  int mChangingConfigurations
           
(package private)  int mChildrenChangingConfigurations
           
(package private)  int mNum
           
 
Constructor Summary
LayerDrawable.LayerState(LayerDrawable.LayerState orig, LayerDrawable owner)
           
 
Method Summary
 boolean canConstantState()
           
 int getChangingConfigurations()
           
 int getOpacity()
           
 boolean isStateful()
           
 Drawable newDrawable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mNum

int mNum

mArray

LayerDrawable.Rec[] mArray

mChangingConfigurations

int mChangingConfigurations

mChildrenChangingConfigurations

int mChildrenChangingConfigurations
Constructor Detail

LayerDrawable.LayerState

LayerDrawable.LayerState(LayerDrawable.LayerState orig,
                         LayerDrawable owner)
Method Detail

newDrawable

public Drawable newDrawable()
Specified by:
newDrawable in class Drawable.ConstantState

getChangingConfigurations

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

getOpacity

public final int getOpacity()

isStateful

public final boolean isStateful()

canConstantState

public boolean canConstantState()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature