Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java30 private float mTouchTolerance = 45; field in CropObject
112 mTouchTolerance = tolerance; in setTouchTolerance()
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) in calculateSelectedEdge()
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) { in calculateSelectedEdge()
278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) in calculateSelectedEdge()
279 && ((y - mTouchTolerance) <= cropped.bottom)) { in calculateSelectedEdge()
284 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left) in calculateSelectedEdge()
285 && ((x - mTouchTolerance) <= cropped.right) && (top < bottom)) { in calculateSelectedEdge()
288 else if ((bottom <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left) in calculateSelectedEdge()
289 && ((x - mTouchTolerance) <= cropped.right)) { in calculateSelectedEdge()
DCropView.java72 private int mTouchTolerance = 40; field in CropView
105 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()
328 mCropObj.setTouchTolerance(mDisplayMatrixInverse.mapRadius(mTouchTolerance)); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java56 private int mTouchTolerance = 40; field in ImageCrop
85 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()
285 mCropObj.setTouchTolerance(mDisplayMatrixInverse.mapRadius(mTouchTolerance)); in onDraw()