Searched refs:HEIGHT (Results 1 - 25 of 103) sorted by relevance

12345

/external/pixman/demos/
H A Dscreen-test.c10 #define HEIGHT 40 macro
12 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4);
13 uint32_t *src2 = malloc (WIDTH * HEIGHT * 4);
14 uint32_t *src3 = malloc (WIDTH * HEIGHT * 4);
15 uint32_t *dest = malloc (3 * WIDTH * 2 * HEIGHT * 4);
20 for (i = 0; i < WIDTH * HEIGHT; ++i)
27 for (i = 0; i < 3 * WIDTH * 2 * HEIGHT; ++i)
32 simg1 = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src1, WIDTH * 4);
33 simg2 = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src2, WIDTH * 4);
34 simg3 = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src
[all...]
H A Dconvolution-test.c10 #define HEIGHT 200 macro
14 uint32_t *src = malloc (WIDTH * HEIGHT * 4);
15 uint32_t *mask = malloc (WIDTH * HEIGHT * 4);
16 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
28 for (i = 0; i < WIDTH * HEIGHT; ++i)
35 simg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src, WIDTH * 4);
36 mimg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, mask, WIDTH * 4);
37 dimg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);
42 pixman_image_composite (PIXMAN_OP_OVER, simg, mimg, dimg, 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
H A Dtrap-test.c11 #define HEIGHT 200 macro
18 uint32_t *bits = malloc (WIDTH * HEIGHT * 4);
19 uint32_t *mbits = malloc (WIDTH * HEIGHT);
21 memset (mbits, 0, WIDTH * HEIGHT);
22 memset (bits, 0xff, WIDTH * HEIGHT * 4);
32 mask_img = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, mbits, WIDTH);
34 dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4);
40 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
H A Dalpha-test.c10 #define HEIGHT 200 macro
12 uint32_t *alpha = malloc (WIDTH * HEIGHT * 4);
13 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
14 uint32_t *src = malloc (WIDTH * HEIGHT * 4);
50 for (i = 0; i < WIDTH * HEIGHT; ++i)
54 WIDTH, HEIGHT,
58 for (i = 0; i < WIDTH * HEIGHT; ++i)
62 WIDTH, HEIGHT,
66 for (i = 0; i < WIDTH * HEIGHT; ++i)
70 WIDTH, HEIGHT,
[all...]
H A Dlinear-gradient.c5 #define HEIGHT 640 macro
27 WIDTH, HEIGHT,
32 p2.y = HEIGHT << 16;
43 WIDTH, HEIGHT);
H A Dclip-test.c7 #define HEIGHT 200 macro
12 uint32_t *pixels = malloc (WIDTH * HEIGHT * 4);
15 for (i = 0; i < WIDTH * HEIGHT; ++i)
19 WIDTH, HEIGHT,
37 pixman_int_to_fixed (HEIGHT) };
71 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
82 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
88 printf ("w, h: %x\n", src[(HEIGHT - 1) * 100 + (WIDTH - 1)]);
H A Dcheckerboard.c10 #define HEIGHT 400 macro
24 WIDTH, HEIGHT,
28 WIDTH, HEIGHT,
31 for (i = 0; i < HEIGHT / TILE_SIZE; ++i)
36 double v = (double)(i + 1) / (HEIGHT / TILE_SIZE);
66 WIDTH, HEIGHT);
H A Dsrgb-test.c49 #define HEIGHT 200 macro
53 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4);
58 WIDTH, HEIGHT,
62 WIDTH, HEIGHT,
66 for (y = 0; y < HEIGHT; y ++)
78 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
H A Dtri-test.c11 #define HEIGHT 200 macro
25 uint32_t *bits = malloc (WIDTH * HEIGHT * 4);
28 for (i = 0; i < WIDTH * HEIGHT; ++i)
29 bits[i] = (i / HEIGHT) * 0x01010000;
32 dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4);
H A Dgradient-test.c10 #define HEIGHT 200 macro
12 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
45 for (i = 0; i < WIDTH * HEIGHT; ++i)
49 WIDTH, HEIGHT,
79 0, 0, 0, 0, 0, 0, 10 * WIDTH, HEIGHT);
83 printf ("w, h: %x\n", dest[(HEIGHT - 1) * 100 + (WIDTH - 1)]);
H A Dclip-in.c14 #define HEIGHT 200 macro
19 uint32_t *bits = malloc (WIDTH * HEIGHT * 4);
28 pixman_image_t *dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, 4 * WIDTH);
30 memset (bits, 0xff, WIDTH * HEIGHT * 4);
H A Dcomposite-test.c9 #define HEIGHT 80 macro
94 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
95 uint32_t *src = malloc (WIDTH * HEIGHT * 4);
99 pixman_point_fixed_t p2 = { (WIDTH + 10) << 16, (HEIGHT - 10) << 16 };
125 parrot = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, (uint32_t *)parrot_bits, WIDTH * 4);
130 WIDTH, HEIGHT,
149 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
151 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
153 WIDTH, HEIGHT, WIDTH * 4);
/external/pixman/test/
H A Dalpha-loop.c6 #define HEIGHT 200 macro
16 alpha = make_random_bytes (WIDTH * HEIGHT);
17 src = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);
18 dest = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4);
20 pixman_image_t *a = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, (uint32_t *)alpha, WIDTH);
21 pixman_image_t *d = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);
22 pixman_image_t *s = pixman_image_create_bits (PIXMAN_a2r10g10b10, WIDTH, HEIGHT, src, WIDTH * 4);
29 pixman_image_composite (PIXMAN_OP_SRC, s, NULL, d, 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
H A Da1-trap-test.c11 #define HEIGHT 20 macro
18 uint32_t *bits = malloc (WIDTH * HEIGHT * 4);
19 uint32_t *mbits = malloc (WIDTH * HEIGHT);
21 memset (mbits, 0, WIDTH * HEIGHT);
22 memset (bits, 0xff, WIDTH * HEIGHT * 4);
33 PIXMAN_a1, WIDTH, HEIGHT, mbits, WIDTH);
36 PIXMAN_a8r8g8b8, WIDTH, HEIGHT, bits, WIDTH * 4);
42 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
H A Drotate-test.c5 #define HEIGHT 32 macro
28 { v10, v11, HEIGHT * pixman_fixed_1 / 2 }, \
64 uint32_t *bytes = malloc (WIDTH * HEIGHT * 4);
67 prng_randmemset (bytes, WIDTH * HEIGHT * 4, 0);
70 format, WIDTH, HEIGHT, bytes, WIDTH * 4);
94 0, 0, 0, 0, WIDTH / 2, HEIGHT / 2, local
95 WIDTH, HEIGHT); local
/external/chromium_org/ui/webui/resources/css/
H A Dtree.css.js7 /** @const */ var HEIGHT = WIDTH / 2 + 2; variable
12 HEIGHT + MARGIN * 2);
20 ctx.lineTo(WIDTH / 2, HEIGHT);
/external/chromium_org/third_party/skia/gm/
H A Dimagealphathreshold.cpp13 #define HEIGHT 500 macro
37 return SkISize::Make(WIDTH, HEIGHT);
42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
49 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f);
62 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2),
65 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2),
68 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2),
71 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT /
[all...]
H A Dimagemagnifier.cpp13 #define HEIGHT 500 macro
34 return SkISize::Make(WIDTH, HEIGHT);
43 SkIntToScalar(HEIGHT / 2)),
52 int y = rand.nextULessThan(HEIGHT);
H A Dimageblur.cpp13 #define HEIGHT 500 macro
35 return SkISize::Make(WIDTH, HEIGHT);
50 int y = rand.nextULessThan(HEIGHT);
H A Dimageblur2.cpp15 #define HEIGHT 500 macro
48 return SkISize::Make(WIDTH, HEIGHT);
55 SkScalar dy = HEIGHT / sigmaCount;
/external/skia/gm/
H A Dimagealphathreshold.cpp13 #define HEIGHT 500 macro
37 return SkISize::Make(WIDTH, HEIGHT);
42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
49 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f);
62 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2),
65 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2),
68 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2),
71 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT /
[all...]
H A Dimagemagnifier.cpp13 #define HEIGHT 500 macro
34 return SkISize::Make(WIDTH, HEIGHT);
43 SkIntToScalar(HEIGHT / 2)),
51 int y = rand.nextULessThan(HEIGHT);
H A Dcanvasstate.cpp25 HEIGHT = 150, enumerator in enum:skiagm::CanvasStateGM::__anon30447
39 fSize.set(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT));
53 fOutlineRect = SkRect::MakeXYWH(1, 1, WIDTH-2, HEIGHT-2);
54 fFillRect = SkRect::MakeXYWH(10, 10, WIDTH-20, HEIGHT-20);
63 return SkISize::Make(WIDTH*3, HEIGHT*4);
91 canvas->translate(SkIntToScalar(x*WIDTH), SkIntToScalar(y*HEIGHT));
118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7);
127 return SkISize::Make(WIDTH, HEIGHT);
165 HEIGHT = 400, enumerator in enum:skiagm::CanvasLayerStateGM::__anon30448
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
H A Dtree.css.js22 var HEIGHT = WIDTH / 2 + 2; variable
39 HEIGHT + MARGIN * 2);
48 ctx.lineTo(WIDTH / 2, HEIGHT);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DIntents.java47 public static final String HEIGHT = "SCAN_HEIGHT"; field in class:Intents.Scan

Completed in 1126 milliseconds

12345