Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java42 private RectF mScreenCropBounds = new RectF(); field in ImageCrop
308 mCropObj.getInnerBounds(mScreenCropBounds); in onDraw()
310 FilterCropRepresentation.findNormalizedCrop(mScreenCropBounds, (int) outer.width(), in onDraw()
312 FilterCropRepresentation.findScaledCrop(mScreenCropBounds, bitmap.getWidth(), in onDraw()
314 if (mDisplayCropMatrix.mapRect(mScreenCropBounds)) { in onDraw()
316 CropDrawingUtils.drawCropRect(canvas, mScreenCropBounds); in onDraw()
317 CropDrawingUtils.drawShade(canvas, mScreenCropBounds); in onDraw()
318 CropDrawingUtils.drawRuleOfThird(canvas, mScreenCropBounds); in onDraw()
320 mScreenCropBounds, mCropObj.isFixedAspect(), in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java44 private RectF mScreenCropBounds = new RectF(); field in CropView
348 mCropObj.getInnerBounds(mScreenCropBounds); in onDraw()
350 if (mDisplayMatrix.mapRect(mScreenCropBounds)) { in onDraw()
356 CropDrawingUtils.drawShadows(canvas, p, mScreenCropBounds, mScreenImageBounds); in onDraw()
359 CropDrawingUtils.drawCropRect(canvas, mScreenCropBounds); in onDraw()
361 CropDrawingUtils.drawRuleOfThird(canvas, mScreenCropBounds); in onDraw()
370 CropDrawingUtils.drawWallpaperSelectionFrame(canvas, mScreenCropBounds, in onDraw()
374mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation)); in onDraw()