Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DLongScreenshotActivity.java202 float topFraction = Math.max(0, in onLongScreenshotReceived() local
222 CropView.CropBoundary.TOP, topFraction); in onLongScreenshotReceived()
469 float topFraction = Math.max(0, in updateImageDimensions() local
477 matrix.postTranslate(0, -scale * drawable.getIntrinsicHeight() * topFraction); in updateImageDimensions()
480 topFraction * previewHeight + mPreview.getPaddingTop() + extraPadding); in updateImageDimensions()