Searched refs:heightScale (Results 1 – 6 of 6) sorted by relevance
41 float heightScale = 1f; in scaleBitmap() local43 heightScale = (float) height / bm.getHeight(); in scaleBitmap()49 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
197 int heightScale = 1; in decodeBitmap() local200 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()209 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
170 float heightScale = (float) bitmapOptions.outHeight / options.getHeight(); in decodeBitmap() local173 float scale = heightScale < widthScale ? heightScale : widthScale; in decodeBitmap()
58 float heightScale = (float) height / bm.getHeight(); in scaleBitmap() local61 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()