Lines Matching refs:previewLongerEdge
273 float previewLongerEdge; in getPositionConfiguration() local
276 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()
324 width / 2 + previewShorterEdge / 2, previewLongerEdge); in getPositionConfiguration()
333 previewLongerEdge = shorterEdge * previewAspectRatio; in getPositionConfiguration()
337 float left = right - previewLongerEdge; in getPositionConfiguration()
342 float top = bottom - previewLongerEdge; in getPositionConfiguration()