Lines Matching refs:mCropRect
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()
280 Math.min(0, mImageRect.bottom - mCropRect.bottom)); in moveBy()
301 RectF r = new RectF(mCropRect); in growBy()
343 mCropRect.set(r); in growBy()
350 return new Rect((int) mCropRect.left, (int) mCropRect.top, in getCropRect()
351 (int) mCropRect.right, (int) mCropRect.bottom); in getCropRect()
356 RectF r = new RectF(mCropRect.left, mCropRect.top, in computeLayout()
357 mCropRect.right, mCropRect.bottom); in computeLayout()
374 mCropRect = cropRect; in setup()
379 mInitialAspectRatio = mCropRect.width() / mCropRect.height(); in setup()
398 RectF mCropRect; // in image space field in HighlightView