Build 1.0_r1(from source)

android.graphics.drawable
Class RotateDrawable.RotateState

java.lang.Object
  extended by android.graphics.drawable.Drawable.ConstantState
      extended by android.graphics.drawable.RotateDrawable.RotateState
Enclosing class:
RotateDrawable

static final class RotateDrawable.RotateState
extends Drawable.ConstantState

Represents the state of a rotation for a given drawable. The same rotate drawable can be invoked with different states to drive several rotations at the same time.


Field Summary
(package private)  int mChangingConfigurations
           
(package private)  float mCurrentDegrees
           
(package private)  Drawable mDrawable
           
(package private)  float mFromDegrees
           
(package private)  float mPivotX
           
(package private)  boolean mPivotXRel
           
(package private)  float mPivotY
           
(package private)  boolean mPivotYRel
           
(package private)  float mToDegrees
           
 
Constructor Summary
RotateDrawable.RotateState(RotateDrawable.RotateState source, RotateDrawable owner)
           
 
Method Summary
 boolean canConstantState()
           
 int getChangingConfigurations()
           
 Drawable newDrawable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mDrawable

Drawable mDrawable

mChangingConfigurations

int mChangingConfigurations

mPivotXRel

boolean mPivotXRel

mPivotX

float mPivotX

mPivotYRel

boolean mPivotYRel

mPivotY

float mPivotY

mFromDegrees

float mFromDegrees

mToDegrees

float mToDegrees

mCurrentDegrees

float mCurrentDegrees
Constructor Detail

RotateDrawable.RotateState

public RotateDrawable.RotateState(RotateDrawable.RotateState source,
                                  RotateDrawable 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

canConstantState

public boolean canConstantState()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature