/external/skia/include/effects/ |
SkPaintImageFilter.h | 25 static SkImageFilter* Create(const SkPaint& paint, const CropRect* rect = NULL); 38 SkPaintImageFilter(const SkPaint& paint, const CropRect* rect);
|
SkLightingImageFilter.h | 22 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) [all...] |
SkColorFilterImageFilter.h | 18 const CropRect* cropRect = NULL); 33 const CropRect* cropRect);
|
SkOffsetImageFilter.h | 17 const CropRect* cropRect = NULL) { 21 return new SkOffsetImageFilter(dx, dy, input, cropRect); 36 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect*);
|
SkXfermodeImageFilter.h | 26 const CropRect* cropRect = NULL) { 28 return new SkXfermodeImageFilter(mode, inputs, cropRect); 47 const CropRect* cropRect);
|
SkMergeImageFilter.h | 21 const CropRect* cropRect = NULL) { 24 return new SkMergeImageFilter(inputs, 2, modes, cropRect); 29 const CropRect* cropRect = NULL) { 30 return new SkMergeImageFilter(filters, count, modes, cropRect); 43 const CropRect* cropRect);
|
SkMorphologyImageFilter.h | 34 const CropRect* cropRect); 56 const CropRect* cropRect = NULL) { 60 return new SkDilateImageFilter(radiusX, radiusY, input, cropRect); 75 SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) 76 : INHERITED(radiusX, radiusY, input, cropRect) {} 85 const CropRect* cropRect = NULL) [all...] |
SkBlurImageFilter.h | 17 const CropRect* cropRect = NULL) { 18 if (0 == sigmaX && 0 == sigmaY && nullptr == cropRect) { 21 return new SkBlurImageFilter(sigmaX, sigmaY, input, cropRect); 43 const CropRect* cropRect);
|
SkDisplacementMapEffect.h | 30 const CropRect* cropRect = NULL); 57 const CropRect* cropRect);
|
SkDropShadowImageFilter.h | 25 const CropRect* cropRect = NULL) { 27 cropRect); 43 ShadowMode shadowMode, SkImageFilter* input, const CropRect* cropRect);
|
SkMatrixConvolutionImageFilter.h | 53 @param cropRect The rectangle to which the output processing will be limited. 63 const CropRect* cropRect = NULL); 77 const CropRect* cropRect);
|
/external/skia/include/core/ |
SkImageFilter.h | 71 class CropRect { 80 CropRect() {} 81 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) 90 * Apply this cropRect to the imageBounds. If a given edge of the cropRect is not 94 * so the matrix is ignored for those. It is only applied the croprect's bounds. 245 CropRect getCropRect() const { return fCropRect; } 288 * Attempt to unflatten the cropRect and the expected number of input filters. 297 const CropRect& cropRect() const { return fCropRect; [all...] |
/external/skia/gm/ |
morphology.cpp | 72 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80)); 76 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : nullptr;
|
offsetimagefilter.cpp | 51 SkIRect cropRect = SkIRect::MakeXYWH(i * 12, 55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 62 DrawClippedImage(canvas, image, paint, 1, cropRect); 66 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100); 67 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 70 DrawClippedImage(canvas, fBitmap, paint, 2, cropRect); 74 SkScalar scale, const SkIRect& cropRect) { 85 SkMatrix::MakeScale(scale, scale).mapRect(&cropRectFloat, SkRect::Make(cropRect)); [all...] |
lighting.cpp | 81 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65)); 82 SkImageFilter::CropRect fullSizeCropRect(SkRect::MakeXYWH(0, 0, 100, 100)); 83 SkAutoTUnref<SkImageFilter> noopCropped(SkOffsetImageFilter::Create(0, 0, nullptr, &cropRect)); 87 const SkImageFilter::CropRect* cr = (i == 1) ? &cropRect : (i == 2) ? &fullSizeCropRect : nullptr;
|
matrixconvolution.cpp | 52 const SkImageFilter::CropRect* cropRect = nullptr) { 70 cropRect)); 89 SkImageFilter::CropRect rect(SkRect::Make(fBitmap.bounds())); 97 SkImageFilter::CropRect smallRect(SkRect::MakeXYWH(10, 5, 60, 60));
|
dropshadowimagefilter.cpp | 99 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), 100 SkImageFilter::CropRect::kHasAll_CropEdge); 101 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), 102 SkImageFilter::CropRect::kHasAll_CropEdge); 115 SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode, nullptr, &cropRect),
|
imagefilterscropexpand.cpp | 45 SkImageFilter::CropRect cropRect( 47 SkImageFilter::CropRect::kHasAll_CropEdge); 56 SkOffsetImageFilter::Create(0, 0, nullptr, &cropRect)); 77 SkRect rect = cropRect.rect(); 80 SkImageFilter::CropRect bigRect(rect, SkImageFilter::CropRect::kHasAll_CropEdge);
|
imagefilterscropped.cpp | 120 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::CropRect::kHasAll_CropEdge); 121 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), SkImageFilter::CropRect::kHasAll_CropEdge); 128 SkAutoTUnref<SkImageFilter> erodeX(SkErodeImageFilter::Create(8, 0, nullptr, &cropRect)); 129 SkAutoTUnref<SkImageFilter> erodeY(SkErodeImageFilter::Create(0, 8, nullptr, &cropRect)); 133 SkColorFilterImageFilter::Create(cf.get(), nullptr, &cropRect), 134 SkBlurImageFilter::Create(0.0f, 0.0f, nullptr, &cropRect), 135 SkBlurImageFilter::Create(1.0f, 1.0f, nullptr, &cropRect), [all...] |
/external/skia/src/effects/ |
SkPaintImageFilter.cpp | 15 SkImageFilter* SkPaintImageFilter::Create(const SkPaint& paint, const CropRect* cropRect) { 16 return new SkPaintImageFilter(paint, cropRect); 19 SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) 20 : INHERITED(0, nullptr, cropRect) 28 return Create(paint, &common.cropRect()); 70 // http:skbug.com/4627: "make computeFastBounds and onFilterBounds() CropRect-aware"
|
SkColorFilterImageFilter.cpp | 19 const CropRect* cropRect) { 31 return new SkColorFilterImageFilter(newCF, input->getInput(0), cropRect); 35 return new SkColorFilterImageFilter(cf, input, cropRect); 39 SkImageFilter* input, const CropRect* cropRect) 40 : INHERITED(1, &input, cropRect), fColorFilter(SkRef(cf)) { 46 return Create(cf, common.getInput(0), &common.cropRect());
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_drawtex.c | 204 const GLfloat s0 = obj->CropRect[0] / wt; 205 const GLfloat t0 = obj->CropRect[1] / ht; 206 const GLfloat s1 = (obj->CropRect[0] + obj->CropRect[2]) / wt; 207 const GLfloat t1 = (obj->CropRect[1] + obj->CropRect[3]) / ht;
|
/external/skia/tests/ |
PaintImageFilterTest.cpp | 41 SkImageFilter::CropRect cr(r); 88 SkImageFilter::CropRect cr(r);
|
/external/skia/bench/ |
BlurImageFilterBench.cpp | 27 // When 'cropped' is set we apply a cropRect to the blurImageFilter. The crop rect is an inset of 31 // When 'expanded' is set we apply a cropRect to the input of the blurImageFilter (a noOp 74 const SkImageFilter::CropRect cropRect(bmpRect.makeInset(10.f, 10.f)); 75 const SkImageFilter::CropRect cropRectLarge(bmpRect); 77 &cropRect)); 81 const SkImageFilter::CropRect* crop = 82 fIsExpanded ? &cropRectLarge : fIsCropped ? &cropRect : nullptr;
|
/external/mesa3d/src/mesa/main/ |
texparam.c | 436 texObj->CropRect[0] = params[0]; 437 texObj->CropRect[1] = params[1]; 438 texObj->CropRect[2] = params[2]; 439 texObj->CropRect[3] = params[3]; [all...] |