/external/chromium_org/third_party/skia/gm/ |
colormatrix.cpp | 13 #define HEIGHT 500 61 return SkISize::Make(WIDTH, HEIGHT); 64 SkBitmap createSolidBitmap(int width, int height) { 66 bm.allocN32Pixels(width, height); 69 for (int y = 0; y < height; ++y) { 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 | 14 #define HEIGHT 1024 68 return SkISize::Make(WIDTH, HEIGHT);
|
offsetimagefilter.cpp | 13 #define HEIGHT 100 64 return SkISize::Make(WIDTH, HEIGHT); 70 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())); 103 bitmap->height() - i * 12);
|
tileimagefilter.cpp | 15 #define HEIGHT 100 66 return SkISize::Make(WIDTH, HEIGHT); 81 SkIntToScalar(bitmap->height()/4), 83 SkIntToScalar(bitmap->height()/(i+1))); 87 SkIntToScalar(bitmap->height()) - i * 12); 100 y += bitmap->height() + MARGIN; 110 SkIntToScalar(fBitmap.height())); 112 SkIntToScalar(fBitmap.height() * 2));
|
drawlooper.cpp | 17 #define HEIGHT 200
|
xfermodeimagefilter.cpp | 15 #define HEIGHT 600 66 return SkISize::Make(WIDTH, HEIGHT); 74 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()))); 143 y += fBitmap.height() + MARGIN; 154 y += fBitmap.height() + MARGIN; 163 y += fBitmap.height() + MARGIN; 166 SkIntToScalar(fBitmap.height() + 4)); 180 y += fBitmap.height() + MARGIN; 190 y += fBitmap.height() + MARGIN; 204 fBitmap.height() + offsets[i][3]) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
quad-sample.c | 27 static const int HEIGHT = 300; 62 float width, float height, 67 float half_height = (float)height / 2.0f; 248 0, 0, SIZE, SIZE); /* x, y, width, height */ 328 templat.height0 = HEIGHT; 353 fb.height = HEIGHT; 386 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
fs-test.c | 40 static const int HEIGHT = 250; 176 float width, float height, 181 float half_height = (float)height / 2.0f; 375 0, 0, SIZE, SIZE); /* x, y, width, height */ 455 templat.height0 = HEIGHT; 480 fb.height = HEIGHT; 513 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
gs-test.c | 42 static const int HEIGHT = 250; 209 float width, float height, 214 float half_height = (float)height / 2.0f; 439 0, 0, SIZE, SIZE); /* x, y, width, height */ 519 templat.height0 = HEIGHT; 544 fb.height = HEIGHT; 577 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
vs-test.c | 41 static const int HEIGHT = 250; 120 float width, float height, 125 float half_height = (float)height / 2.0f; 326 0, 0, SIZE, SIZE); /* x, y, width, height */ 406 templat.height0 = HEIGHT; 431 fb.height = HEIGHT; 465 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/mesa3d/src/gallium/tests/graw/ |
quad-sample.c | 27 static const int HEIGHT = 300; 62 float width, float height, 67 float half_height = (float)height / 2.0f; 248 0, 0, SIZE, SIZE); /* x, y, width, height */ 328 templat.height0 = HEIGHT; 353 fb.height = HEIGHT; 386 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
fs-test.c | 40 static const int HEIGHT = 250; 176 float width, float height, 181 float half_height = (float)height / 2.0f; 375 0, 0, SIZE, SIZE); /* x, y, width, height */ 455 templat.height0 = HEIGHT; 480 fb.height = HEIGHT; 513 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
gs-test.c | 42 static const int HEIGHT = 250; 209 float width, float height, 214 float half_height = (float)height / 2.0f; 439 0, 0, SIZE, SIZE); /* x, y, width, height */ 519 templat.height0 = HEIGHT; 544 fb.height = HEIGHT; 577 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
vs-test.c | 41 static const int HEIGHT = 250; 120 float width, float height, 125 float half_height = (float)height / 2.0f; 326 0, 0, SIZE, SIZE); /* x, y, width, height */ 406 templat.height0 = HEIGHT; 431 fb.height = HEIGHT; 465 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/chromium_org/chrome/renderer/resources/ |
offline.js | 121 HEIGHT: 150 302 this.dimensions.HEIGHT, Runner.classes.PLAYER); 367 this.canvas.height = this.dimensions.HEIGHT; 379 this.containerEl.style.height = this.dimensions.HEIGHT + 'px'; 450 this.dimensions.HEIGHT); 775 var oldHeight = opt_height || canvas.height; 778 canvas.height = oldHeight * ratio; 781 canvas.style.height = oldHeight + 'px' [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_ThumbnailsTest.java | 139 String[] sizeProjection = new String[] { Thumbnails.WIDTH, Thumbnails.HEIGHT }; 145 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.HEIGHT)) >= Math.min(src.getHeight(), 240)); 152 assertEquals(50, c.getLong(c.getColumnIndex(Thumbnails.HEIGHT))); 241 values.put(Thumbnails.HEIGHT, 480); 257 assertEquals(480, c.getInt(c.getColumnIndex(Thumbnails.HEIGHT))); 266 values.put(Thumbnails.HEIGHT, 50);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
ProjectionOffscreenActivity.java | 57 private static final int HEIGHT = 480; 131 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY, 172 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); 239 final int height = image.getHeight(); local 244 Log.d(TAG, "- Scanning image: width=" + width + ", height=" + height 251 for (int y = 0; y < height; y++) { 277 if (blackPixels == width * height) { 279 } else if (bluePixels == width * height) {
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
VerticalGridFragment.java | 36 private static final int HEIGHT = 200;
|
/external/chromium_org/third_party/skia/src/views/unix/ |
SkOSWindow_Unix.cpp | 29 const int HEIGHT = 500; 41 this->resize(WIDTH, HEIGHT); 127 WIDTH, HEIGHT, 143 WIDTH, HEIGHT, 220 this->resize(evt.xconfigure.width, evt.xconfigure.height); 351 SkScalarRoundToInt(this->height())); 390 image.height = bitmap.height(); 414 int height = bitmap.height(); local [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
WrapperTest.java | 168 private static final int HEIGHT = 720; 173 eglSetup(2, WIDTH, HEIGHT); 229 private void eglSetup(int api, int width, int height) { 283 EGL14.EGL_HEIGHT, height,
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 50 HEIGHT, 125 case HEIGHT: 212 config.setProperty(Properties.HEIGHT, 320); 331 config.setProperty(Properties.HEIGHT, 480); 535 config.setProperty(Properties.HEIGHT, 480); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 59 private static final int HEIGHT = 720; [all...] |
/external/opencv/cv/src/ |
cvlkpyramid.cpp | 55 ipt.y -= win_size.height; 58 win_size.height = win_size.height * 2 + 1; 63 max_pt->y = MIN( win_size.height, imgSize.height - ipt.y ); 69 return cvAlign(imgSize.width,8) * imgSize.height / 3; 135 levelSize.height = (levelSize.height + 1) >> 1; 138 pyrBytes += tstep * levelSize.height; 141 assert( pyrBytes <= imgSize.width * imgSize.height * elem_size * 4 / 3 ) 230 int x, height = src_size.height - 2; local [all...] |
/external/chromium_org/tools/telemetry/third_party/png/ |
png.py | 321 def __init__(self, width=None, height=None, 342 width, height 368 `width` and `height` arguments, or with the single `size` 370 *height*). 503 "size argument should be a pair (width, height)") 508 if height is not None and height != size[1]: 510 "size[1] (%r) and height (%r) should match when both are used." 511 % (size[1], height)) 512 width,height = siz [all...] |
/build/tools/droiddoc/templates-ds/assets/js/ |
docs.js | 334 /* Resize nav height when window height changes */ 366 // we set the navbar fixed when the scroll position is beyond the height of the site header... 368 // ... except if the document content is shorter than the sidenav height. 370 if ($("#doc-col").height() < $("#side-nav").height()) { 449 targetRect.height = $target.height(); 453 top: targetRect.top + targetRect.height + TOOLTIP_MARGIN 617 /* ######### RESIZE THE SIDENAV HEIGHT ########## */ [all...] |