/external/skia/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 26 const SkRect& cropRect) { in Make() argument 27 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), cropRect, nullptr)); in Make() 36 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, in SkPictureImageFilter() argument 40 , fCropRect(cropRect) in SkPictureImageFilter() 48 static sk_sp<SkImageFilter> make_localspace_filter(sk_sp<SkPicture> pic, const SkRect& cropRect, in make_localspace_filter() argument 50 SkISize dim = { SkScalarRoundToInt(cropRect.width()), SkScalarRoundToInt(cropRect.height()) }; in make_localspace_filter() 53 return SkImageSource::Make(img, cropRect, cropRect, fq); in make_localspace_filter() 58 SkRect cropRect; in CreateProc() local 63 buffer.readRect(&cropRect); in CreateProc() 69 return make_localspace_filter(std::move(picture), cropRect, in CreateProc() [all …]
|
D | SkPaintImageFilter.cpp | 18 const CropRect* cropRect) { in Make() argument 19 return sk_sp<SkImageFilter>(new SkPaintImageFilter(paint, cropRect)); in Make() 22 SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) in SkPaintImageFilter() argument 23 : INHERITED(nullptr, 0, cropRect) in SkPaintImageFilter() 31 return SkPaintImageFilter::Make(paint, &common.cropRect()); in CreateProc()
|
D | SkColorFilterImageFilter.cpp | 21 const CropRect* cropRect) { in Make() argument 34 cropRect)); in Make() 40 cropRect)); in Make() 45 const CropRect* cropRect) in SkColorFilterImageFilter() argument 46 : INHERITED(&input, 1, cropRect) in SkColorFilterImageFilter() 53 return Make(std::move(cf), common.getInput(0), &common.cropRect()); in CreateProc()
|
D | SkMergeImageFilter.cpp | 19 const CropRect* cropRect) { in Make() argument 20 return sk_sp<SkImageFilter>(new SkMergeImageFilter(filters, count, cropRect)); in Make() 26 const CropRect* cropRect) in SkMergeImageFilter() argument 27 : INHERITED(filters, count, cropRect) { in SkMergeImageFilter() 117 return Make(common.inputs(), common.inputCount(), &common.cropRect()); in CreateProc()
|
D | SkOffsetImageFilter.cpp | 27 const CropRect* cropRect) { in Make() argument 32 return sk_sp<SkImageFilter>(new SkOffsetImageFilter(dx, dy, std::move(input), cropRect)); in Make() 113 return Make(offset.x(), offset.y(), common.getInput(0), &common.cropRect()); in CreateProc() 123 const CropRect* cropRect) in SkOffsetImageFilter() argument 124 : INHERITED(&input, 1, cropRect) { in SkOffsetImageFilter()
|
/external/skqp/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 26 const SkRect& cropRect) { in Make() argument 27 return sk_sp<SkImageFilter>(new SkPictureImageFilter(std::move(picture), cropRect, nullptr)); in Make() 36 SkPictureImageFilter::SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, in SkPictureImageFilter() argument 40 , fCropRect(cropRect) in SkPictureImageFilter() 48 static sk_sp<SkImageFilter> make_localspace_filter(sk_sp<SkPicture> pic, const SkRect& cropRect, in make_localspace_filter() argument 50 SkISize dim = { SkScalarRoundToInt(cropRect.width()), SkScalarRoundToInt(cropRect.height()) }; in make_localspace_filter() 53 return SkImageSource::Make(img, cropRect, cropRect, fq); in make_localspace_filter() 58 SkRect cropRect; in CreateProc() local 63 buffer.readRect(&cropRect); in CreateProc() 69 return make_localspace_filter(std::move(picture), cropRect, in CreateProc() [all …]
|
D | SkPaintImageFilter.cpp | 18 const CropRect* cropRect) { in Make() argument 19 return sk_sp<SkImageFilter>(new SkPaintImageFilter(paint, cropRect)); in Make() 22 SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) in SkPaintImageFilter() argument 23 : INHERITED(nullptr, 0, cropRect) in SkPaintImageFilter() 31 return SkPaintImageFilter::Make(paint, &common.cropRect()); in CreateProc()
|
D | SkColorFilterImageFilter.cpp | 21 const CropRect* cropRect) { in Make() argument 34 cropRect)); in Make() 40 cropRect)); in Make() 45 const CropRect* cropRect) in SkColorFilterImageFilter() argument 46 : INHERITED(&input, 1, cropRect) in SkColorFilterImageFilter() 53 return Make(std::move(cf), common.getInput(0), &common.cropRect()); in CreateProc()
|
D | SkMergeImageFilter.cpp | 19 const CropRect* cropRect) { in Make() argument 20 return sk_sp<SkImageFilter>(new SkMergeImageFilter(filters, count, cropRect)); in Make() 26 const CropRect* cropRect) in SkMergeImageFilter() argument 27 : INHERITED(filters, count, cropRect) { in SkMergeImageFilter() 117 return Make(common.inputs(), common.inputCount(), &common.cropRect()); in CreateProc()
|
D | SkOffsetImageFilter.cpp | 27 const CropRect* cropRect) { in Make() argument 32 return sk_sp<SkImageFilter>(new SkOffsetImageFilter(dx, dy, std::move(input), cropRect)); in Make() 113 return Make(offset.x(), offset.y(), common.getInput(0), &common.cropRect()); in CreateProc() 123 const CropRect* cropRect) in SkOffsetImageFilter() argument 124 : INHERITED(&input, 1, cropRect) { in SkOffsetImageFilter()
|
/external/skia/gm/ |
D | imagefilterscropped.cpp | 119 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw() local 130 sk_sp<SkImageFilter> erodeX(SkErodeImageFilter::Make(8, 0, nullptr, &cropRect)); in onDraw() 131 sk_sp<SkImageFilter> erodeY(SkErodeImageFilter::Make(0, 8, nullptr, &cropRect)); in onDraw() 135 SkColorFilterImageFilter::Make(cf, nullptr, &cropRect), in onDraw() 136 SkBlurImageFilter::Make(0.0f, 0.0f, nullptr, &cropRect), in onDraw() 137 SkBlurImageFilter::Make(1.0f, 1.0f, nullptr, &cropRect), in onDraw() 138 SkBlurImageFilter::Make(8.0f, 0.0f, nullptr, &cropRect), in onDraw() 139 SkBlurImageFilter::Make(0.0f, 8.0f, nullptr, &cropRect), in onDraw() 140 SkBlurImageFilter::Make(8.0f, 8.0f, nullptr, &cropRect), in onDraw() 141 SkErodeImageFilter::Make(1, 1, nullptr, &cropRect), in onDraw() [all …]
|
D | displacement.cpp | 103 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(30, 30, 40, 40)); in onDraw() local 107 0.0f, displ, nullptr, &cropRect)); in onDraw() 112 16.0f, displ, nullptr, &cropRect)); in onDraw() 117 32.0f, displ, nullptr, &cropRect)); in onDraw() 122 48.0f, displ, nullptr, &cropRect)); in onDraw() 127 64.0f, displ, nullptr, &cropRect)); in onDraw() 133 40.0f, displ, nullptr, &cropRect)); in onDraw() 138 40.0f, displ, nullptr, &cropRect)); in onDraw() 143 40.0f, displ, nullptr, &cropRect)); in onDraw() 148 40.0f, displ, nullptr, &cropRect)); in onDraw() [all …]
|
D | offsetimagefilter.cpp | 51 SkIRect cropRect = SkIRect::MakeXYWH(i * 12, in onDraw() local 55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw() 60 DrawClippedImage(canvas, image.get(), paint, 1, cropRect); in onDraw() 64 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100); in onDraw() local 65 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw() 67 DrawClippedImage(canvas, fBitmap.get(), paint, 2, cropRect); in onDraw() 71 SkScalar scale, const SkIRect& cropRect) { in DrawClippedImage() argument 82 SkMatrix::MakeScale(scale, scale).mapRect(&cropRectFloat, SkRect::Make(cropRect)); in DrawClippedImage()
|
/external/skqp/gm/ |
D | imagefilterscropped.cpp | 119 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw() local 130 sk_sp<SkImageFilter> erodeX(SkErodeImageFilter::Make(8, 0, nullptr, &cropRect)); in onDraw() 131 sk_sp<SkImageFilter> erodeY(SkErodeImageFilter::Make(0, 8, nullptr, &cropRect)); in onDraw() 135 SkColorFilterImageFilter::Make(cf, nullptr, &cropRect), in onDraw() 136 SkBlurImageFilter::Make(0.0f, 0.0f, nullptr, &cropRect), in onDraw() 137 SkBlurImageFilter::Make(1.0f, 1.0f, nullptr, &cropRect), in onDraw() 138 SkBlurImageFilter::Make(8.0f, 0.0f, nullptr, &cropRect), in onDraw() 139 SkBlurImageFilter::Make(0.0f, 8.0f, nullptr, &cropRect), in onDraw() 140 SkBlurImageFilter::Make(8.0f, 8.0f, nullptr, &cropRect), in onDraw() 141 SkErodeImageFilter::Make(1, 1, nullptr, &cropRect), in onDraw() [all …]
|
D | displacement.cpp | 103 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(30, 30, 40, 40)); in onDraw() local 107 0.0f, displ, nullptr, &cropRect)); in onDraw() 112 16.0f, displ, nullptr, &cropRect)); in onDraw() 117 32.0f, displ, nullptr, &cropRect)); in onDraw() 122 48.0f, displ, nullptr, &cropRect)); in onDraw() 127 64.0f, displ, nullptr, &cropRect)); in onDraw() 133 40.0f, displ, nullptr, &cropRect)); in onDraw() 138 40.0f, displ, nullptr, &cropRect)); in onDraw() 143 40.0f, displ, nullptr, &cropRect)); in onDraw() 148 40.0f, displ, nullptr, &cropRect)); in onDraw() [all …]
|
D | offsetimagefilter.cpp | 51 SkIRect cropRect = SkIRect::MakeXYWH(i * 12, in onDraw() local 55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw() 60 DrawClippedImage(canvas, image.get(), paint, 1, cropRect); in onDraw() 64 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100); in onDraw() local 65 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw() 67 DrawClippedImage(canvas, fBitmap.get(), paint, 2, cropRect); in onDraw() 71 SkScalar scale, const SkIRect& cropRect) { in DrawClippedImage() argument 82 SkMatrix::MakeScale(scale, scale).mapRect(&cropRectFloat, SkRect::Make(cropRect)); in DrawClippedImage()
|
/external/skqp/include/effects/ |
D | SkMorphologyImageFilter.h | 43 const CropRect* cropRect); 63 const CropRect* cropRect = nullptr); 73 const CropRect* cropRect) in SK_FLATTENABLE_HOOKS() 74 : INHERITED(radiusX, radiusY, input, cropRect) {} in SK_FLATTENABLE_HOOKS() 84 const CropRect* cropRect = nullptr); 93 sk_sp<SkImageFilter> input, const CropRect* cropRect) in SK_FLATTENABLE_HOOKS() 94 : INHERITED(radiusX, radiusY, input, cropRect) {} in SK_FLATTENABLE_HOOKS()
|
D | SkLightingImageFilter.h | 22 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 25 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 29 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 32 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 35 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 39 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 48 const CropRect* cropRect);
|
D | SkMergeImageFilter.h | 17 const CropRect* cropRect = nullptr); 20 const CropRect* cropRect = nullptr) { 25 return Make(array, 2, cropRect); 38 SkMergeImageFilter(sk_sp<SkImageFilter>* const filters, int count, const CropRect* cropRect);
|
/external/skia/include/effects/ |
D | SkMorphologyImageFilter.h | 43 const CropRect* cropRect); 63 const CropRect* cropRect = nullptr); 73 const CropRect* cropRect) in SK_FLATTENABLE_HOOKS() 74 : INHERITED(radiusX, radiusY, input, cropRect) {} in SK_FLATTENABLE_HOOKS() 84 const CropRect* cropRect = nullptr); 93 sk_sp<SkImageFilter> input, const CropRect* cropRect) in SK_FLATTENABLE_HOOKS() 94 : INHERITED(radiusX, radiusY, input, cropRect) {} in SK_FLATTENABLE_HOOKS()
|
D | SkLightingImageFilter.h | 22 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 25 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 29 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 32 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 35 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 39 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 48 const CropRect* cropRect);
|
D | SkMergeImageFilter.h | 17 const CropRect* cropRect = nullptr); 20 const CropRect* cropRect = nullptr) { 25 return Make(array, 2, cropRect); 38 SkMergeImageFilter(sk_sp<SkImageFilter>* const filters, int count, const CropRect* cropRect);
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 490 SkImageFilter::CropRect cropRect; in make_fuzz_lighting_imagefilter() local 494 fuzz->next(&cropRect); in make_fuzz_lighting_imagefilter() 502 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 508 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 514 std::move(input), useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 520 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 526 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 533 std::move(input), useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 556 SkImageFilter::CropRect cropRect; in make_fuzz_imageFilter() local 558 fuzz->next(&cropRect); in make_fuzz_imageFilter() [all …]
|
/external/skqp/fuzz/ |
D | FuzzCanvas.cpp | 490 SkImageFilter::CropRect cropRect; in make_fuzz_lighting_imagefilter() local 494 fuzz->next(&cropRect); in make_fuzz_lighting_imagefilter() 502 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 508 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 514 std::move(input), useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 520 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 526 useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 533 std::move(input), useCropRect ? &cropRect : nullptr); in make_fuzz_lighting_imagefilter() 556 SkImageFilter::CropRect cropRect; in make_fuzz_imageFilter() local 558 fuzz->next(&cropRect); in make_fuzz_imageFilter() [all …]
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 21 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument 26 return Make(std::move(codec), info, cropRect, std::move(postProcess)); in Make() 30 const SkImageInfo& requestedInfo, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument 46 decodeInfo, cropRect, std::move(postProcess))); in Make() 62 const auto cropRect = SkIRect::MakeSize(scaledSize); in Make() local 64 decodeInfo, cropRect, nullptr)); in Make() 76 SkImageInfo decodeInfo, SkIRect cropRect, sk_sp<SkPicture> postProcess) in SkAnimatedImage() argument 80 , fCropRect(cropRect) in SkAnimatedImage()
|