Home
last modified time | relevance | path

Searched refs:mCropRect (Results 1 – 5 of 5) 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/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java96 private Rect mCropRect; field in AndroidImageProxy
131 mCropRect = mImage.getCropRect(); in getCropRect()
134 return mCropRect; in getCropRect()
136 return mCropRect; in getCropRect()
146 mCropRect = cropRect; in setCropRect()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java57 private Rect mCropRect; field in TestWallpaperPersister
96 mCropRect = cropRect; in setIndividualWallpaper()
208 return mCropRect; in getCropRect()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java384 final Rect mCropRect = new Rect(); field in SwipeUpAnimationLogic.SpringAnimationRunner
428 cropRectF.roundOut(mCropRect); in SpringAnimationRunner()
501 .setWindowCrop(mCropRect) in onBuildTargetParams()