Searched refs:mCropObj (Results 1 – 2 of 2) sorted by relevance
44 private CropObject mCropObj = null; field in ImageCrop122 if (!mCropObj.selectEdge(x, y)) { in onTouchEvent()123 mMovingBlock = mCropObj.selectEdge(CropObject.MOVE_BLOCK); in onTouchEvent()132 mCropObj.selectEdge(CropObject.MOVE_NONE); in onTouchEvent()137 internallyUpdateLocalRep(mCropObj.getInnerBounds(), mCropObj.getOuterBounds()); in onTouchEvent()144 mCropObj.moveCurrentSelection(dx, dy); in onTouchEvent()163 mCropObj.unsetAspectRatio(); in applyFreeAspect()168 RectF outer = mCropObj.getOuterBounds(); in applyOriginalAspect()173 mCropObj.resetBoundsTo(outer, outer); in applyOriginalAspect()174 internallyUpdateLocalRep(mCropObj.getInnerBounds(), mCropObj.getOuterBounds()); in applyOriginalAspect()[all …]
51 private CropObject mCropObj = null; field in CropView115 if (mCropObj != null) { in initialize()116 RectF crop = mCropObj.getInnerBounds(); in initialize()117 RectF containing = mCropObj.getOuterBounds(); in initialize()121 mCropObj.resetBoundsTo(newCropBounds, newPhotoBounds); in initialize()126 mCropObj = new CropObject(newPhotoBounds, newCropBounds, 0); in initialize()132 return mCropObj.getInnerBounds(); in getCrop()136 return mCropObj.getOuterBounds(); in getPhoto()155 if (!mCropObj.selectEdge(x, y)) { in onTouchEvent()156 mMovingBlock = mCropObj.selectEdge(CropObject.MOVE_BLOCK); in onTouchEvent()[all …]