Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DCropView.java163 int bottomPx = fractionToVerticalPixels(mCrop.bottom); in onTouchEvent() local
166 mCurrentDraggingBoundary = nearestBoundary(event, topPx, bottomPx, in onTouchEvent()
467 private CropBoundary nearestBoundary(MotionEvent event, int topPx, int bottomPx, int leftPx, in nearestBoundary() argument
472 if (Math.abs(event.getY() - bottomPx) < mCropTouchMargin) { in nearestBoundary()
475 if (event.getY() > topPx || event.getY() < bottomPx) { in nearestBoundary()