HomeSort by relevance Sort by last modified time
    Searched defs:cropRect (Results 1 - 13 of 13) sorted by null

  /external/skia/tests/
ImageFilterTest.cpp 27 static SkImageFilter* make_grayscale(SkImageFilter* input = NULL, const SkIRect* cropRect = NULL) {
35 return SkColorFilterImageFilter::Create(filter, input, cropRect);
69 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100);
70 SkAutoTUnref<SkImageFilter> grayWithCrop(make_grayscale(NULL, &cropRect));
  /external/skia/gm/
imagefilterscropped.cpp 86 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44);
88 c.drawRect(SkRect::Make(cropRect), paint);
134 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44);
139 SkColorFilterImageFilter::Create(cf, NULL, &cropRect),
140 new SkBlurImageFilter(1.0f, 1.0f, NULL, &cropRect),
141 new SkBlurImageFilter(8.0f, 0.0f, NULL, &cropRect),
142 new SkBlurImageFilter(0.0f, 8.0f, NULL, &cropRect),
143 new SkBlurImageFilter(8.0f, 8.0f, NULL, &cropRect),
lighting.cpp 87 SkIRect cropRect = SkIRect::MakeXYWH(20, 10, 60, 65);
91 const SkIRect* cr = (i == 0) ? NULL : &cropRect;
  /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 342 RectF cropRect = mCropView.getCrop();
344 float cropScale = mCropView.getWidth() / (float) cropRect.width();
357 float extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
359 float maxExtraSpace = defaultWallpaperSize.x / cropScale - cropRect.width();
363 cropRect.right += extraSpace;
365 cropRect.left -= extraSpace;
370 cropRect.bottom = cropRect.top + defaultWallpaperSize.y / cropScale;
373 defaultWallpaperSize.y / cropScale - cropRect.height()
    [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 526 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight());
528 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
547 RectF cropRect = new RectF();
550 cropRect.top = 0;
551 cropRect.bottom = inHeight;
553 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
554 cropRect.right = cropRect.left + cropWidth;
556 cropRect.left = 0;
557 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);
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/
ExynosVideoApi.h 100 ExynosVideoRect cropRect;
  /packages/apps/Launcher3/src/com/android/launcher3/
WallpaperCropActivity.java 307 RectF cropRect = mCropView.getCrop();
309 float cropScale = mCropView.getWidth() / (float) cropRect.width();
322 float extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
324 float maxExtraSpace = defaultWallpaperWidth / cropScale - cropRect.width();
328 cropRect.right += extraSpace;
330 cropRect.left -= extraSpace;
335 cropRect.bottom = cropRect.top + portraitHeight / cropScale;
338 portraitHeight / cropScale - cropRect.height()
    [all...]
WallpaperPickerActivity.java 615 RectF cropRect = WallpaperCropActivity.getMaxCropRect(
617 cropTask.setCropBounds(cropRect);
    [all...]

Completed in 282 milliseconds