/external/skia/tests/ |
D | RecordPatternTest.cpp | 26 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 45 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 66 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 67 recorder.drawRect(SkRect::MakeWH(600, 300), SkPaint()); in DEF_TEST() 81 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 87 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 88 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST() 106 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 116 recorder.clipRect(SkRect::MakeWH(300, 200)); in DEF_TEST() 117 recorder.drawRect(SkRect::MakeWH(100, 3000), SkPaint()); in DEF_TEST() [all …]
|
D | RecordOptsTest.cpp | 26 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint()); in DEF_TEST() 27 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint()); in DEF_TEST() 28 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint()); in DEF_TEST() 42 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST() 63 recorder.clipRect(SkRect::MakeWH(200, 200)); in DEF_TEST() 64 recorder.clipRect(SkRect::MakeWH(100, 100)); in DEF_TEST() 121 SkRect bounds = SkRect::MakeWH(100, 200); in DEF_TEST() 122 SkRect draw = SkRect::MakeWH(50, 60); in DEF_TEST() 194 SkRect bounds = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(200)); in DEF_TEST() 195 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); in DEF_TEST() [all …]
|
D | RecordDrawTest.cpp | 63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint()); in DEF_TEST() 64 recorder.clipRect(SkRect::MakeWH(100, 200)); in DEF_TEST() 159 recorder.clipRect(SkRect::MakeWH(400, 500)); in DEF_TEST() 161 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint()); in DEF_TEST() 165 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST() 171 REPORTER_ASSERT(r, sloppy_rect_eq(SkRect::MakeWH(400, 480), bbh.fEntries[i].bounds)); in DEF_TEST() 191 SkRecordFillBounds(SkRect::MakeWH(SkIntToScalar(W), SkIntToScalar(H)), record, &bbh); in DEF_TEST() 242 recorder.clipRect(SkRect::MakeWH(20, 40)); in DEF_TEST() 243 recorder.drawRect(SkRect::MakeWH(20, 40), SkPaint()); in DEF_TEST() 252 SkRecordFillBounds(SkRect::MakeWH(50, 50), record, &bbh); in DEF_TEST() [all …]
|
D | RecordReplaceDrawTest.cpp | 43 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint()); in DEF_TEST() 44 canvas->clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight))); in DEF_TEST() 106 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth / 2), SkIntToScalar(kHeight / 2)), in test_replacements() 116 SkIRect::MakeWH(kWidth, kHeight), in test_replacements() 117 SkIRect::MakeWH(kWidth, kHeight), in test_replacements() 129 layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight)); in test_replacements()
|
D | LayerDrawLooperTest.cpp | 68 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 76 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_frontToBack() 108 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 116 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_backToFront() 148 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed() 156 canvas.drawRect(SkRect::MakeWH(50.0f, 50.0f), paint); in test_mixed()
|
D | QuickRejectTest.cpp | 93 SkRect r = SkRect::MakeWH(10, 10); in test_layers() 102 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); in test_layers() 103 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); in test_layers()
|
D | RecorderTest.cpp | 46 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint()); in DEF_TEST() 78 SkRect bounds = SkRect::MakeWH(320, 240); in DEF_TEST() 120 recorder.drawImageRect(image.get(), 0, SkRect::MakeWH(100, 100)); in DEF_TEST()
|
D | RectTest.cpp | 40 canvas.drawRect(SkRect::MakeWH(44, 100), paint); in test_stroke_width_clipping() 45 canvas.drawRect(SkRect::MakeWH(22, 50), paint); in test_stroke_width_clipping()
|
D | SVGDeviceTest.cpp | 94 SkAutoTUnref<SkCanvas> svgCanvas(SkSVGCanvas::Create(SkRect::MakeWH(100, 100), in test_whitespace_pos() 107 SkAutoTUnref<SkCanvas> svgCanvas(SkSVGCanvas::Create(SkRect::MakeWH(100, 100), in test_whitespace_pos() 120 SkAutoTUnref<SkCanvas> svgCanvas(SkSVGCanvas::Create(SkRect::MakeWH(100, 100), in test_whitespace_pos()
|
D | SkResourceCacheTest.cpp | 110 SkIRect rect = SkIRect::MakeWH(5, 5); in DEF_TEST() 115 …REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeWH(4, 6), cachedBitmap, cache… in DEF_TEST() 212 const SkIRect subset = SkIRect::MakeWH(5, 5); in test_bitmap_notify() 257 SkIRect rect = SkIRect::MakeWH(5, 5); in DEF_TEST()
|
D | CanvasStateTest.cpp | 153 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); in DEF_TEST() 291 roundRect.setOval(SkRect::MakeWH(5, 5)); in DEF_TEST() 315 SkRect bounds = SkRect::MakeWH(SkIntToScalar(LAYER_WIDTH), SkIntToScalar(LAYER_HEIGHT)); in DEF_TEST() 316 canvas.clipRect(SkRect::MakeWH(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT))); in DEF_TEST()
|
D | DrawTextTest.cpp | 67 SkIRect drawTextRect = SkIRect::MakeWH(64, 64); in DEF_TEST() 72 SkIRect drawPosTextRect = SkIRect::MakeWH(64, 64); in DEF_TEST()
|
/external/skia/gm/ |
D | rrects.cpp | 75 static const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), in onDraw() 78 static const SkRect kMaxImageBound = SkRect::MakeWH(SkIntToScalar(kImageWidth), in onDraw() 158 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects() 159 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects() 160 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects() 161 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects() 163 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects() 164 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects() 165 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects() 168 fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]); in setUpRRects() [all …]
|
D | extractbitmap.cpp | 61 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y)); in onDraw() 65 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height())); in onDraw() 71 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y)); in onDraw()
|
D | recordopts.cpp | 59 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_rect_restore_sequence() 83 canvas.drawRect(SkRect::MakeWH(SkIntToScalar(7), SkIntToScalar(7)), p); in draw_save_layer_draw_bitmap_restore_sequence() 87 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_save_layer_draw_bitmap_restore_sequence() 102 SkRect targetRect(SkRect::MakeWH(SkIntToScalar(kTestRectSize), SkIntToScalar(kTestRectSize))); in draw_svg_opacity_and_filter_layer_sequence()
|
D | texdata.cpp | 96 GrClip clip(SkRect::MakeWH(2*S, 2*S)); in onDraw() 114 ctx->drawRect(target, clip, paint, vm, SkRect::MakeWH(2*S, 2*S)); in onDraw() 128 ctx->drawRect(target, clip, paint, vm, SkRect::MakeWH(2*S, 2*S)); in onDraw()
|
D | pictureshadertile.cpp | 80 canvas->drawRect(SkRect::MakeWH(pictureSize, pictureSize), paint); in draw_scene() 121 if (tile == SkRect::MakeWH(kPictureSize, kPictureSize)) { in onOnceBeforeDraw() 147 canvas->drawRect(SkRect::MakeWH(kFillSize, kFillSize), paint); in onDraw()
|
D | pictureshader.cpp | 150 canvas->drawRect(SkRect::MakeWH(fSceneSize, fSceneSize), paint); in drawScene() 160 canvas->drawRect(SkRect::MakeWH(fSceneSize, fSceneSize), paint); in drawScene() 170 canvas->drawRect(SkRect::MakeWH(fSceneSize, fSceneSize), paint); in drawScene() 188 SkRect tile = SkRect::MakeWH(100, 100);
|
D | blurroundrect.cpp | 28 SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); in BlurRoundRectGM() 41 SkRect r = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); in BlurRoundRectGM() 144 const SkRect r = SkRect::MakeWH(SkIntToScalar(25), SkIntToScalar(25)); in onDraw()
|
/external/skia/src/gpu/ |
D | GrTestUtils.cpp | 104 gRects[0] = SkRect::MakeWH(1.f, 1.f); in TestRect() 105 gRects[1] = SkRect::MakeWH(1.0f, 256.0f); in TestRect() 106 gRects[2] = SkRect::MakeWH(256.0f, 1.0f); in TestRect() 120 gRects[0] = SkRect::MakeWH(128.f, 128.f); in TestSquare() 121 gRects[1] = SkRect::MakeWH(256.0f, 256.0f); in TestSquare() 131 SkRect rectangle = SkRect::MakeWH(10.f, 20.f); in TestRRectSimple()
|
D | SkGrPixelRef.cpp | 72 srcRect = SkIRect::MakeWH(texture->width(), texture->height()); in copy_to_new_texture_pixelref() 74 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset)); in copy_to_new_texture_pixelref() 163 bounds = SkIRect::MakeWH(this->info().width(), this->info().height()); in onReadPixels()
|
/external/skia/experimental/DrawingBoard/ |
D | SkColorPalette.cpp | 15 fSlotRect = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(20)); in SkColorPalette() 16 fGradientRect = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in SkColorPalette() 121 fGradientRect = SkRect::MakeWH(this->width() - 2*PalettePadding, in onSizeChange()
|
/external/skia/bench/ |
D | MergeBench.cpp | 36 SkRect r = fIsSmall ? SkRect::MakeWH(FILTER_WIDTH_SMALL, FILTER_HEIGHT_SMALL) : in onDraw() 37 SkRect::MakeWH(FILTER_WIDTH_LARGE, FILTER_HEIGHT_LARGE); in onDraw()
|
D | TileBench.cpp | 95 r = SkRect::MakeWH(SkIntToScalar(2 * 640), SkIntToScalar(2 * 480)); in onDraw() 98 r = SkRect::MakeWH(SkIntToScalar(640), SkIntToScalar(480)); in onDraw()
|
/external/skia/src/core/ |
D | SkDeviceLooper.cpp | 25 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); in SkDeviceLooper() 74 (void)fSubsetRC.op(SkIRect::MakeWH(fDelta, fDelta), in computeCurrBitmapAndClip()
|