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

12 3 4 5

  /external/skia/src/effects/
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) {
SkMergeImageFilter.cpp 44 const CropRect* cropRect) : INHERITED(first, second, cropRect) {
55 const CropRect* cropRect) : INHERITED(count, filters, cropRect) {
SkDropShadowImageFilter.cpp 27 SkDropShadowImageFilter::SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, SkImageFilter* input, const CropRect* cropRect)
28 : INHERITED(input, cropRect)
SkOffsetImageFilter.cpp 81 const CropRect* cropRect) : INHERITED(input, cropRect) {
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperCropActivity.java 354 RectF cropRect = mCropView.getCrop();
356 float cropScale = mCropView.getWidth() / (float) cropRect.width();
371 extraSpace = 2f * Math.min(rotatedInSize[0] - cropRect.right, cropRect.left);
373 extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
376 float maxExtraSpace = defaultWallpaperSize.x / cropScale - cropRect.width();
380 cropRect.left -= extraSpace / 2f;
381 cropRect.right += extraSpace / 2f;
384 cropRect.right += extraSpace
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkMergeImageFilter.cpp 44 const CropRect* cropRect) : INHERITED(first, second, cropRect) {
55 const CropRect* cropRect) : INHERITED(count, filters, cropRect) {
SkDropShadowImageFilter.cpp 27 SkDropShadowImageFilter::SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, SkImageFilter* input, const CropRect* cropRect)
28 : INHERITED(input, cropRect)
SkOffsetImageFilter.cpp 81 const CropRect* cropRect) : INHERITED(input, cropRect) {
  /external/skia/gm/
morphology.cpp 73 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80));
77 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : NULL;
dropshadowimagefilter.cpp 82 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44);
84 c.drawRect(SkRect::Make(cropRect), paint);
131 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)),
132 SkImageFilter::CropRect::kHasAll_CropEdge);
133 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)),
134 SkImageFilter::CropRect::kHasAll_CropEdge);
142 new SkDropShadowImageFilter(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, NULL, &cropRect),
lighting.cpp 88 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65));
92 const SkImageFilter::CropRect* cr = (i == 0) ? NULL : &cropRect;
matrixconvolution.cpp 52 const SkImageFilter::CropRect* cropRect = NULL) {
70 cropRect)));
96 SkImageFilter::CropRect rect(SkRect::MakeXYWH(10, 5, 60, 60));
offsetimagefilter.cpp 91 SkIRect cropRect = SkIRect::MakeXYWH(x + i * 12,
95 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
  /external/chromium_org/third_party/skia/include/effects/
SkDisplacementMapEffect.h 29 const CropRect* cropRect = NULL);
SkXfermodeImageFilter.h 25 SkImageFilter* foreground = NULL, const CropRect* cropRect = NULL);
SkMatrixConvolutionImageFilter.h 50 @param cropRect The rectangle to which the output processing will be limited.
61 const CropRect* cropRect = NULL);
  /external/skia/include/effects/
SkDisplacementMapEffect.h 29 const CropRect* cropRect = NULL);
SkXfermodeImageFilter.h 25 SkImageFilter* foreground = NULL, const CropRect* cropRect = NULL);
SkMatrixConvolutionImageFilter.h 50 @param cropRect The rectangle to which the output processing will be limited.
61 const CropRect* cropRect = NULL);
  /external/chromium_org/third_party/skia/include/core/
SkImageFilter.h 34 class CropRect {
43 CropRect() {}
44 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) : fRect(rect), fFlags(flags) {}
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);
205 CropRect fCropRect
    [all...]
  /external/skia/include/core/
SkImageFilter.h 34 class CropRect {
43 CropRect() {}
44 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) : fRect(rect), fFlags(flags) {}
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);
205 CropRect fCropRect
    [all...]
  /external/skia/tests/
ImageFilterTest.cpp 70 static SkImageFilter* make_grayscale(SkImageFilter* input = NULL, const SkImageFilter::CropRect* cropRect = NULL) {
78 return SkColorFilterImageFilter::Create(filter, input, cropRect);
112 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(0, 0, 100, 100));
113 SkAutoTUnref<SkImageFilter> grayWithCrop(make_grayscale(NULL, &cropRect));
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEOffset.cpp 111 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset());
112 return adoptRef(new SkOffsetImageFilter(SkFloatToScalar(filter->applyHorizontalScale(m_dx)), SkFloatToScalar(filter->applyVerticalScale(m_dy)), input.get(), &cropRect));
  /external/chromium_org/third_party/mesa/src/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/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;

Completed in 253 milliseconds

12 3 4 5