/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | ImageBitmap.cpp | 29 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect) in cropImage() argument 31 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect); in cropImage() 40 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect) in ImageBitmap() argument 43 , m_cropRect(cropRect) in ImageBitmap() 45 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height())); in ImageBitmap() 46 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size()); in ImageBitmap() 57 ImageBitmap::ImageBitmap(HTMLVideoElement* video, const IntRect& cropRect) in ImageBitmap() argument 59 , m_cropRect(cropRect) in ImageBitmap() 63 IntRect srcRect = intersection(cropRect, videoRect); in ImageBitmap() 74 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size()); in ImageBitmap() [all …]
|
D | SmartClip.cpp | 97 SmartClipData SmartClip::dataForRect(const IntRect& cropRect) in dataForRect() argument 99 IntRect resizedCropRect = applyScaleWithoutCollapsingToZero(cropRect, 1 / pageScaleFactor()); in dataForRect() 180 Node* SmartClip::findBestOverlappingNode(Node* rootNode, const IntRect& cropRect) in findBestOverlappingNode() argument 185 IntRect resizedCropRect = rootNode->document().view()->windowToContents(cropRect); in findBestOverlappingNode() 238 void SmartClip::collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, Vector<Node… in collectOverlappingChildNodes() argument 242 IntRect resizedCropRect = parentNode->document().view()->windowToContents(cropRect); in collectOverlappingChildNodes()
|
D | SmartClip.h | 75 Node* findBestOverlappingNode(Node*, const IntRect& cropRect); 77 …void collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, Vector<Node*>& overla…
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkImageFilter.cpp | 20 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect) in SkImageFilter() argument 23 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 30 SkImageFilter::SkImageFilter(SkImageFilter* input, const CropRect* cropRect) in SkImageFilter() argument 33 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 38 SkImageFilter::SkImageFilter(SkImageFilter* input1, SkImageFilter* input2, const CropRect* cropRect) in SkImageFilter() argument 40 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 173 SkRect cropRect; in applyCropRect() local 174 matrix.mapRect(&cropRect, fCropRect.rect()); in applyCropRect() 176 cropRect.roundOut(&cropRectI); in applyCropRect()
|
/external/skia/src/core/ |
D | SkImageFilter.cpp | 20 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect) in SkImageFilter() argument 23 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 30 SkImageFilter::SkImageFilter(SkImageFilter* input, const CropRect* cropRect) in SkImageFilter() argument 33 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 38 SkImageFilter::SkImageFilter(SkImageFilter* input1, SkImageFilter* input2, const CropRect* cropRect) in SkImageFilter() argument 40 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) { in SkImageFilter() 173 SkRect cropRect; in applyCropRect() local 174 matrix.mapRect(&cropRect, fCropRect.rect()); in applyCropRect() 176 cropRect.roundOut(&cropRectI); in applyCropRect()
|
/external/skia/src/effects/ |
D | SkRectShaderImageFilter.cpp | 21 CropRect cropRect(rect, flags); in Create() local 22 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect)); in Create() 25 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) { in Create() argument 27 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect)); in Create() 30 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect) in SkRectShaderImageFilter() argument 31 : INHERITED(NULL, cropRect) in SkRectShaderImageFilter()
|
D | SkColorFilterImageFilter.cpp | 60 SkImageFilter* input, const CropRect* cropRect) { in Create() argument 72 return SkNEW_ARGS(SkColorFilterImageFilter, (newCF, input->getInput(0), cropRect)); in Create() 75 return SkNEW_ARGS(SkColorFilterImageFilter, (cf, input, cropRect)); in Create() 79 SkImageFilter* input, const CropRect* cropRect) in SkColorFilterImageFilter() argument 80 : INHERITED(input, cropRect), fColorFilter(cf) { in SkColorFilterImageFilter()
|
D | SkMergeImageFilter.cpp | 44 … const CropRect* cropRect) : INHERITED(first, second, cropRect) { in SkMergeImageFilter() argument 55 … const CropRect* cropRect) : INHERITED(count, filters, cropRect) { in SkMergeImageFilter() argument
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkRectShaderImageFilter.cpp | 21 CropRect cropRect(rect, flags); in Create() local 22 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect)); in Create() 25 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) { in Create() argument 27 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect)); in Create() 30 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect) in SkRectShaderImageFilter() argument 31 : INHERITED(NULL, cropRect) in SkRectShaderImageFilter()
|
D | SkColorFilterImageFilter.cpp | 60 SkImageFilter* input, const CropRect* cropRect) { in Create() argument 72 return SkNEW_ARGS(SkColorFilterImageFilter, (newCF, input->getInput(0), cropRect)); in Create() 75 return SkNEW_ARGS(SkColorFilterImageFilter, (cf, input, cropRect)); in Create() 79 SkImageFilter* input, const CropRect* cropRect) in SkColorFilterImageFilter() argument 80 : INHERITED(input, cropRect), fColorFilter(cf) { in SkColorFilterImageFilter()
|
D | SkMergeImageFilter.cpp | 44 … const CropRect* cropRect) : INHERITED(first, second, cropRect) { in SkMergeImageFilter() argument 55 … const CropRect* cropRect) : INHERITED(count, filters, cropRect) { in SkMergeImageFilter() argument
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 55 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 58 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 62 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 65 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 68 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 72 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 81 const CropRect* cropRect = NULL);
|
D | SkMorphologyImageFilter.h | 17 … SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect); 37 const CropRect* cropRect = NULL) 38 : INHERITED(radiusX, radiusY, input, cropRect) {} in INHERITED() argument 60 const CropRect* cropRect = NULL) 61 : INHERITED(radiusX, radiusY, input, cropRect) {} in INHERITED() argument
|
D | SkColorFilterImageFilter.h | 19 const CropRect* cropRect = NULL); 36 const CropRect* cropRect = NULL);
|
D | SkMergeImageFilter.h | 19 const CropRect* cropRect = NULL); 22 const CropRect* cropRect = NULL);
|
/external/chromium_org/third_party/skia/include/effects/ |
D | SkLightingImageFilter.h | 55 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 58 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 62 SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 65 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 68 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 72 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); 81 const CropRect* cropRect = NULL);
|
D | SkMorphologyImageFilter.h | 17 … SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect); 37 const CropRect* cropRect = NULL) 38 : INHERITED(radiusX, radiusY, input, cropRect) {} in INHERITED() argument 60 const CropRect* cropRect = NULL) 61 : INHERITED(radiusX, radiusY, input, cropRect) {} in INHERITED() argument
|
D | SkColorFilterImageFilter.h | 19 const CropRect* cropRect = NULL); 36 const CropRect* cropRect = NULL);
|
D | SkMergeImageFilter.h | 19 const CropRect* cropRect = NULL); 22 const CropRect* cropRect = NULL);
|
/external/skia/gm/ |
D | displacement.cpp | 133 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(30, 30, 40, 40)); in onDraw() local 137 0.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 142 16.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 147 32.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 152 48.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 157 64.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 163 40.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 168 40.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 173 40.0f, displ, NULL, &cropRect)))->unref(); in onDraw() 178 40.0f, displ, NULL, &cropRect)))->unref(); in onDraw() [all …]
|
D | imagefilterscropped.cpp | 88 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); in draw_sprite() local 90 c.drawRect(SkRect::Make(cropRect), paint); in draw_sprite() 136 …SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::C… in onDraw() local 146 SkColorFilterImageFilter::Create(cf.get(), NULL, &cropRect), in onDraw() 147 new SkBlurImageFilter(1.0f, 1.0f, NULL, &cropRect), in onDraw() 148 new SkBlurImageFilter(8.0f, 0.0f, NULL, &cropRect), in onDraw() 149 new SkBlurImageFilter(0.0f, 8.0f, NULL, &cropRect), in onDraw() 150 new SkBlurImageFilter(8.0f, 8.0f, NULL, &cropRect), in onDraw() 151 new SkMergeImageFilter(NULL, cfOffset.get(), SkXfermode::kSrcOver_Mode, &cropRect), in onDraw()
|
D | dropshadowimagefilter.cpp | 82 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); in draw_sprite() local 84 c.drawRect(SkRect::Make(cropRect), paint); in draw_sprite() 131 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw() local 142 new SkDropShadowImageFilter(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, NULL, &cropRect), in onDraw()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 70 …lter* make_grayscale(SkImageFilter* input = NULL, const SkImageFilter::CropRect* cropRect = NULL) { in make_grayscale() argument 78 return SkColorFilterImageFilter::Create(filter, input, cropRect); in make_grayscale() 112 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(0, 0, 100, 100)); in Test() local 113 SkAutoTUnref<SkImageFilter> grayWithCrop(make_grayscale(NULL, &cropRect)); in Test()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkImageFilter.h | 149 SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = NULL); 152 explicit SkImageFilter(SkImageFilter* input, const CropRect* cropRect = NULL); 155 SkImageFilter(SkImageFilter* input1, SkImageFilter* input2, const CropRect* cropRect = NULL);
|
/external/skia/include/core/ |
D | SkImageFilter.h | 149 SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = NULL); 152 explicit SkImageFilter(SkImageFilter* input, const CropRect* cropRect = NULL); 155 SkImageFilter(SkImageFilter* input1, SkImageFilter* input2, const CropRect* cropRect = NULL);
|