Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java191 float delta = pixelDistanceToFraction((int) deltaPx, in onTouchEvent()
366 upper = mCrop.bottom - pixelDistanceToFraction(mCropTouchMargin, in getAllowedValues()
370 lower = mCrop.top + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.TOP); in getAllowedValues()
375 upper = mCrop.right - pixelDistanceToFraction(mCropTouchMargin, CropBoundary.RIGHT); in getAllowedValues()
378 lower = mCrop.left + pixelDistanceToFraction(mCropTouchMargin, CropBoundary.LEFT); in getAllowedValues()
477 private float pixelDistanceToFraction(float px, CropBoundary boundary) { in pixelDistanceToFraction() method in CropView
573 float delta = pixelDistanceToFraction(mCropTouchMargin, boundary); in onPerformActionForVirtualView()