Lines Matching refs:SCALE
23 #define SCALE 128 macro
30 bm.allocPixels(SkImageInfo::MakeA8(SCALE, SCALE)); in make_bitmap()
34 SkImageInfo::Make(SCALE, SCALE, ct, kOpaque_SkAlphaType)); in make_bitmap()
67 canvas->translate(0.5f * SCALE, 0.5f * SCALE); in color_wheel_native()
71 canvas->drawCircle(0.0f, 0.0f, SCALE * 0.5f, p); in color_wheel_native()
75 const SkScalar D = 0.3f * SkIntToScalar(SCALE); in color_wheel_native()
79 p.setTextSize(0.28125f * SCALE); in color_wheel_native()
106 n32bitmap.allocN32Pixels(SCALE, SCALE); in indexed_bitmap()
128 SkImageInfo info = SkImageInfo::Make(SCALE, SCALE, kIndex_8_SkColorType, in indexed_bitmap()
133 for (int y = 0; y < SCALE; ++y) { in indexed_bitmap()
134 for (int x = 0; x < SCALE; ++x) { in indexed_bitmap()
153 DEF_SIMPLE_GM(all_bitmap_configs, canvas, SCALE, 6 * SCALE) {
167 canvas->translate(0.0f, SkIntToScalar(SCALE));
173 canvas->translate(0.0f, SkIntToScalar(SCALE));
177 canvas->translate(0.0f, SkIntToScalar(2 * SCALE));
180 canvas->translate(0.0f, SkIntToScalar(SCALE));
184 canvas->translate(0.0f, SkIntToScalar(SCALE));
189 canvas->translate(0.0f, SkIntToScalar(SCALE));
197 n32bitmap.allocN32Pixels(SCALE, SCALE); in make_not_native32_color_wheel()
213 DEF_SIMPLE_GM(not_native32_bitmap_config, canvas, SCALE, SCALE) { in DEF_SIMPLE_GM() argument