Searched refs:heightScale (Results 1 – 3 of 3) sorted by relevance
55 float heightScale = 1f; in scaleBitmap() local57 heightScale = (float) height / bm.getHeight(); in scaleBitmap()63 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
326 final float heightScale = Math.max(1, minimumHeight / (float) desiredHeight); in onMeasure() local327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale)); in onMeasure()
270 float heightScale = Math.min(viewHeight / h, 3.0f); in getProperBaseMatrix() local271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix()