FileDocCategorySizeDatePackage
FixedSizeDrawable.javaAPI DocAndroid 1.5 API1109Wed May 06 22:42:00 BST 2009com.android.server.status

FixedSizeDrawable

public class FixedSizeDrawable extends android.graphics.drawable.Drawable

Fields Summary
android.graphics.drawable.Drawable
mDrawable
int
mLeft
int
mTop
int
mRight
int
mBottom
Constructors Summary
FixedSizeDrawable(android.graphics.drawable.Drawable that)

        mDrawable = that;
    
Methods Summary
public voiddraw(android.graphics.Canvas canvas)

        mDrawable.draw(canvas);
    
public intgetOpacity()

        return mDrawable.getOpacity();
    
public voidsetAlpha(int alpha)

        mDrawable.setAlpha(alpha);
    
public voidsetBounds(android.graphics.Rect bounds)

        mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
    
public voidsetBounds(int l, int t, int r, int b)

        mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
    
public voidsetColorFilter(android.graphics.ColorFilter cf)

        mDrawable.setColorFilter(cf);
    
public voidsetFixedBounds(int l, int t, int r, int b)

        mLeft = l;
        mTop = t;
        mRight = r;
        mBottom = b;