HomeSort by relevance Sort by last modified time
    Searched refs:HEIGHT (Results 26 - 50 of 178) sorted by null

12 3 4 5 6 7 8

  /external/pixman/demos/
composite-test.c 9 #define HEIGHT 80
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);
srgb-trap-test.c 9 #define HEIGHT 300
89 d = malloc (WIDTH * HEIGHT * 4);
92 PIXMAN_a8r8g8b8_sRGB, WIDTH, HEIGHT, d, WIDTH * 4);
94 PIXMAN_a8r8g8b8, WIDTH, HEIGHT, d, WIDTH * 4);
99 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
  /external/skia/gm/
canvasstate.cpp 25 HEIGHT = 150,
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);
139 canvas->translate(0, 2*(fRect.height() + 10));
144 canvas->translate(0, 2*(fRect.height() + 10))
    [all...]
imageblur.cpp 13 #define HEIGHT 500
35 return SkISize::Make(WIDTH, HEIGHT);
49 int y = rand.nextULessThan(HEIGHT);
imageresizetiled.cpp 13 #define HEIGHT 480
30 return SkISize::Make(WIDTH, HEIGHT);
43 for (SkScalar y = 0; y < HEIGHT; y += tile_size) {
imageblurtiled.cpp 13 #define HEIGHT 480
29 return SkISize::Make(WIDTH, HEIGHT);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PurgeableBitmapView.java 46 private static final int HEIGHT = 450;
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
68 int[] colors = new int[STRIDE * HEIGHT];
69 for (int y = 0; y < HEIGHT; y++) {
72 int g = y * 255 / (HEIGHT - 1);
106 HEIGHT / 2, mPaint);
BitmapMesh.java 37 private static final int HEIGHT = 20;
38 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1);
63 for (int y = 0; y <= HEIGHT; y++) {
64 float fy = h * y / HEIGHT;
81 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0,
MeasureText.java 33 private static final int HEIGHT = 50;
37 int[] colors = new int[STRIDE * HEIGHT];
38 for (int y = 0; y < HEIGHT; y++) {
41 int g = y * 255 / (HEIGHT - 1);
  /packages/apps/Mms/src/com/android/mms/ui/
Divot.java 28 static final float HEIGHT = 16F;
  /external/chromium_org/third_party/skia/gm/
imageblur.cpp 13 #define HEIGHT 500
35 return SkISize::Make(WIDTH, HEIGHT);
50 int y = rand.nextULessThan(HEIGHT);
imageblur2.cpp 15 #define HEIGHT 500
48 return SkISize::Make(WIDTH, HEIGHT);
55 SkScalar dy = HEIGHT / sigmaCount;
imageresizetiled.cpp 13 #define HEIGHT 480
32 return SkISize::Make(WIDTH, HEIGHT);
45 for (SkScalar y = 0; y < HEIGHT; y += tile_size) {
imageblurtiled.cpp 13 #define HEIGHT 480
29 return SkISize::Make(WIDTH, HEIGHT);
  /cts/tests/tests/text/src/android/text/style/cts/
IconMarginSpanTest.java 33 private static final int HEIGHT = 120;
34 private static final int[] COLOR = new int[WIDTH * HEIGHT];
36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
93 assertEquals(HEIGHT, fm.bottom);
94 assertEquals(HEIGHT, fm.descent);
  /external/pixman/test/
gradient-crash-test.c 9 #define HEIGHT 200
11 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
42 { { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) },
43 { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) } }
90 for (i = 0; i < WIDTH * HEIGHT; ++i)
94 WIDTH, HEIGHT,
145 0, 0, 0, 0, 0, 0, 10 * WIDTH, HEIGHT);
alphamap.c 6 #define HEIGHT 48
44 bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp);
46 image = pixman_image_create_bits (format, WIDTH, HEIGHT, bits, WIDTH * bpp);
63 y - orig_y >= 0 && y - orig_y < HEIGHT)
178 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
186 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
208 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
210 for (j = MAX (doff, 0); j < MIN (HEIGHT, HEIGHT + doff); ++j)
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
tree.css.js 22 var HEIGHT = WIDTH / 2 + 2;
39 HEIGHT + MARGIN * 2);
48 ctx.lineTo(WIDTH / 2, HEIGHT);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ResourcePreviewHelper.java 61 /** The height of the preview rendering */
62 private static final int HEIGHT = 100;
107 .createEmptyImage(parent.getDisplay(), WIDTH, HEIGHT));
110 gd.heightHint = HEIGHT;
133 image = ImageUtils.createColoredImage(WIDTH, HEIGHT, color);
154 int height = image.getHeight(); local
155 if (width > WIDTH || height > HEIGHT) {
157 double yScale = HEIGHT / (double) height;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 58 private static final int HEIGHT = 128;
94 int height = 100; local
95 byte[] yuv = new byte[width * height * 2];
101 image = new YuvImage(yuv, mFormats[i], width, height, null);
119 image = new YuvImage(yuv, mFormats[i], width, height, null);
133 image = new YuvImage(yuv, format, -1, height, null);
139 // abnormal case: height is non-positive
142 fail("not catching illegal height");
149 image = new YuvImage(null, format, width, height, null);
158 generateTestBitmaps(WIDTH, HEIGHT);
201 int height = mTestBitmaps[0].getHeight(); local
234 int height = bitmap.getHeight(); local
354 int height = expected.getHeight(); local
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
UrlQuerySanitizerTest.java 31 private static final String TEST_URL = "http://example.com/?name=Joe+User&age=20&height=175";
42 private static final String HEIGHT = "height";
80 assertTrue(uqs.hasParameter(HEIGHT));
85 assertEquals(EXPECTED_HEIGHT, uqs.getValue(HEIGHT));
93 assertTrue(urlSet.contains(HEIGHT));
105 assertEquals(HEIGHT, pvp.mParameter);
109 uqs.addSanitizedEntry(HEIGHT, EXPECTED_HEIGHT + 1);
112 assertEquals(EXPECTED_HEIGHT + 1, uqs.getValue(HEIGHT));
116 uqs.addSanitizedEntry(HEIGHT, EXPECTED_HEIGHT)
    [all...]
  /external/chromium_org/third_party/skia/tests/
CanvasStateTest.cpp 62 const int HEIGHT = 400;
67 SkIntToScalar((HEIGHT-(2*SPACER)) / 7));
99 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
132 canvas.translate(0, 2*(rect.height() + SPACER));
150 const int HEIGHT = 400;
153 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4);
200 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
240 canvas.translate(0, SkIntToScalar(2*(layerRect.height() + (SPACER))));
241 localRegion.translate(0, 2*(layerRect.height() + SPACER));
307 const int HEIGHT = 100
    [all...]
  /external/skia/tests/
CanvasStateTest.cpp 21 const int HEIGHT = 400;
26 SkIntToScalar((HEIGHT-(2*SPACER)) / 7));
44 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
72 tmpCanvas->translate(0, rect.height() + SPACER);
81 canvas.translate(0, 2*(rect.height() + SPACER));
99 const int HEIGHT = 400;
102 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4);
133 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
170 canvas.translate(0, SkIntToScalar(2*(layerRect.height() + (SPACER))));
171 localRegion.translate(0, 2*(layerRect.height() + SPACER))
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleHairline.cpp 70 int bottom = bm.height() - i - 1;
75 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) {
79 if (!check_zeros(bm.getAddr32(right, 0), bm.height(),
88 #define HEIGHT 460
96 generate_pts(pts, N, WIDTH, HEIGHT);
112 generate_pts(pts, N, WIDTH, HEIGHT);
135 generate_pts(pts, N, WIDTH, HEIGHT);
159 generate_pts(pts, N, WIDTH, HEIGHT);
228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
232 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
    [all...]
  /external/skia/samplecode/
SampleHairline.cpp 70 int bottom = bm.height() - i - 1;
75 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) {
79 if (!check_zeros(bm.getAddr32(right, 0), bm.height(),
88 #define HEIGHT 460
96 generate_pts(pts, N, WIDTH, HEIGHT);
112 generate_pts(pts, N, WIDTH, HEIGHT);
135 generate_pts(pts, N, WIDTH, HEIGHT);
159 generate_pts(pts, N, WIDTH, HEIGHT);
228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
232 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
    [all...]

Completed in 1558 milliseconds

12 3 4 5 6 7 8