Searched refs:widthScale (Results 1 – 3 of 3) sorted by relevance
59 float widthScale = 1f; in scaleBitmap() local61 widthScale = (float) width / bm.getWidth(); in scaleBitmap()63 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
325 final float widthScale = Math.max(1, minimumWidth / (float) desiredWidth); in onMeasure() local327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale)); in onMeasure()
269 float widthScale = Math.min(viewWidth / w, 3.0f); in getProperBaseMatrix() local271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix()