Searched refs:cropRect (Results 1 - 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | 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 [all...] |
H A D | WallpaperPickerActivity.java | 615 RectF cropRect = WallpaperCropActivity.getMaxCropRect( 617 cropTask.setCropBounds(cropRect);
|
/packages/apps/Settings/src/com/android/settings/users/ |
H A D | CircleFramedDrawable.java | 92 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); 111 canvas.drawBitmap(icon, cropRect, circleRect, mPaint);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | HighlightView.java | 367 public void setup(Matrix m, Rect imageRect, RectF cropRect, boolean circle, argument 374 mCropRect = cropRect;
|
H A D | CropImage.java | 492 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight); 493 hv.setup(mImageMatrix, imageRect, cropRect, mCircleCrop,
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | 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/ |
H A D | 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);
|
Completed in 154 milliseconds