Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java34 import com.android.gallery3d.filtershow.crop.CropObject;
44 private CropObject mCropObj = null;
123 mMovingBlock = mCropObj.selectEdge(CropObject.MOVE_BLOCK); in onTouchEvent()
132 mCropObj.selectEdge(CropObject.MOVE_NONE); in onTouchEvent()
243 mCropObj = new CropObject(mImageBounds, scaledCrop, (int) mUpdateHolder.straighten); in forceStateConsistency()
287 int[] sides = {CropObject.MOVE_TOP, in onDraw()
288 CropObject.MOVE_BOTTOM, in onDraw()
289 CropObject.MOVE_LEFT, in onDraw()
290 CropObject.MOVE_RIGHT}; in onDraw()
301 mCropObj.selectEdge(CropObject.MOVE_NONE); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java85 boolean notMoving = (selection == CropObject.MOVE_NONE); in drawIndicators()
87 if ((selection == CropObject.TOP_LEFT) || notMoving) { in drawIndicators()
90 if ((selection == CropObject.TOP_RIGHT) || notMoving) { in drawIndicators()
93 if ((selection == CropObject.BOTTOM_LEFT) || notMoving) { in drawIndicators()
96 if ((selection == CropObject.BOTTOM_RIGHT) || notMoving) { in drawIndicators()
100 if (((selection & CropObject.MOVE_TOP) != 0) || notMoving) { in drawIndicators()
103 if (((selection & CropObject.MOVE_BOTTOM) != 0) || notMoving) { in drawIndicators()
106 if (((selection & CropObject.MOVE_LEFT) != 0) || notMoving) { in drawIndicators()
109 if (((selection & CropObject.MOVE_RIGHT) != 0) || notMoving) { in drawIndicators()
DCropView.java51 private CropObject mCropObj = null;
126 mCropObj = new CropObject(newPhotoBounds, newCropBounds, 0); in initialize()
156 mMovingBlock = mCropObj.selectEdge(CropObject.MOVE_BLOCK); in onTouchEvent()
165 mCropObj.selectEdge(CropObject.MOVE_NONE); in onTouchEvent()
306 mCropObj = new CropObject(mImageBounds, mImageBounds, 0); in onDraw()
DCropObject.java24 public class CropObject { class
49 public CropObject(Rect outerBound, Rect innerBound, int outerAngle) { in CropObject() method in CropObject
53 public CropObject(RectF outerBound, RectF innerBound, int outerAngle) { in CropObject() method in CropObject