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

12 3 4 5 6

  /packages/apps/Mms/src/com/android/mms/ui/
Divot.java 28 static final float HEIGHT = 16F;
  /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);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
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);
ScaleToFit.java 60 private static final int HEIGHT = 52;
61 private final RectF mDstR = new RectF(0, 0, WIDTH, HEIGHT);
115 canvas.drawText(sFitLabels[j], 0, HEIGHT*2/3, mLabelPaint);
  /external/pixman/demos/
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);
conical-test.c 8 #define HEIGHT (SIZE * NUM_ROWS)
59 WIDTH, HEIGHT,
  /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)
lowlevel-blt-bench.c 45 #define HEIGHT 1080
46 #define BUFSIZE (WIDTH * HEIGHT * 4)
118 info->width, info->height);
148 int32_t height)
163 info.height = height;
225 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 1, 0, WIDTH - 64, HEIGHT);
253 if (y + h > HEIGHT)
283 if (y + h > HEIGHT)
396 WIDTH, HEIGHT,
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/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/mesa/src/src/gallium/tests/graw/
clear.c 19 static const int HEIGHT = 300;
71 templat.height0 = HEIGHT;
96 fb.height = HEIGHT;
quad-tex.c 8 static const int HEIGHT = 300;
180 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
196 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 1000);
tex-srgb.c 8 static const int HEIGHT = 300;
204 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
209 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);
tex-swizzle.c 15 static const int HEIGHT = 300;
162 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
167 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);
tri.c 11 static const int HEIGHT = 300;
117 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
135 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 1000);
  /external/mesa3d/src/gallium/tests/graw/
clear.c 19 static const int HEIGHT = 300;
71 templat.height0 = HEIGHT;
96 fb.height = HEIGHT;
  /external/skia/gm/
morphology.cpp 12 #define HEIGHT 480
45 return make_isize(WIDTH, HEIGHT);
gammatext.cpp 47 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(),
111 #define HEIGHT 480
125 return make_isize(1024, HEIGHT);
129 SkPoint pts[] = { { 0, 0 }, { 0, SkIntToScalar(HEIGHT) } };
140 SkRect r = { 0, 0, SkIntToScalar(1024), SkIntToScalar(HEIGHT) };
172 SkScalar stopy = SkIntToScalar(HEIGHT);
180 static_cast<float>(HEIGHT) - SkScalarToFloat(y),
  /external/skia/tests/
CanvasStateTest.cpp 20 const int HEIGHT = 400;
23 SkRect rect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7);
41 bitmaps[j].setConfig(configs[i], WIDTH, HEIGHT);
68 tmpCanvas->translate(0, rect.height() + SPACER);
77 canvas.translate(0, 2*(rect.height() + SPACER));
94 const int HEIGHT = 400;
97 SkRect layerRect = SkRect::MakeWH(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT / 4));
129 bitmaps[i].setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT);
166 canvas.translate(0, 2*(layerRect.height() + SPACER));
167 localRegion.translate(0, 2*(layerRect.height() + SPACER))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
tri.c 29 #define HEIGHT 300
136 tmplt.height0 = HEIGHT;
166 p->framebuffer.height = HEIGHT;
176 float half_height = (float)HEIGHT / 2.0f;
182 bias = (float)HEIGHT;
  /external/mesa3d/src/gallium/tests/trivial/
tri.c 29 #define HEIGHT 300
136 tmplt.height0 = HEIGHT;
166 p->framebuffer.height = HEIGHT;
176 float half_height = (float)HEIGHT / 2.0f;
182 bias = (float)HEIGHT;

Completed in 358 milliseconds

12 3 4 5 6