/external/chromium_org/third_party/skia/gm/ |
offsetimagefilter.cpp | 12 #define WIDTH 600 64 return SkISize::Make(WIDTH, HEIGHT); 70 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())); 102 bitmap->width() - i * 8, 112 canvas->translate(SkIntToScalar(bitmap->width() + MARGIN), 0);
|
drawlooper.cpp | 16 #define WIDTH 200
|
/external/skia/gm/ |
colormatrix.cpp | 12 #define WIDTH 500 61 return SkISize::Make(WIDTH, HEIGHT); 64 SkBitmap createSolidBitmap(int width, int height) { 66 bm.allocN32Pixels(width, height); 70 for (int x = 0; x < width; ++x) { 72 paint.setColor(SkColorSetARGB(255, x * 255 / width, y * 255 / height, 0)); 81 SkBitmap createTransparentBitmap(int width, int height) { 83 bm.allocN32Pixels(width, height); 87 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; 92 canvas.drawRect(SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)), paint) [all...] |
modecolorfilters.cpp | 13 #define WIDTH 512 68 return SkISize::Make(WIDTH, HEIGHT);
|
offsetimagefilter.cpp | 12 #define WIDTH 600 63 return SkISize::Make(WIDTH, HEIGHT); 69 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())); 101 bitmap->width() - i * 8, 111 canvas->translate(SkIntToScalar(bitmap->width() + MARGIN), 0);
|
drawlooper.cpp | 16 #define WIDTH 200
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
quad-sample.c | 26 static const int WIDTH = 300; 62 float width, float height, 66 float half_width = (float)width / 2.0f; 248 0, 0, SIZE, SIZE); /* x, y, width, height */ 327 templat.width0 = WIDTH; 352 fb.width = WIDTH; 386 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
fs-test.c | 39 static const int WIDTH = 250; 176 float width, float height, 180 float half_width = (float)width / 2.0f; 375 0, 0, SIZE, SIZE); /* x, y, width, height */ 454 templat.width0 = WIDTH; 479 fb.width = WIDTH; 513 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
gs-test.c | 41 static const int WIDTH = 250; 209 float width, float height, 213 float half_width = (float)width / 2.0f; 439 0, 0, SIZE, SIZE); /* x, y, width, height */ 518 templat.width0 = WIDTH; 543 fb.width = WIDTH; 577 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
vs-test.c | 40 static const int WIDTH = 250; 120 float width, float height, 124 float half_width = (float)width / 2.0f; 326 0, 0, SIZE, SIZE); /* x, y, width, height */ 405 templat.width0 = WIDTH; 430 fb.width = WIDTH; 465 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
quad-tex.c | 28 #define WIDTH 300 144 tmplt.width0 = WIDTH; 175 box.width = 2; 224 p->framebuffer.width = WIDTH; 234 float half_width = (float)WIDTH / 2.0f;
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLTable.java | 32 public HTMLTable (final String width, final String border, final String cellpadding, final String cellspacing) 38 if (width != null) attrs.set (Attribute.WIDTH, width);
|
/external/mesa3d/src/gallium/tests/graw/ |
quad-sample.c | 26 static const int WIDTH = 300; 62 float width, float height, 66 float half_width = (float)width / 2.0f; 248 0, 0, SIZE, SIZE); /* x, y, width, height */ 327 templat.width0 = WIDTH; 352 fb.width = WIDTH; 386 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
fs-test.c | 39 static const int WIDTH = 250; 176 float width, float height, 180 float half_width = (float)width / 2.0f; 375 0, 0, SIZE, SIZE); /* x, y, width, height */ 454 templat.width0 = WIDTH; 479 fb.width = WIDTH; 513 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
gs-test.c | 41 static const int WIDTH = 250; 209 float width, float height, 213 float half_width = (float)width / 2.0f; 439 0, 0, SIZE, SIZE); /* x, y, width, height */ 518 templat.width0 = WIDTH; 543 fb.width = WIDTH; 577 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
vs-test.c | 40 static const int WIDTH = 250; 120 float width, float height, 124 float half_width = (float)width / 2.0f; 326 0, 0, SIZE, SIZE); /* x, y, width, height */ 405 templat.width0 = WIDTH; 430 fb.width = WIDTH; 465 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 28 #define WIDTH 300 144 tmplt.width0 = WIDTH; 175 box.width = 2; 224 p->framebuffer.width = WIDTH; 234 float half_width = (float)WIDTH / 2.0f;
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 37 private static final int WIDTH = 100; 72 float width = getCharWidth(chars[index + i]); local 73 advances[advancesIndex + i] = width; 74 res += width; 89 case 'C': return 100.0f; // equals to WIDTH 91 case '_': return 0.0f; // 0-width character 98 private static StaticLayout getStaticLayout(CharSequence source, int width) { 99 return new StaticLayout(source, mTextPaint, width, ALIGN, SPACE_MULTI, SPACE_ADD, false); 103 return getBreaks(source, WIDTH); 106 private static int[] getBreaks(CharSequence source, int width) { [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_ThumbnailsTest.java | 139 String[] sizeProjection = new String[] { Thumbnails.WIDTH, Thumbnails.HEIGHT }; 144 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.WIDTH)) >= Math.min(src.getWidth(), 240)); 151 assertEquals(50, c.getLong(c.getColumnIndex(Thumbnails.WIDTH))); 242 values.put(Thumbnails.WIDTH, 320); 258 assertEquals(320, c.getInt(c.getColumnIndex(Thumbnails.WIDTH))); 267 values.put(Thumbnails.WIDTH, 50);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
ProjectionOffscreenActivity.java | 56 private static final int WIDTH = 800; 131 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY, 172 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); 238 final int width = image.getWidth(); local 242 final int rowPadding = rowStride - pixelStride * width; 244 Log.d(TAG, "- Scanning image: width=" + width + ", height=" + height 252 for (int x = 0; x < width; x++) { 277 if (blackPixels == width * height) { 279 } else if (bluePixels == width * height) [all...] |
/external/chromium_org/third_party/skia/src/views/unix/ |
SkOSWindow_Unix.cpp | 28 const int WIDTH = 500; 41 this->resize(WIDTH, HEIGHT); 127 WIDTH, HEIGHT, 128 0, // border width 143 WIDTH, HEIGHT, 144 0, // border width 220 this->resize(evt.xconfigure.width, evt.xconfigure.height); 350 SkScalarRoundToInt(this->width()), 389 image.width = bitmap.width(); 413 int width = bitmap.width(); local [all...] |
/external/skia/src/views/unix/ |
SkOSWindow_Unix.cpp | 28 const int WIDTH = 500; 41 this->resize(WIDTH, HEIGHT); 127 WIDTH, HEIGHT, 128 0, // border width 143 WIDTH, HEIGHT, 144 0, // border width 218 this->resize(evt.xconfigure.width, evt.xconfigure.height); 340 SkScalarRoundToInt(this->width()), 379 image.width = bitmap.width(); 403 int width = bitmap.width(); local [all...] |
/libcore/luni/src/main/java/java/awt/font/ |
TextAttribute.java | 82 /** The Constant JUSTIFICATION_indicates the full requested width. */ 273 /** The WIDTH text attribute. */ 274 public static final TextAttribute WIDTH = new TextAttribute("width"); 278 * predefined width. 284 * a semi condensed width. 289 * The Constant WIDTH_REGULAR indicates the standard width. 294 * The Constant WIDTH_SEMI_EXTENDED indicates semi extended width. 299 * The Constant WIDTH_EXTENDED indicates extended width.
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoSetLoader.java | 42 FileColumns.WIDTH,
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
WrapperTest.java | 167 private static final int WIDTH = 1280; 173 eglSetup(2, WIDTH, HEIGHT); 229 private void eglSetup(int api, int width, int height) { 282 EGL14.EGL_WIDTH, width,
|