English | Site Directory

Android - An Open Handset Alliance Project

android.graphics.drawable
public static abstract class

android.graphics.drawable.DrawableContainer.DrawableContainerState

java.lang.Object
android.graphics.drawable.Drawable.ConstantState
android.graphics.drawable.DrawableContainer.DrawableContainerState

Summary

Public Methods

    final    int  addChild(Drawable dr)
  synchronized      boolean  canConstantState()
    final    int  getChildCount()
    final    Drawable[]  getChildren()
    final    int  getConstantHeight()
    final    int  getConstantMinimumHeight()
    final    int  getConstantMinimumWidth()
    final    Rect  getConstantPadding()
    final    int  getConstantWidth()
    final    int  getOpacity()
        void  growArray(int oldSize, int newSize)
    final    boolean  isConstantSize()
    final    boolean  isStateful()
    final    void  setConstantSize(boolean constant)
    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).
Methods inherited from class android.graphics.drawable.Drawable.ConstantState
Methods inherited from class java.lang.Object

Details

Public Methods

public final int addChild(Drawable dr)

public synchronized boolean canConstantState()

public final int getChildCount()

public final Drawable[] getChildren()

public final int getConstantHeight()

public final int getConstantMinimumHeight()

public final int getConstantMinimumWidth()

public final Rect getConstantPadding()

public final int getConstantWidth()

public final int getOpacity()

public void growArray(int oldSize, int newSize)

public final boolean isConstantSize()

public final boolean isStateful()

public final void setConstantSize(boolean constant)

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.
Build m5-rc15g - 14 May 2008 12:50