/external/skia/tests/ |
RegionTest.cpp | 25 Union(&r, SkIRect::MakeXYWH(0, 0, 1, 1)); 26 TEST_NO_INTERSECT(r, SkIRect::MakeXYWH(0, 0, 0, 0)); 27 TEST_INTERSECT(r, SkIRect::MakeXYWH(0, 0, 2, 2)); 28 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, 0, 2, 2)); 29 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, -1, 2, 2)); 30 TEST_INTERSECT(r, SkIRect::MakeXYWH(0, -1, 2, 2)); 31 TEST_INTERSECT(r, SkIRect::MakeXYWH(-1, -1, 3, 3)); 33 Union(&r, SkIRect::MakeXYWH(0, 0, 3, 3)); 34 Union(&r, SkIRect::MakeXYWH(10, 0, 3, 3)); 35 Union(&r, SkIRect::MakeXYWH(0, 10, 13, 3)) [all...] |
TileGridTest.cpp | 64 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0), 66 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(11), SkIntToScalar(11), 157 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0), 160 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(12), SkIntToScalar(12), 163 SkRect rect3 = SkRect::MakeXYWH(SkIntToScalar(19), SkIntToScalar(19), 247 verifyTileHits(reporter, SkIRect::MakeXYWH(30, 0, 1, 1), 0); 248 verifyTileHits(reporter, SkIRect::MakeXYWH(0, 30, 1, 1), 0); 249 verifyTileHits(reporter, SkIRect::MakeXYWH(-10, 0, 1, 1), 0); 250 verifyTileHits(reporter, SkIRect::MakeXYWH(0, -10, 1, 1), 0); 253 verifyTileHits(reporter, SkIRect::MakeXYWH(0, 0, 9, 9), kTopLeft_Tile) [all...] |
ImageFilterTest.cpp | 40 canvas.drawRect(SkRect::MakeXYWH(0, 0, 43 canvas.drawRect(SkRect::MakeXYWH(SkIntToScalar(i), 47 canvas.drawRect(SkRect::MakeXYWH(0, 51 canvas.drawRect(SkRect::MakeXYWH(SkIntToScalar(i), 112 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(0, 0, 100, 100));
|
/external/skia/bench/ |
MagnifierBench.cpp | 42 SkRect::MakeXYWH(SkIntToScalar(w / 4), 69 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 70 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 71 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 72 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
BlurImageFilterBench.cpp | 70 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 71 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 72 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 73 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
MergeBench.cpp | 82 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 83 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 84 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 85 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint);
|
PerlinNoiseBench.cpp | 32 canvas->clipRect(SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y), 34 SkRect r = SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y),
|
DisplacementBench.cpp | 65 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 66 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 67 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 68 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); 76 canvas->clipRect(SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y),
|
/external/chromium_org/third_party/skia/src/utils/ |
SkPathUtils.cpp | 45 path->addRect(SkRect::MakeXYWH(i, lineIdx, 1, 1), 78 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), 88 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), 92 path->addRect(SkRect::MakeXYWH(width - SK_Scalar1, SkIntToScalar(lineIdx), 132 region.op(SkIRect::MakeXYWH(start, y, i-start, 1), 141 region.op(SkIRect::MakeXYWH(start, y, w-1-start+end, 1), 146 region.op(SkIRect::MakeXYWH(w-1, y, 1, 1),
|
/external/skia/src/utils/ |
SkPathUtils.cpp | 45 path->addRect(SkRect::MakeXYWH(i, lineIdx, 1, 1), 78 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), 88 path->addRect(SkRect::MakeXYWH(SkIntToScalar(start), SkIntToScalar(lineIdx), 92 path->addRect(SkRect::MakeXYWH(width - SK_Scalar1, SkIntToScalar(lineIdx), 132 region.op(SkIRect::MakeXYWH(start, y, i-start, 1), 141 region.op(SkIRect::MakeXYWH(start, y, w-1-start+end, 1), 146 region.op(SkIRect::MakeXYWH(w-1, y, 1, 1),
|
/external/chromium_org/cc/test/ |
solid_color_content_layer_client.cc | 22 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()),
|
/external/skia/gm/ |
tileimagefilter.cpp | 57 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 58 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 59 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 60 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); 74 canvas->clipRect(SkRect::MakeXYWH(0, 0, 92 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4), 96 SkRect dstRect = SkRect::MakeXYWH(SkIntToScalar(i * 8),
|
offsetimagefilter.cpp | 57 canvas.drawRect(SkRect::MakeXYWH(0, 0, 8, 8), darkPaint); 58 canvas.drawRect(SkRect::MakeXYWH(8, 0, 8, 8), lightPaint); 59 canvas.drawRect(SkRect::MakeXYWH(0, 8, 8, 8), lightPaint); 60 canvas.drawRect(SkRect::MakeXYWH(8, 8, 8, 8), darkPaint); 73 canvas->clipRect(SkRect::MakeXYWH(x, y, 91 SkIRect cropRect = SkIRect::MakeXYWH(x + i * 12,
|
bitmapsource.cpp | 56 SkRect srcRect = SkRect::MakeXYWH(20, 20, 30, 30); 57 SkRect dstRect = SkRect::MakeXYWH(0, 10, 60, 60); 58 SkRect clipRect = SkRect::MakeXYWH(0, 0, 100, 100);
|
pictureimagefilter.cpp | 54 SkRect srcRect = SkRect::MakeXYWH(20, 20, 30, 30); 55 SkRect emptyRect = SkRect::MakeXYWH(20, 20, 0, 0); 56 SkRect bounds = SkRect::MakeXYWH(0, 0, 100, 100);
|
internal_links.cpp | 41 SkRect rect = SkRect::MakeXYWH(0, 0, SkIntToScalar(50), SkIntToScalar(20)); 59 SkRect rect = SkRect::MakeXYWH(x, y,
|
arcofzorro.cpp | 34 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200);
|
bitmapshader.cpp | 87 canvas->drawRect(SkRect::MakeXYWH(0, 0, 20, 20), paint); 88 canvas->drawRect(SkRect::MakeXYWH(30, 0, 20, 20), paint);
|
canvasstate.cpp | 53 fOutlineRect = SkRect::MakeXYWH(1, 1, WIDTH-2, HEIGHT-2); 54 fFillRect = SkRect::MakeXYWH(10, 10, WIDTH-20, HEIGHT-20); 118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7);
|
lighting.cpp | 66 canvas->drawRect(SkRect::MakeXYWH(8, 0, 8, 8), checkPaint); 67 canvas->drawRect(SkRect::MakeXYWH(0, 8, 8, 8), checkPaint); 88 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65));
|
modecolorfilters.cpp | 47 SkRect rect0 = SkRect::MakeXYWH(0, 0, 49 SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(checkSize), SkIntToScalar(checkSize), 139 SkRect rect = SkRect::MakeXYWH(x * kRectWidth, y * kRectHeight,
|
bleed.cpp | 110 SkRect src = SkRect::MakeXYWH(2, 2, 113 SkRect dst = SkRect::MakeXYWH(0, 0, SkIntToScalar(kBlockSize), SkIntToScalar(kBlockSize)); 127 SkRect src = SkRect::MakeXYWH(2, 2, 130 SkRect dst = SkRect::MakeXYWH(0, 0, SkIntToScalar(kBlockSize), SkIntToScalar(kBlockSize)); 144 SkRect src = SkRect::MakeXYWH(2, 2, 147 SkRect dst = SkRect::MakeXYWH(0, 0, SkIntToScalar(kBlockSize), SkIntToScalar(kBlockSize)); 161 SkRect src = SkRect::MakeXYWH(2, 2, 164 SkRect dst = SkRect::MakeXYWH(0, 0, SkIntToScalar(kBlockSize), SkIntToScalar(kBlockSize));
|
coloremoji.cpp | 78 SkRect upperLeftClip = SkRect::MakeXYWH(bounds.left(), bounds.top(), 80 SkRect lowerRightClip = SkRect::MakeXYWH(bounds.centerX(), bounds.centerY(),
|
extractbitmap.cpp | 58 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); 86 SkIRect::MakeXYWH(x, y, x, y));
|
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_backing_store.cc | 65 SkIRect srcrect = SkIRect::MakeXYWH(x, y, 69 SkRect dstrect = SkRect::MakeXYWH( 91 SkIRect rect = SkIRect::MakeXYWH(x, y, w, h);
|