Searched refs:mImageRect (Results 1 - 1 of 1) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java275 Math.max(0, mImageRect.left - mCropRect.left),
276 Math.max(0, mImageRect.top - mCropRect.top));
279 Math.min(0, mImageRect.right - mCropRect.right),
280 Math.min(0, mImageRect.bottom - mCropRect.bottom));
302 if (dx > 0F && r.width() + 2 * dx > mImageRect.width()) {
303 float adjustment = (mImageRect.width() - r.width()) / 2F;
309 if (dy > 0F && r.height() + 2 * dy > mImageRect.height()) {
310 float adjustment = (mImageRect.height() - r.height()) / 2F;
332 if (r.left < mImageRect.left) {
333 r.offset(mImageRect
397 private RectF mImageRect; // in image space field in class:HighlightView
[all...]

Completed in 28 milliseconds