/external/skqp/gm/ |
D | drawbitmaprect.cpp | 92 const SkRect& dstR, const SkPaint* paint) { in bitmapproc() argument 93 canvas->drawBitmapRect(bm, srcR, dstR, paint); in bitmapproc() 97 const SkRect& dstR, const SkPaint* paint) { in bitmapsubsetproc() argument 99 bitmapproc(canvas, nullptr, bm, srcR, dstR, paint); in bitmapsubsetproc() 105 canvas->drawBitmapRect(subset, dstR, paint); in bitmapsubsetproc() 110 const SkRect& dstR, const SkPaint* paint) { in imageproc() argument 111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc() 115 const SkIRect& srcR, const SkRect& dstR, const SkPaint* paint) { in imagesubsetproc() argument 117 imageproc(canvas, image, bm, srcR, dstR, paint); in imagesubsetproc() 122 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
|
D | bitmaprect.cpp | 64 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local 73 canvas->drawBitmapRect(bitmap, srcR, dstR, &paint, in onDraw() 76 canvas->drawBitmapRect(bitmap, src[i], dstR, &paint); in onDraw() 79 canvas->drawRect(dstR, paint); in onDraw() 144 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local 146 canvas->drawBitmapRect(bitmap, srcR, dstR, nullptr, SkCanvas::kStrict_SrcRectConstraint); in onDraw()
|
/external/skia/gm/ |
D | drawbitmaprect.cpp | 92 const SkRect& dstR, const SkPaint* paint) { in bitmapproc() argument 93 canvas->drawBitmapRect(bm, srcR, dstR, paint); in bitmapproc() 97 const SkRect& dstR, const SkPaint* paint) { in bitmapsubsetproc() argument 99 bitmapproc(canvas, nullptr, bm, srcR, dstR, paint); in bitmapsubsetproc() 105 canvas->drawBitmapRect(subset, dstR, paint); in bitmapsubsetproc() 110 const SkRect& dstR, const SkPaint* paint) { in imageproc() argument 111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc() 115 const SkIRect& srcR, const SkRect& dstR, const SkPaint* paint) { in imagesubsetproc() argument 117 imageproc(canvas, image, bm, srcR, dstR, paint); in imagesubsetproc() 122 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
|
D | bitmaprect.cpp | 64 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local 73 canvas->drawBitmapRect(bitmap, srcR, dstR, &paint, in onDraw() 76 canvas->drawBitmapRect(bitmap, src[i], dstR, &paint); in onDraw() 79 canvas->drawRect(dstR, paint); in onDraw() 144 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local 146 canvas->drawBitmapRect(bitmap, srcR, dstR, nullptr, SkCanvas::kStrict_SrcRectConstraint); in onDraw()
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 149 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local 150 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim() 165 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim() 166 fX = dstR.x(); in trim() 167 fY = dstR.y(); in trim()
|
D | SkDevice.cpp | 172 SkRect srcR, dstR; in drawImageNine() local 173 while (iter.next(&srcR, &dstR)) { in drawImageNine() 174 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageNine() 182 SkRect srcR, dstR; in drawBitmapNine() local 183 while (iter.next(&srcR, &dstR)) { in drawBitmapNine() 184 this->drawBitmapRect(bitmap, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawBitmapNine() 193 SkRect srcR, dstR; in drawImageLattice() local 198 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice() 207 this->drawRect(dstR, paintCopy); in drawImageLattice() 210 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageLattice() [all …]
|
D | SkMaskFilter.cpp | 478 SkRect srcR, dstR; in computeFastBounds() local 480 as_MFB(fDst)->computeFastBounds(src, &dstR); in computeFastBounds() 481 *dst = join(srcR, dstR); in computeFastBounds()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 151 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local 152 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim() 167 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim() 168 fX = dstR.x(); in trim() 169 fY = dstR.y(); in trim()
|
D | SkDevice.cpp | 164 SkRect srcR, dstR; in drawImageNine() local 165 while (iter.next(&srcR, &dstR)) { in drawImageNine() 166 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageNine() 174 SkRect srcR, dstR; in drawBitmapNine() local 175 while (iter.next(&srcR, &dstR)) { in drawBitmapNine() 176 this->drawBitmapRect(bitmap, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawBitmapNine() 185 SkRect srcR, dstR; in drawImageLattice() local 190 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice() 199 this->drawRect(dstR, paintCopy); in drawImageLattice() 202 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageLattice() [all …]
|
D | SkMaskFilter.cpp | 478 SkRect srcR, dstR; in computeFastBounds() local 480 as_MFB(fDst)->computeFastBounds(src, &dstR); in computeFastBounds() 481 *dst = join(srcR, dstR); in computeFastBounds()
|
/external/skqp/src/image/ |
D | SkSurface.cpp | 216 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local 217 if (SkIRect::Intersects(srcR, dstR)) { in writePixels() 219 if (srcR.contains(dstR)) { in writePixels()
|
D | SkImage_Lazy.cpp | 148 const SkIRect dstR = SkIRect::MakeXYWH(originX, originY, pmap.width(), pmap.height()); in generate_pixels() local 149 if (!srcR.contains(dstR)) { in generate_pixels() 158 if (srcR != dstR) { in generate_pixels() 172 if (srcR != dstR) { in generate_pixels()
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 149 const SkIRect dstR = SkIRect::MakeXYWH(originX, originY, pmap.width(), pmap.height()); in generate_pixels() local 150 if (!srcR.contains(dstR)) { in generate_pixels() 159 if (srcR != dstR) { in generate_pixels() 173 if (srcR != dstR) { in generate_pixels()
|
D | SkSurface.cpp | 216 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local 217 if (SkIRect::Intersects(srcR, dstR)) { in writePixels() 219 if (srcR.contains(dstR)) { in writePixels()
|
/external/skia/modules/skottie/src/ |
D | Skottie.cpp | 556 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render() 557 this->render(canvas, dstR, 0); in render() 560 void Animation::render(SkCanvas* canvas, const SkRect* dstR, RenderFlags renderFlags) const { in render() argument 569 if (dstR) { in render() 570 canvas->concat(SkMatrix::MakeRectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
|
/external/skia/tools/viewer/ |
D | SkottieSlide.cpp | 130 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local 131 fAnimation->render(canvas, &dstR); in draw()
|
/external/skqp/tools/viewer/ |
D | SkottieSlide.cpp | 130 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local 131 fAnimation->render(canvas, &dstR); in draw()
|
/external/skia/samplecode/ |
D | SampleStrokePath.cpp | 21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local 39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
|
/external/skqp/samplecode/ |
D | SampleStrokePath.cpp | 21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local 39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
|
/external/skia/tests/ |
D | DrawBitmapRectTest.cpp | 248 SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; in DEF_TEST() local 250 canvas.drawBitmapRect(src, srcR, dstR, nullptr); in DEF_TEST()
|
/external/skqp/tests/ |
D | DrawBitmapRectTest.cpp | 248 SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; in DEF_TEST() local 250 canvas.drawBitmapRect(src, srcR, dstR, nullptr); in DEF_TEST()
|
/external/skqp/src/gpu/ops/ |
D | GrLatticeOp.cpp | 253 SkRect dstR; in onPrepareDraws() local 260 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws() 275 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
|
/external/skqp/modules/skottie/src/ |
D | Skottie.cpp | 492 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render() 500 if (dstR) { in render() 501 canvas->concat(SkMatrix::MakeRectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
|
/external/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 255 SkRect dstR; in onPrepareDraws() local 262 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws() 277 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 495 SkRect srcR, dstR; in lcanvas_drawImageRect() local 500 lua2rect(L, 4, &dstR); in lcanvas_drawImageRect() 503 canvas->legacy_drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImageRect() 1204 SkRect srcR, dstR; in lmatrix_setRectToRect() local 1206 lua2rect(L, 3, &dstR); in lmatrix_setRectToRect() 1229 matrix->setRectToRect(srcR, dstR, scaleToFit); in lmatrix_setRectToRect()
|