Lines Matching refs:cropped
238 * Sets cropped bounds; modifies the bounds if it's smaller than the allowed
290 RectF cropped = getLocalCropBounds();
291 m.mapRect(cropped);
292 mBounded = getBoundedCrop(cropped);
295 float left = Math.abs(x - cropped.left);
296 float right = Math.abs(x - cropped.right);
297 float top = Math.abs(y - cropped.top);
298 float bottom = Math.abs(y - cropped.bottom);
301 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
302 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) {
305 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
306 && ((y - mTouchTolerance) <= cropped.bottom)) {
311 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left)
312 && ((x - mTouchTolerance) <= cropped.right) && (top < bottom)) {
315 else if ((bottom <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left)
316 && ((x - mTouchTolerance) <= cropped.right)) {