/external/pixman/demos/ |
H A D | screen-test.c | 10 #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 D | convolution-test.c | 10 #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 D | trap-test.c | 11 #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 D | alpha-test.c | 10 #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 D | linear-gradient.c | 5 #define HEIGHT 640 macro 27 WIDTH, HEIGHT, 32 p2.y = HEIGHT << 16; 43 WIDTH, HEIGHT);
|
H A D | clip-test.c | 7 #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 D | checkerboard.c | 10 #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 D | srgb-test.c | 49 #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 D | tri-test.c | 11 #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 D | gradient-test.c | 10 #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 D | clip-in.c | 14 #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 D | composite-test.c | 9 #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 D | alpha-loop.c | 6 #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 D | a1-trap-test.c | 11 #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 D | rotate-test.c | 5 #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 D | tree.css.js | 7 /** @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 D | imagealphathreshold.cpp | 13 #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 D | imagemagnifier.cpp | 13 #define HEIGHT 500 macro 34 return SkISize::Make(WIDTH, HEIGHT); 43 SkIntToScalar(HEIGHT / 2)), 52 int y = rand.nextULessThan(HEIGHT);
|
H A D | imageblur.cpp | 13 #define HEIGHT 500 macro 35 return SkISize::Make(WIDTH, HEIGHT); 50 int y = rand.nextULessThan(HEIGHT);
|
H A D | imageblur2.cpp | 15 #define HEIGHT 500 macro 48 return SkISize::Make(WIDTH, HEIGHT); 55 SkScalar dy = HEIGHT / sigmaCount;
|
/external/skia/gm/ |
H A D | imagealphathreshold.cpp | 13 #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 D | imagemagnifier.cpp | 13 #define HEIGHT 500 macro 34 return SkISize::Make(WIDTH, HEIGHT); 43 SkIntToScalar(HEIGHT / 2)), 51 int y = rand.nextULessThan(HEIGHT);
|
H A D | canvasstate.cpp | 25 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 D | tree.css.js | 22 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 D | Intents.java | 47 public static final String HEIGHT = "SCAN_HEIGHT"; field in class:Intents.Scan
|