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/
DCropView.java186 float delta = pixelDistanceToFraction((int) deltaPx, in onTouchEvent()
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()
459 private float pixelDistanceToFraction(float px, CropBoundary boundary) { in pixelDistanceToFraction() method in CropView
555 float delta = pixelDistanceToFraction(mCropTouchMargin, boundary); in onPerformActionForVirtualView()