Lines Matching refs:bitmap
71 Bitmap bitmap = drawDecoration(decoration, true, true);
73 // Draw the expected result on a bitmap
82 assertBitmapEquals(expectedBitmap, bitmap);
84 bitmap.recycle();
85 bitmap = drawDecoration(decoration, false, true);
87 assertBitmapEquals(expectedBitmap, bitmap);
89 bitmap.recycle();
90 bitmap = drawDecoration(decoration, true, false);
95 assertBitmapEquals(expectedBitmap, bitmap);
97 bitmap.recycle();
98 bitmap = drawDecoration(decoration, false, false);
102 assertBitmapEquals(expectedBitmap, bitmap);
115 Bitmap bitmap = drawDecoration(decoration, true, true);
125 assertBitmapEquals(expectedBitmap, bitmap);
127 bitmap.recycle();
128 bitmap = drawDecoration(decoration, false, true);
133 assertBitmapEquals(expectedBitmap, bitmap);
135 bitmap.recycle();
136 bitmap = drawDecoration(decoration, true, false);
139 assertBitmapEquals(expectedBitmap, bitmap);
141 bitmap.recycle();
142 bitmap = drawDecoration(decoration, false, false);
143 assertBitmapEquals(expectedBitmap, bitmap);
149 Bitmap bitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444);
150 Canvas canvas = new Canvas(bitmap);
179 return bitmap;