FileDocCategorySizeDatePackage
FastBitmapDrawable.javaAPI DocAndroid 1.5 API1739Wed May 06 22:42:46 BST 2009com.android.launcher

FastBitmapDrawable

public class FastBitmapDrawable extends android.graphics.drawable.Drawable

Fields Summary
private android.graphics.Bitmap
mBitmap
Constructors Summary
FastBitmapDrawable(android.graphics.Bitmap b)

        mBitmap = b;
    
Methods Summary
public voiddraw(android.graphics.Canvas canvas)

        canvas.drawBitmap(mBitmap, 0.0f, 0.0f, null);
    
public android.graphics.BitmapgetBitmap()

        return mBitmap;
    
public intgetIntrinsicHeight()

        return mBitmap.getHeight();
    
public intgetIntrinsicWidth()

        return mBitmap.getWidth();
    
public intgetMinimumHeight()

        return mBitmap.getHeight();
    
public intgetMinimumWidth()

        return mBitmap.getWidth();
    
public intgetOpacity()

        return PixelFormat.TRANSLUCENT;
    
public voidsetAlpha(int alpha)

    
public voidsetColorFilter(android.graphics.ColorFilter cf)