Searched refs:mCropRect (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 248 moveBy(dx * (mCropRect.width() / r.width()), in handleMotion() 249 dy * (mCropRect.height() / r.height())); in handleMotion() 260 float xDelta = dx * (mCropRect.width() / r.width()); in handleMotion() 261 float yDelta = dy * (mCropRect.height() / r.height()); in handleMotion() 271 mCropRect.offset(dx, dy); in moveBy() 274 mCropRect.offset( in moveBy() 275 Math.max(0, mImageRect.left - mCropRect.left), in moveBy() 276 Math.max(0, mImageRect.top - mCropRect.top)); in moveBy() 278 mCropRect.offset( in moveBy() 279 Math.min(0, mImageRect.right - mCropRect.right), in moveBy() [all …]
|
D | CropImage.java | 773 float [] coordinates = new float[] {hv.mCropRect.centerX(), in centerBasedOnHighlightView() 774 hv.mCropRect.centerY()}; in centerBasedOnHighlightView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 307 private Rect mCropRect; field in StreamableAsset.DecodeBitmapRegionAsyncTask 314 mCropRect = rect; in DecodeBitmapRegionAsyncTask() 332 mCropRect = CropRectRotator.rotateCropRectForExifOrientation( in doInBackground() 333 calculateRawDimensions(), mCropRect, exifOrientation); in doInBackground() 337 mCropRect.width(), mCropRect.height(), mTargetWidth, mTargetHeight); in doInBackground() 347 Bitmap bitmap = mBitmapRegionDecoder.decodeRegion(mCropRect, options); in doInBackground()
|
D | ContentUriAsset.java | 291 private Rect mCropRect; field in ContentUriAsset.BitmapCropTask 296 mCropRect = cropRect; in BitmapCropTask() 307 mFromBitmap, mCropRect.left, mCropRect.top, mCropRect.width(), in doInBackground() 308 mCropRect.height()); in doInBackground()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidImageProxy.java | 95 private Rect mCropRect; field in AndroidImageProxy 130 mCropRect = mImage.getCropRect(); in getCropRect() 133 return mCropRect; in getCropRect() 135 return mCropRect; in getCropRect() 145 mCropRect = cropRect; in setCropRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultBitmapCropper.java | 62 private final Rect mCropRect; field in DefaultBitmapCropper.ScaleBitmapTask 71 mCropRect = cropRect; in ScaleBitmapTask() 85 mCropRect.width(), in doInBackground() 86 mCropRect.height(), in doInBackground()
|