Searched refs:widthScale (Results 1 – 6 of 6) sorted by relevance
45 float widthScale = 1f; in scaleBitmap() local47 widthScale = (float) width / bm.getWidth(); in scaleBitmap()49 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
203 int widthScale = 1; in decodeBitmap() local206 widthScale = bitmapOptions.outWidth / width; in decodeBitmap()209 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
171 float widthScale = (float) bitmapOptions.outWidth / options.getWidth(); in decodeBitmap() local173 float scale = heightScale < widthScale ? heightScale : widthScale; in decodeBitmap()
59 float widthScale = (float) width / bm.getWidth(); in scaleBitmap() local61 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()