Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java236 float topFraction = Math.max(0, in onLongScreenshotReceived() local
242 Log.i(TAG, "topFraction: " + topFraction); in onLongScreenshotReceived()
254 mCropView.setBoundaryPosition(CropBoundary.TOP, topFraction); in onLongScreenshotReceived()
509 float topFraction = Math.max(0, in updateImageDimensions() local
517 matrix.postTranslate(0, -scale * drawable.getIntrinsicHeight() * topFraction); in updateImageDimensions()
520 topFraction * previewHeight + mPreview.getPaddingTop() + extraPadding); in updateImageDimensions()