/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/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/gm/ |
D | drawbitmaprect.cpp | 109 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapproc() argument 111 canvas->drawImageRect(bm.asImage(), SkRect::Make(srcR), dstR, sampling, paint, in bitmapproc() 116 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapsubsetproc() argument 119 bitmapproc(canvas, nullptr, bm, srcR, dstR, sampling, paint); in bitmapsubsetproc() 125 canvas->drawImageRect(subset.asImage(), dstR, sampling, paint); in bitmapsubsetproc() 130 const SkRect& dstR, const SkSamplingOptions& sampling, const SkPaint* paint) { in imageproc() argument 131 canvas->drawImageRect(image, SkRect::Make(srcR), dstR, sampling, paint, in imageproc() 136 const SkIRect& srcR, const SkRect& dstR, in imagesubsetproc() argument 139 imageproc(canvas, image, bm, srcR, dstR, sampling, paint); in imagesubsetproc() 145 canvas->drawImageRect(subset, dstR, sampling, paint); in imagesubsetproc()
|
D | bitmaprect.cpp | 72 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local 81 canvas->drawImageRect(image.get(), srcR, dstR, sampling, &paint, in onDraw() 84 canvas->drawImageRect(image.get(), SkRect::Make(src[i]), dstR, sampling, &paint, in onDraw() 88 canvas->drawRect(dstR, paint); in onDraw() 153 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local 155 canvas->drawImageRect(bitmap.asImage(), srcR, dstR, SkSamplingOptions(), in onDraw()
|
D | gpu_blur_utils.cpp | 310 auto dstR = SkRect::Make(dstRect).makeOutset(0.5f, 0.5f); in run() local 311 sdc->drawRect(nullptr, std::move(paint), GrAA::kNo, m, dstR, &style); in run()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 175 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local 176 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim() 191 fInfo = fInfo.makeDimensions(dstR.size()); in trim() 192 fX = dstR.x(); in trim() 193 fY = dstR.y(); in trim()
|
D | SkDevice.cpp | 170 SkRect srcR, dstR; in drawImageLattice() local 175 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice() 185 this->drawRect(dstR, paintCopy); in drawImageLattice() 188 this->drawImageRect(image, &srcR, dstR, SkSamplingOptions(filter), paint, in drawImageLattice()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ops/ |
D | ResizeWithCropOrPadOp.java | 73 int dstR; in apply() local 82 dstR = dstL + w; in apply() 85 dstR = targetWidth; in apply() 101 Rect dst = new Rect(dstL, dstT, dstR, dstB); in apply()
|
/external/skia/modules/skottie/src/ |
D | Skottie.cpp | 461 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render() 462 this->render(canvas, dstR, 0); in render() 465 void Animation::render(SkCanvas* canvas, const SkRect* dstR, RenderFlags renderFlags) const { in render() argument 474 if (dstR) { in render() 475 canvas->concat(SkMatrix::RectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
|
/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/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/tools/viewer/ |
D | SkottieSlide.cpp | 209 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local 213 fAnimation->render(canvas, &dstR); in draw() 224 const auto t = SkMatrix::RectToRect(SkRect::MakeSize(fAnimation->size()), dstR, in draw()
|
/external/skia/samplecode/ |
D | SampleStrokePath.cpp | 21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local 38 canvas->concat(SkMatrix::RectToRect(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/src/image/ |
D | SkSurface.cpp | 289 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local 290 if (SkIRect::Intersects(srcR, dstR)) { in writePixels() 292 if (srcR.contains(dstR)) { in writePixels()
|
/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/skia/tests/ |
D | DrawBitmapRectTest.cpp | 252 SkRect dstR = { 0, 0, 16, 16 }; in DEF_TEST() local 254 canvas.drawImageRect(src.asImage(), srcR, dstR, SkSamplingOptions(), nullptr, in DEF_TEST()
|
/external/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 262 SkRect dstR; in onPrepareDraws() local 268 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws() 284 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws() 290 patch.fViewMatrix.mapRectToQuad(mappedPts, 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/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/skia/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 176 SkIRect dstR = SkIRect::MakeWH(dst->width(), dst->height()); in intersect() local 179 if (!sect.intersect(dstR, srcR)) { in intersect()
|