Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A 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()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
H A DFocusAreaTest.java997 @NonNull AccessibilityNodeInfo node, int leftPx, int topPx, int rightPx, int bottomPx) { in assertBoundsOffset() argument
1002 assertThat(extras.getInt(FOCUS_AREA_BOTTOM_BOUND_OFFSET)).isEqualTo(bottomPx); in assertBoundsOffset()