/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));
|
FEDropShadow.cpp | 130 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 131 return adoptRef(new SkDropShadowImageFilter(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(stdX), SkFloatToScalar(stdY), m_shadowColor.rgb(), input.get(), &cropRect));
|
FEBlend.cpp | 246 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 247 return adoptRef(new SkXfermodeImageFilter(mode, background.get(), foreground.get(), &cropRect));
|
FEComponentTransfer.cpp | 209 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 210 return adoptRef(SkColorFilterImageFilter::Create(colorFilter, input.get(), &cropRect));
|
FEComposite.cpp | 351 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 353 return adoptRef(new SkXfermodeImageFilter(mode, background.get(), foreground.get(), &cropRect));
|
FEDisplacementMap.cpp | 219 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 222 return adoptRef(new SkDisplacementMapEffect(typeX, typeY, SkFloatToScalar(filter()->applyHorizontalScale(m_scale)), displ.get(), color.get(), &cropRect));
|
FEConvolveMatrix.cpp | 529 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); 530 return adoptRef(new SkMatrixConvolutionImageFilter(kernelSize, kernel.get(), gain, bias, target, tileMode, convolveAlpha, input.get(), &cropRect));
|
/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/gm/ |
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),
|
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...] |
offsetimagefilter.cpp | 91 SkIRect cropRect = SkIRect::MakeXYWH(x + i * 12, 95 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
|
xfermodeimagefilter.cpp | 206 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0], 210 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
|
/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...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardCircleFramedDrawable.java | 71 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); 90 canvas.drawBitmap(bitmap, cropRect, circleRect, mPaint);
|
/packages/apps/Settings/src/com/android/settings/users/ |
CircleFramedDrawable.java | 92 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); 111 canvas.drawBitmap(icon, cropRect, circleRect, mPaint);
|
/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...] |
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 799 Rect cropRect = mCurrentCrop; 803 if (!cropRect.isEmpty()) { 832 if (cropRect.width() < bufferWidth) { 833 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; 834 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / 837 if (cropRect.height() < bufferHeight) { 838 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / 840 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 522 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight()); 524 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 543 RectF cropRect = new RectF(); 546 cropRect.top = 0; 547 cropRect.bottom = inHeight; 549 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; 550 cropRect.right = cropRect.left + cropWidth; 552 cropRect.left = 0; 553 cropRect.right = inWidth [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropActivity.java | 515 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight()); 518 m.mapRect(cropRect); 521 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 518 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight()); 521 m.mapRect(cropRect); 524 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
|
/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...] |
WallpaperPickerActivity.java | [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/ |
ExynosVideoApi.h | 100 ExynosVideoRect cropRect;
|