Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DCropView.java167 int bottomPx = fractionToVerticalPixels(mCrop.bottom); in onTouchEvent() local
170 mCurrentDraggingBoundary = nearestBoundary(event, topPx, bottomPx, in onTouchEvent()
478 private CropBoundary nearestBoundary(MotionEvent event, int topPx, int bottomPx, int leftPx, in nearestBoundary() argument
483 if (Math.abs(event.getY() - bottomPx) < mCropTouchMargin) { in nearestBoundary()
486 if (event.getY() > topPx || event.getY() < bottomPx) { in nearestBoundary()