Home
last modified time | relevance | path

Searched refs:CropRect (Results 1 – 25 of 54) sorted by relevance

123

/external/skia/include/effects/
DSkLightingImageFilter.h22 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);
DSkMorphologyImageFilter.h41 const CropRect* cropRect);
60 const CropRect* cropRect = nullptr);
71 const CropRect* cropRect) in SkDilateImageFilter()
82 const CropRect* cropRect = nullptr);
92 sk_sp<SkImageFilter> input, const CropRect* cropRect) in SkErodeImageFilter()
DSkMergeImageFilter.h19 SkBlendMode, const CropRect* cropRect = nullptr);
21 const CropRect* cropRect = nullptr);
34 const CropRect* cropRect);
DSkPaintImageFilter.h25 static sk_sp<SkImageFilter> Make(const SkPaint& paint, const CropRect* cropRect = nullptr);
38 SkPaintImageFilter(const SkPaint& paint, const CropRect* rect);
DSkMagnifierImageFilter.h19 const CropRect* cropRect = nullptr);
28 const CropRect* cropRect);
DSkColorFilterImageFilter.h19 const CropRect* cropRect = NULL);
35 const CropRect* cropRect);
DSkOffsetImageFilter.h18 const CropRect* cropRect = nullptr);
32 SkOffsetImageFilter(SkScalar dx, SkScalar dy, sk_sp<SkImageFilter> input, const CropRect*);
DSkXfermodeImageFilter.h23 const SkImageFilter::CropRect* cropRect);
33 const SkImageFilter::CropRect* cropRect) { in MakeArithmetic()
DSkDropShadowImageFilter.h29 const CropRect* cropRect = nullptr);
44 const CropRect* cropRect);
DSkDisplacementMapEffect.h30 const CropRect* cropRect = nullptr);
49 const CropRect* cropRect);
DSkMatrixConvolutionImageFilter.h65 const CropRect* cropRect = nullptr);
79 const CropRect* cropRect);
/external/skia/include/core/
DSkImageFilter.h75 class CropRect {
84 CropRect() {} in CropRect() function
85 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge)
177 const CropRect* cropRect = nullptr);
212 CropRect getCropRect() const { return fCropRect; } in getCropRect()
257 const CropRect& cropRect() const { return fCropRect; } in SK_DEFINE_FLATTENABLE_TYPE()
264 CropRect fCropRect; in SK_DEFINE_FLATTENABLE_TYPE()
271 SkImageFilter(sk_sp<SkImageFilter>* inputs, int inputCount, const CropRect* cropRect);
402 void init(sk_sp<SkImageFilter>* inputs, int inputCount, const CropRect* cropRect);
410 CropRect fCropRect;
/external/skia/gm/
Doffsetimagefilter.cpp55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
65 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
123 SkImageFilter::CropRect cr = imgf->getCropRect(); in doDraw()
151 SkImageFilter::CropRect cr0(r); in onDraw()
152 SkImageFilter::CropRect cr1(SkRect::MakeWH(20, 20)); in onDraw()
154 SkImageFilter::CropRect cr2(r2); in onDraw()
Ddropshadowimagefilter.cpp81 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)),
82 SkImageFilter::CropRect::kHasAll_CropEdge);
83 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)),
84 SkImageFilter::CropRect::kHasAll_CropEdge);
Dimagefilterscropexpand.cpp41 SkImageFilter::CropRect cropRect(
43 SkImageFilter::CropRect::kHasAll_CropEdge);
76 SkImageFilter::CropRect bigRect(rect, SkImageFilter::CropRect::kHasAll_CropEdge);
Dimagefilterscropped.cpp120 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw()
121 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
122 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), in onDraw()
123 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
Dmatrixconvolution.cpp62 const SkImageFilter::CropRect* cropRect = nullptr) { in draw()
110 SkImageFilter::CropRect rect(SkRect::Make(fBitmap.bounds())); in onDraw()
118 SkImageFilter::CropRect smallRect(SkRect::MakeXYWH(10, 5, 60, 60)); in onDraw()
Dlighting.cpp88 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65)); in onDraw()
89 SkImageFilter::CropRect fullSizeCropRect(SkRect::MakeXYWH(0, 0, 100, 100)); in onDraw()
94 … const SkImageFilter::CropRect* cr = (i == 1) ? &cropRect : (i == 2) ? &fullSizeCropRect : nullptr; in onDraw()
Dmorphology.cpp68 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80)); in onDraw()
72 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : nullptr; in onDraw()
Dimagefiltersgraph.cpp104 SkImageFilter::CropRect cropRect(SkRect::MakeWH(SkIntToScalar(95), SkIntToScalar(100))); in onDraw()
149 SkImageFilter::CropRect outerRect(SkRect::MakeXYWH(SkIntToScalar(10), SkIntToScalar(10), in onDraw()
151 SkImageFilter::CropRect innerRect(SkRect::MakeXYWH(SkIntToScalar(20), SkIntToScalar(20), in onDraw()
/external/skia/src/core/
DSkImageFilter.cpp31 void SkImageFilter::CropRect::toString(SkString* str) const { in toString()
37 if (fFlags & CropRect::kHasLeft_CropEdge) { in toString()
42 if (fFlags & CropRect::kHasTop_CropEdge) { in toString()
47 if (fFlags & CropRect::kHasWidth_CropEdge) { in toString()
52 if (fFlags & CropRect::kHasHeight_CropEdge) { in toString()
61 void SkImageFilter::CropRect::applyTo(const SkIRect& imageBounds, in applyTo()
142 fCropRect = CropRect(rect, flags); in unflatten()
154 const CropRect* cropRect) { in init()
155 fCropRect = cropRect ? *cropRect : CropRect(SkRect(), 0x0); in init()
169 const CropRect* cropRect) in SkImageFilter()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c204 const GLfloat s0 = obj->CropRect[0] / wt; in st_DrawTex()
205 const GLfloat t0 = obj->CropRect[1] / ht; in st_DrawTex()
206 const GLfloat s1 = (obj->CropRect[0] + obj->CropRect[2]) / wt; in st_DrawTex()
207 const GLfloat t1 = (obj->CropRect[1] + obj->CropRect[3]) / ht; in st_DrawTex()
/external/skia/bench/
DBlurImageFilterBench.cpp98 const SkImageFilter::CropRect cropRect(bmpRect.makeInset(10.f, 10.f)); in onDraw()
99 const SkImageFilter::CropRect cropRectLarge(bmpRect); in onDraw()
105 const SkImageFilter::CropRect* crop = in onDraw()
/external/skia/src/effects/
DSkMergeImageFilter.cpp20 const CropRect* cropRect) { in Make()
28 const CropRect* cropRect) { in MakeN()
62 const CropRect* cropRect) in SkMergeImageFilter()
DSkPaintImageFilter.cpp16 const CropRect* cropRect) { in Make()
20 SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) in SkPaintImageFilter()

123