Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DCropView.java63 private final float mCropTouchMargin; field in CropView
112 mCropTouchMargin = 24 * getResources().getDisplayMetrics().density; in CropView()
357 mCrop.bottom - pixelDistanceToFraction(mCropTouchMargin, in getAllowedValues()
361 mCrop.top + pixelDistanceToFraction(mCropTouchMargin, in getAllowedValues()
365 mCrop.right - pixelDistanceToFraction(mCropTouchMargin, in getAllowedValues()
369 mCrop.left + pixelDistanceToFraction(mCropTouchMargin, in getAllowedValues()
469 if (Math.abs(event.getY() - topPx) < mCropTouchMargin) { in nearestBoundary()
472 if (Math.abs(event.getY() - bottomPx) < mCropTouchMargin) { in nearestBoundary()
476 if (Math.abs(event.getX() - leftPx) < mCropTouchMargin) { in nearestBoundary()
479 if (Math.abs(event.getX() - rightPx) < mCropTouchMargin) { in nearestBoundary()
[all …]