Searched refs:previewLongerEdge (Results 1 – 1 of 1) sorted by relevance
273 float previewLongerEdge; in getPositionConfiguration() local276 previewLongerEdge = longerEdge; in getPositionConfiguration()282 … config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge, in getPositionConfiguration()288 width / 2 + previewShorterEdge / 2, previewLongerEdge); in getPositionConfiguration()298 previewLongerEdge = shorterEdge * previewAspectRatio; in getPositionConfiguration()302 float left = right - previewLongerEdge; in getPositionConfiguration()307 float top = bottom - previewLongerEdge; in getPositionConfiguration()313 previewLongerEdge = longerEdge - mBottomBarMinHeight; in getPositionConfiguration()314 previewShorterEdge = previewLongerEdge / previewAspectRatio; in getPositionConfiguration()318 … config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge, in getPositionConfiguration()[all …]