HomeSort by relevance Sort by last modified time
    Searched full:croprect (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmap.cpp 29 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect)
31 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect);
40 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect)
43 , m_cropRect(cropRect)
45 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height()));
46 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
57 ImageBitmap::ImageBitmap(HTMLVideoElement* video, const IntRect& cropRect)
59 , m_cropRect(cropRect)
63 IntRect srcRect = intersection(cropRect, videoRect)
    [all...]
  /external/chromium_org/third_party/skia/include/effects/
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)
    [all...]
SkColorFilterImageFilter.h 19 const CropRect* cropRect = NULL);
36 const CropRect* cropRect = NULL);
SkMorphologyImageFilter.h 17 SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect);
37 const CropRect* cropRect = NULL)
38 : INHERITED(radiusX, radiusY, input, cropRect) {}
60 const CropRect* cropRect = NULL)
61 : INHERITED(radiusX, radiusY, input, cropRect) {}
SkOffsetImageFilter.h 19 const CropRect* cropRect = NULL);
SkMergeImageFilter.h 19 const CropRect* cropRect = NULL);
22 const CropRect* cropRect = NULL);
SkBlurImageFilter.h 19 const CropRect* cropRect = NULL);
SkDropShadowImageFilter.h 15 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
SkRectShaderImageFilter.h 28 SK_ATTR_DEPRECATED("use Create(SkShader*, const CropRect*)")
31 static SkRectShaderImageFilter* Create(SkShader* s, const CropRect* rect = NULL);
44 SkRectShaderImageFilter(SkShader* s, const CropRect* rect);
  /external/skia/include/effects/
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)
    [all...]
SkColorFilterImageFilter.h 19 const CropRect* cropRect = NULL);
36 const CropRect* cropRect = NULL);
SkMorphologyImageFilter.h 17 SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect);
37 const CropRect* cropRect = NULL)
38 : INHERITED(radiusX, radiusY, input, cropRect) {}
60 const CropRect* cropRect = NULL)
61 : INHERITED(radiusX, radiusY, input, cropRect) {}
SkOffsetImageFilter.h 19 const CropRect* cropRect = NULL);
SkMergeImageFilter.h 19 const CropRect* cropRect = NULL);
22 const CropRect* cropRect = NULL);
SkBlurImageFilter.h 19 const CropRect* cropRect = NULL);
SkDropShadowImageFilter.h 15 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
SkRectShaderImageFilter.h 28 SK_ATTR_DEPRECATED("use Create(SkShader*, const CropRect*)")
31 static SkRectShaderImageFilter* Create(SkShader* s, const CropRect* rect = NULL);
44 SkRectShaderImageFilter(SkShader* s, const CropRect* rect);
  /external/chromium_org/third_party/skia/src/effects/
SkRectShaderImageFilter.cpp 17 uint32_t flags = CropRect::kHasAll_CropEdge;
21 CropRect cropRect(rect, flags);
22 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect));
25 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) {
27 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect));
30 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect)
31 : INHERITED(NULL, cropRect)
    [all...]
SkColorFilterImageFilter.cpp 60 SkImageFilter* input, const CropRect* cropRect) {
72 return SkNEW_ARGS(SkColorFilterImageFilter, (newCF, input->getInput(0), cropRect));
75 return SkNEW_ARGS(SkColorFilterImageFilter, (cf, input, cropRect));
79 SkImageFilter* input, const CropRect* cropRect)
80 : INHERITED(input, cropRect), fColorFilter(cf) {
  /external/skia/src/effects/
SkRectShaderImageFilter.cpp 17 uint32_t flags = CropRect::kHasAll_CropEdge;
21 CropRect cropRect(rect, flags);
22 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect));
25 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) {
27 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect));
30 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect)
31 : INHERITED(NULL, cropRect)
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkImageFilter.cpp 20 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect)
23 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) {
30 SkImageFilter::SkImageFilter(SkImageFilter* input, const CropRect* cropRect)
33 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0))
    [all...]
  /external/skia/src/core/
SkImageFilter.cpp 20 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect)
23 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) {
30 SkImageFilter::SkImageFilter(SkImageFilter* input, const CropRect* cropRect)
33 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0))
    [all...]
  /external/skia/gm/
imagefilterscropped.cpp 88 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44);
90 c.drawRect(SkRect::Make(cropRect), paint);
136 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::CropRect::kHasAll_CropEdge);
137 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), SkImageFilter::CropRect::kHasAll_CropEdge);
146 SkColorFilterImageFilter::Create(cf.get(), NULL, &cropRect),
147 new SkBlurImageFilter(1.0f, 1.0f, NULL, &cropRect),
148 new SkBlurImageFilter(8.0f, 0.0f, NULL, &cropRect),
    [all...]
displacement.cpp 133 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(30, 30, 40, 40));
137 0.0f, displ, NULL, &cropRect)))->unref();
142 16.0f, displ, NULL, &cropRect)))->unref();
147 32.0f, displ, NULL, &cropRect)))->unref();
152 48.0f, displ, NULL, &cropRect)))->unref();
157 64.0f, displ, NULL, &cropRect)))->unref();
163 40.0f, displ, NULL, &cropRect)))->unref();
168 40.0f, displ, NULL, &cropRect)))->unref();
173 40.0f, displ, NULL, &cropRect)))->unref()
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
WallpaperCropActivity.java 347 RectF cropRect = mCropView.getCrop();
352 float cropScale = mCropView.getWidth() / (float) cropRect.width();
363 cropRect.left = Math.max(0, cropRect.left);
364 cropRect.right = Math.min(rotatedInSize[0], cropRect.right);
365 cropRect.top = Math.max(0, cropRect.top);
366 cropRect.bottom = Math.min(rotatedInSize[1], cropRect.bottom)
    [all...]

Completed in 103 milliseconds

1 2 3 4 5