/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathDashPathEffectTest.java | 37 private static final int HEIGHT = 100; 40 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 50 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 55 RectF rect = new RectF(0, HEIGHT / 2 - SQUARE, 0, HEIGHT / 2 + SQUARE); 63 for (int y = 0; y < HEIGHT; y++) { 75 p.moveTo(0, HEIGHT / 2); 76 p.lineTo(WIDTH, HEIGHT / 2);
|
SumPathEffectTest.java | 37 private static final int HEIGHT = 100; 40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 42 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 46 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW); 67 for (int j = 0; j < HEIGHT; j++) {
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoCaptureVideoPermissionTest.java | 34 private static final int HEIGHT = 480; 48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 50 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, 71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 73 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, 92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 95 NAME, WIDTH, HEIGHT, DENSITY,
|
/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/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
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);
|
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);
|
shader-leak.c | 27 static const int HEIGHT = 300; 52 float width, float height, 57 float half_height = (float)height / 2.0f; 199 templat.height0 = HEIGHT; 226 fb.height = HEIGHT; 259 set_viewport(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-gs.c | 23 static const int HEIGHT = 300; 53 float width, float height, 58 float half_height = (float)height / 2.0f; 206 templat.height0 = HEIGHT; 231 fb.height = HEIGHT; 264 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/mesa3d/src/gallium/tests/graw/ |
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);
|
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);
|
shader-leak.c | 27 static const int HEIGHT = 300; 52 float width, float height, 57 float half_height = (float)height / 2.0f; 199 templat.height0 = HEIGHT; 226 fb.height = HEIGHT; 259 set_viewport(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);
|
/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);
|
rotate-test.c | 5 #define HEIGHT 32 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, 95 WIDTH, HEIGHT);
|
/external/skia/gm/ |
lighting.cpp | 12 #define HEIGHT 440 42 return make_isize(WIDTH, HEIGHT); 49 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 62 for (int y = 0; y < HEIGHT; y += 16) {
|
morphology.cpp | 12 #define HEIGHT 560 45 return make_isize(WIDTH, HEIGHT); 52 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
|
offsetimagefilter.cpp | 13 #define HEIGHT 100 67 return make_isize(WIDTH, HEIGHT); 74 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 94 bitmap->height() - i * 12); 106 y += bitmap->height() + MARGIN;
|
tileimagefilter.cpp | 13 #define HEIGHT 100 67 return make_isize(WIDTH, HEIGHT); 75 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 93 SkIntToScalar(bitmap->height()/4), 95 SkIntToScalar(bitmap->height()/(i+1))); 99 SkIntToScalar(bitmap->height()) - i * 8); 108 y += bitmap->height() + MARGIN;
|
xfermodeimagefilter.cpp | 15 #define HEIGHT 600 69 return make_isize(WIDTH, HEIGHT); 77 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 147 y += fBitmap.height() + MARGIN; 158 y += fBitmap.height() + MARGIN; 167 y += fBitmap.height() + MARGIN; 170 SkIntToScalar(fBitmap.height() + 4)); 185 y += fBitmap.height() + MARGIN; 195 y += fBitmap.height() + MARGIN; 209 fBitmap.height() + offsets[i][3]) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
Divot.java | 28 static final float HEIGHT = 16F;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 35 private static final int HEIGHT = 50; 39 int[] colors = new int[STRIDE * HEIGHT]; 40 for (int y = 0; y < HEIGHT; y++) { 43 int g = y * 255 / (HEIGHT - 1); 77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, 85 mBitmaps[3] = Bitmap.createBitmap(WIDTH, HEIGHT, 87 mBitmaps[4] = Bitmap.createBitmap(WIDTH, HEIGHT, 89 mBitmaps[5] = Bitmap.createBitmap(WIDTH, HEIGHT, [all...] |
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);
|