Searched refs:scaleRatio (Results 1 – 2 of 2) sorted by relevance
312 float scaleRatio = finalDiameter / viewDiameter; in onDraw() local315 canvas.scale(scaleRatio, scaleRatio, centerX, centerY); in onDraw()339 float scaleRatio = mCurrentThumbnailDiameter / mRippleRingDiameterEnd; in onDraw() local342 canvas.scale(scaleRatio, scaleRatio, centerX, centerY); in onDraw()365 final float scaleRatio = finalDiameter / viewDiameter; in onDraw() local366 canvas.scale(scaleRatio, scaleRatio, centerX, centerY); in onDraw()
144 float scaleRatio = (float) widthPx / ANIMATION_ORIGINAL_WIDTH_PX; in adjustToScreenSize() local149 int adjustedHeight = (int) (originalHeight * scaleRatio); in adjustToScreenSize()