Searched refs:scaleRatio (Results 1 – 1 of 1) sorted by relevance
96 float scaleRatio = 1; in drawAnimation() local98 scaleRatio = (float) width / mPreviewFrameLayoutWidth; in drawAnimation()102 float reviewWidth = mReviewDrawingWidth * reviewAnimScale * scaleRatio; in drawAnimation()103 float reviewHeight = mReviewDrawingHeight * reviewAnimScale * scaleRatio; in drawAnimation()126 float scaleRatio = 1; in drawDarkPreview() local128 scaleRatio = (float) width / mPreviewFrameLayoutWidth; in drawDarkPreview()132 float reviewWidth = mReviewDrawingWidth * scaleRatio; in drawDarkPreview()133 float reviewHeight = mReviewDrawingHeight * scaleRatio; in drawDarkPreview()