Searched refs:mTouchTolerance (Results 1 – 3 of 3) sorted by relevance
30 private float mTouchTolerance = 45; field in CropObject112 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()
72 private int mTouchTolerance = 40; field in CropView105 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()328 mCropObj.setTouchTolerance(mDisplayMatrixInverse.mapRadius(mTouchTolerance)); in onDraw()
56 private int mTouchTolerance = 40; field in ImageCrop85 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()285 mCropObj.setTouchTolerance(mDisplayMatrixInverse.mapRadius(mTouchTolerance)); in onDraw()