Lines Matching defs:bitmap
74 Bitmap bitmap = bitmapDrawable.getBitmap();
75 if (bitmap == null) {
79 source.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
83 drawBitmapWithCircleOnCanvas(bitmap, canvas, source, destination);
87 * Given the source bitmap and a canvas, draws the bitmap through a circular
90 * @param bitmap The source bitmap to draw.
92 * @param source The source bound of the bitmap.
95 public void drawBitmapWithCircleOnCanvas(Bitmap bitmap, Canvas canvas,
97 // Draw bitmap through shader first.
98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP,
102 // Fit bitmap to bounds.