Home
last modified time | relevance | path

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

12

/external/skia/include/effects/
DSkLightingImageFilter.h22 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
25 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
29 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
32 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
35 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
39 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
48 const CropRect* cropRect);
DSkMorphologyImageFilter.h34 const CropRect* cropRect);
56 const CropRect* cropRect = NULL) {
75 SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
85 const CropRect* cropRect = NULL) {
104 SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
DSkMergeImageFilter.h21 const CropRect* cropRect = NULL) {
29 const CropRect* cropRect = NULL) {
43 const CropRect* cropRect);
DSkPaintImageFilter.h25 static SkImageFilter* Create(const SkPaint& paint, const CropRect* rect = NULL);
38 SkPaintImageFilter(const SkPaint& paint, const CropRect* rect);
DSkColorFilterImageFilter.h18 const CropRect* cropRect = NULL);
33 const CropRect* cropRect);
DSkOffsetImageFilter.h17 const CropRect* cropRect = NULL) {
36 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect*);
DSkXfermodeImageFilter.h26 const CropRect* cropRect = NULL) {
47 const CropRect* cropRect);
DSkBlurImageFilter.h17 const CropRect* cropRect = NULL) {
43 const CropRect* cropRect);
DSkDropShadowImageFilter.h25 const CropRect* cropRect = NULL) {
43 ShadowMode shadowMode, SkImageFilter* input, const CropRect* cropRect);
DSkDisplacementMapEffect.h30 const CropRect* cropRect = NULL);
57 const CropRect* cropRect);
DSkMatrixConvolutionImageFilter.h63 const CropRect* cropRect = NULL);
77 const CropRect* cropRect);
/external/skia/include/core/
DSkImageFilter.h71 class CropRect {
80 CropRect() {} in CropRect() function
81 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge)
245 CropRect getCropRect() const { return fCropRect; } in getCropRect()
297 const CropRect& cropRect() const { return fCropRect; } in SK_DEFINE_FLATTENABLE_TYPE()
310 CropRect fCropRect; in SK_DEFINE_FLATTENABLE_TYPE()
317 SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = NULL);
456 CropRect fCropRect;
/external/skia/gm/
Doffsetimagefilter.cpp55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
67 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
126 SkImageFilter::CropRect cr = imgf->getCropRect(); in doDraw()
154 SkImageFilter::CropRect cr0(r); in onDraw()
155 SkImageFilter::CropRect cr1(SkRect::MakeWH(20, 20)); in onDraw()
157 SkImageFilter::CropRect cr2(r2); in onDraw()
Ddropshadowimagefilter.cpp99 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw()
100 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
101 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), in onDraw()
102 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
Dimagefilterscropexpand.cpp45 SkImageFilter::CropRect cropRect( in onDraw()
47 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
80 SkImageFilter::CropRect bigRect(rect, SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
Dmatrixconvolution.cpp52 const SkImageFilter::CropRect* cropRect = nullptr) { in draw()
89 SkImageFilter::CropRect rect(SkRect::Make(fBitmap.bounds())); in onDraw()
97 SkImageFilter::CropRect smallRect(SkRect::MakeXYWH(10, 5, 60, 60)); in onDraw()
Dimagefilterscropped.cpp120 …SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::C… in onDraw()
121 …SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), SkImageFilt… in onDraw()
Dlighting.cpp81 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65)); in onDraw()
82 SkImageFilter::CropRect fullSizeCropRect(SkRect::MakeXYWH(0, 0, 100, 100)); in onDraw()
87 … const SkImageFilter::CropRect* cr = (i == 1) ? &cropRect : (i == 2) ? &fullSizeCropRect : nullptr; in onDraw()
Dmorphology.cpp72 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80)); in onDraw()
76 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : nullptr; in onDraw()
/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/src/core/
DSkImageFilter.cpp39 void SkImageFilter::CropRect::toString(SkString* str) const { in toString()
45 if (fFlags & CropRect::kHasLeft_CropEdge) { in toString()
50 if (fFlags & CropRect::kHasTop_CropEdge) { in toString()
55 if (fFlags & CropRect::kHasWidth_CropEdge) { in toString()
60 if (fFlags & CropRect::kHasHeight_CropEdge) { in toString()
69 void SkImageFilter::CropRect::applyTo(const SkIRect& imageBounds, in applyTo()
150 fCropRect = CropRect(rect, flags); in unflatten()
160 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect) in SkImageFilter()
164 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)), in SkImageFilter()
/external/skia/bench/
DBlurImageFilterBench.cpp74 const SkImageFilter::CropRect cropRect(bmpRect.makeInset(10.f, 10.f)); in onDraw()
75 const SkImageFilter::CropRect cropRectLarge(bmpRect); in onDraw()
81 const SkImageFilter::CropRect* crop = in onDraw()
/external/skia/src/effects/
DSkPaintImageFilter.cpp15 SkImageFilter* SkPaintImageFilter::Create(const SkPaint& paint, const CropRect* cropRect) { in Create()
19 SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) in SkPaintImageFilter()
DSkColorFilterImageFilter.cpp19 const CropRect* cropRect) { in Create()
39 SkImageFilter* input, const CropRect* cropRect) in SkColorFilterImageFilter()
/external/mesa3d/src/mesa/main/
Dtexparam.c436 texObj->CropRect[0] = params[0]; in set_tex_parameteri()
437 texObj->CropRect[1] = params[1]; in set_tex_parameteri()
438 texObj->CropRect[2] = params[2]; in set_tex_parameteri()
439 texObj->CropRect[3] = params[3]; in set_tex_parameteri()
1406 params[0] = obj->CropRect[0]; in _mesa_GetTexParameterfv()
1407 params[1] = obj->CropRect[1]; in _mesa_GetTexParameterfv()
1408 params[2] = obj->CropRect[2]; in _mesa_GetTexParameterfv()
1409 params[3] = obj->CropRect[3]; in _mesa_GetTexParameterfv()
1587 params[0] = obj->CropRect[0]; in _mesa_GetTexParameteriv()
1588 params[1] = obj->CropRect[1]; in _mesa_GetTexParameteriv()
[all …]

12