Home
last modified time | relevance | path

Searched refs:SLIDE_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dbitmappremul.cpp21 static const int SLIDE_SIZE = 256; variable
22 static const int PIXEL_SIZE_8888 = SLIDE_SIZE / 256;
23 static const int PIXEL_SIZE_4444 = SLIDE_SIZE / 16;
26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, in init_bitmap()
35 for (int y = 0; y < SLIDE_SIZE; y++) { in make_argb8888_gradient()
37 for (int x = 0; x < SLIDE_SIZE; x++) { in make_argb8888_gradient()
52 for (int y = 0; y < SLIDE_SIZE; y++) { in make_argb4444_gradient()
54 for (int x = 0; x < SLIDE_SIZE; x++) { in make_argb4444_gradient()
69 for (int y = 0; y < SLIDE_SIZE; y++) { in make_argb8888_stripes()
71 for (int x = 0; x < SLIDE_SIZE; x++) { in make_argb8888_stripes()
[all …]
Dclippedbitmapshaders.cpp41 static const SkScalar SLIDE_SIZE = 300; variable
84 s.postTranslate(SLIDE_SIZE / 2, SLIDE_SIZE / 2); in onDraw()
95 SkScalar margin = (SLIDE_SIZE / 3 - RECT_SIZE) / 2; in onDraw()
97 SkScalar yOrigin = SLIDE_SIZE / 3 * i + margin; in onDraw()
99 SkScalar xOrigin = SLIDE_SIZE / 3 * j + margin; in onDraw()