/external/chromium_org/third_party/skia/tests/ |
CanvasStateTest.cpp | 61 const int WIDTH = 400; 66 SkIntToScalar(WIDTH-(2*SPACER)), 99 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT, 149 const int WIDTH = 400; 153 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); 157 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER); 161 regionBounds.offset(clipRect.width() + (2*SPACER), 0); 200 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT); 306 const int WIDTH = 100; 312 bitmap.allocN32Pixels(WIDTH, HEIGHT) [all...] |
/external/skia/tests/ |
CanvasStateTest.cpp | 20 const int WIDTH = 400; 25 SkIntToScalar(WIDTH-(2*SPACER)), 44 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT, 98 const int WIDTH = 400; 102 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); 106 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER); 110 regionBounds.offset(clipRect.width() + (2*SPACER), 0); 133 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT); 236 const int WIDTH = 100; 242 bitmap.allocN32Pixels(WIDTH, HEIGHT) [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleHairline.cpp | 67 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { 71 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { 78 int right = bm.width() - margin + i; 87 #define WIDTH 620 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); 215 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, NULL); 228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2) [all...] |
/external/skia/samplecode/ |
SampleHairline.cpp | 67 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { 71 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { 78 int right = bm.width() - margin + i; 87 #define WIDTH 620 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); 215 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, NULL); 228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2) [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
FramebufferTest.java | 55 final int WIDTH = 640; 77 surface1 = new OffscreenSurface(eglCore, WIDTH, HEIGHT); 78 surface2 = new OffscreenSurface(eglCore, WIDTH, HEIGHT); 87 GLES30.glBlitFramebuffer(0, 0, WIDTH, HEIGHT, 0, 0, WIDTH, HEIGHT, 91 ByteBuffer pixelBuf = ByteBuffer.allocateDirect(WIDTH * HEIGHT * BYTES_PER_PIXEL); 98 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE, 101 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL); 109 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
IconMarginSpanTest.java | 32 private static final int WIDTH = 80; 34 private static final int[] COLOR = new int[WIDTH * HEIGHT]; 36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 32 private static final int WIDTH = 50; 34 private static final int STRIDE = 64; // must be >= WIDTH 39 for (int x = 0; x < WIDTH; x++) { 40 int r = x * 255 / (WIDTH - 1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
clear.c | 18 static const int WIDTH = 300; 70 templat.width0 = WIDTH; 95 fb.width = WIDTH;
|
quad-tex.c | 7 static const int WIDTH = 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 | 7 static const int WIDTH = 600; 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 | 14 static const int WIDTH = 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 | 10 static const int WIDTH = 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 | 18 static const int WIDTH = 300; 70 templat.width0 = WIDTH; 95 fb.width = WIDTH;
|
quad-tex.c | 7 static const int WIDTH = 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 | 7 static const int WIDTH = 600; 204 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE)) 209 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);
|
/external/pixman/test/ |
lowlevel-blt-bench.c | 44 #define WIDTH 1920 46 #define BUFSIZE (WIDTH * HEIGHT * 4) 118 info->width, info->height); 147 int32_t width, 162 info.width = width; 176 int width, 196 for (k = 0; k < width + 62; k += CACHELINE_LENGTH / sizeof *dst) 198 q += dst[j * WIDTH + k]; 200 q += dst[j * WIDTH + width + 62] [all...] |
/external/chromium_org/third_party/skia/gm/ |
morphology.cpp | 11 #define WIDTH 700 44 return SkISize::Make(WIDTH, HEIGHT); 51 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
|
xfermodeimagefilter.cpp | 14 #define WIDTH 600 66 return SkISize::Make(WIDTH, HEIGHT); 74 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 140 x += fBitmap.width() + MARGIN; 141 if (x + fBitmap.width() > WIDTH) { 151 x += fBitmap.width() + MARGIN; 152 if (x + fBitmap.width() > WIDTH) { 160 x += fBitmap.width() + MARGIN [all...] |
lighting.cpp | 11 #define WIDTH 330 45 return SkISize::Make(WIDTH, HEIGHT); 52 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 66 for (int x = 0; x < WIDTH; x += 16) {
|
tileimagefilter.cpp | 14 #define WIDTH 400 66 return SkISize::Make(WIDTH, HEIGHT); 80 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4), 82 SkIntToScalar(bitmap->width()/(i+1)), 86 SkIntToScalar(bitmap->width() - i * 12), 97 x += bitmap->width() + MARGIN; 98 if (x + bitmap->width() > WIDTH) { 109 SkRect srcRect = SkRect::MakeWH(SkIntToScalar(fBitmap.width()), 111 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(fBitmap.width() * 2) [all...] |
/external/pixman/demos/ |
conical-test.c | 7 #define WIDTH (SIZE * GRADIENTS_PER_ROW) 59 WIDTH, HEIGHT,
|
/external/skia/gm/ |
morphology.cpp | 11 #define WIDTH 700 43 return SkISize::Make(WIDTH, HEIGHT); 50 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
|
xfermodeimagefilter.cpp | 14 #define WIDTH 600 65 return SkISize::Make(WIDTH, HEIGHT); 73 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 139 x += fBitmap.width() + MARGIN; 140 if (x + fBitmap.width() > WIDTH) { 150 x += fBitmap.width() + MARGIN; 151 if (x + fBitmap.width() > WIDTH) { 159 x += fBitmap.width() + MARGIN [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
Vp8EncoderTest.java | 46 private static final int WIDTH = 320; 93 WIDTH, 136 WIDTH, 160 WIDTH, 203 WIDTH, 253 WIDTH, 316 MediaFormat format = MediaFormat.createVideoFormat(VP8_MIME, WIDTH, HEIGHT); 331 WIDTH, 427 WIDTH,
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
ResizableDialog.java | 41 private static final String WIDTH = "width"; 76 int width = Math.min(displayBounds.width, Math.max(oldBounds.width, defaultSize.x)); local 78 return new Point(width, height); 109 int maxX = windowBounds.x + windowBounds.width - initialSize.x; 126 int x = windowBounds.x + (windowBounds.width - initialSize.x) / 2; 144 settings.getInt(WIDTH), 158 settings.put(WIDTH, bounds.width) [all...] |