Home
last modified time | relevance | path

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

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