Lines Matching defs:bitmap
17 package com.android.bitmap.drawable;
32 import com.android.bitmap.BitmapCache;
105 Bitmap bitmap = placeholder.getBitmap();
107 mRect.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha);
119 * Call this method with a given bitmap to draw it onto the given canvas, masked by a circular
122 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas,
124 onDrawCircularBitmap(bitmap, canvas, src, dst, 1f);
128 * Call this method with a given bitmap to draw it onto the given canvas, masked by a circular
131 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas,
133 // Draw bitmap through shader first.
135 if (shader == null || mShaderBitmap != bitmap) {
136 shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP);
137 mShaderBitmap = bitmap;
141 // Fit bitmap to bounds.
145 // Translate bitmap to dst bounds.