Home
last modified time | relevance | path

Searched refs:mCrop (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterCropRepresentation.java35 RectF mCrop = getNil(); field in FilterCropRepresentation
50 this(m.mCrop); in FilterCropRepresentation()
59 mCrop.set(r.mCrop); in set()
68 if (mCrop.bottom != crop.mCrop.bottom in equals()
69 || mCrop.left != crop.mCrop.left in equals()
70 || mCrop.right != crop.mCrop.right in equals()
71 || mCrop.top != crop.mCrop.top) { in equals()
78 return new RectF(mCrop); in getCrop()
82 r.set(mCrop); in getCrop()
89 mCrop.set(crop); in setCrop()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java73 private RectF mCrop = new RectF(); field in ImageStraighten
114 reps.add(new FilterCropRepresentation(mCrop)); in getFinalRepresentation()
235 mCrop.set(tmp); in updateCurrentCrop()
236 m.mapRect(mCrop); in updateCurrentCrop()
237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight); in updateCurrentCrop()
271 mPriorCropAtUp.set(mCrop); in onDraw()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DJpegImageBackendImageSaver.java89 mCrop), mExecutor, taskFlagsSet, mSession, in saveAndCloseImage()
160 private final Rect mCrop; field in JpegImageBackendImageSaver
176 mCrop = crop; in JpegImageBackendImageSaver()
193 mCrop = crop; in JpegImageBackendImageSaver()
DYuvImageBackendImageSaver.java90 mCrop), mExecutor, taskFlagsSet, mSession, in saveAndCloseImage()
168 private final Rect mCrop; field in YuvImageBackendImageSaver
183 mCrop = crop; in YuvImageBackendImageSaver()
201 mCrop = crop; in YuvImageBackendImageSaver()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java85 HighlightView mCrop; field in CropImage
216 if (mCrop == null) { in onSaveClicked()
234 Rect srcRect = mCrop.getCropRect(); in onSaveClicked()
253 Rect r = mCrop.getCropRect(); in onSaveClicked()
349 extras.putString("rect", mCrop.getCropRect().toString()); in saveOutput()
542 mCrop = mImageView.mHighlightViews.get(0);
543 mCrop.setFocus(true);
677 cropImage.mCrop = hv; in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java364 RectF mCrop = null; field in CropActivity.BitmapIOTask
392 mCrop = cropBounds; in BitmapIOTask()
426 if (mCrop != null && mPhoto != null && mOrig != null) { in doInBackground()
427 RectF trueCrop = CropMath.getScaledCropBounds(mCrop, mPhoto, mOrig); in doInBackground()
441 Bitmap ret = getCroppedImage(img, mCrop, mPhoto); in doInBackground()
465 RectF trueCrop = CropMath.getScaledCropBounds(mCrop, mPhoto, mOrig); in doInBackground()