Home
last modified time | relevance | path

Searched refs:mCropRect (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java248 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 …]
DCropImage.java773 float [] coordinates = new float[] {hv.mCropRect.centerX(), in centerBasedOnHighlightView()
774 hv.mCropRect.centerY()}; in centerBasedOnHighlightView()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java246 private final RectF mCropRect; field in CropImage.SaveOutput
249 mCropRect = cropRect; in SaveOutput()
253 RectF cropRect = mCropRect; in run()