Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DPreviewPositionHelper.java132 float croppedHeight = croppedWidth / targetAspect; in updateThumbnailMatrix() local
133 if (croppedHeight > availableHeight) { in updateThumbnailMatrix()
134 croppedHeight = availableHeight; in updateThumbnailMatrix()
135 if (croppedHeight < targetH) { in updateThumbnailMatrix()
136 croppedHeight = Math.min(targetH, surfaceHeight); in updateThumbnailMatrix()
138 croppedWidth = croppedHeight * targetAspect; in updateThumbnailMatrix()
143 croppedHeight = croppedWidth / targetAspect; in updateThumbnailMatrix()
161 thumbnailClipHint.bottom += availableHeight - croppedHeight; in updateThumbnailMatrix()