Searched refs:widthScale (Results 1 – 4 of 4) sorted by relevance
170 float widthScale = 1f; in scaleBitmapIfNecessary() local173 widthScale = (float) outputOptions.getWidth() / (float) bitmap.getWidth(); in scaleBitmapIfNecessary()176 float scale = heightScale < widthScale ? heightScale : widthScale; in scaleBitmapIfNecessary()221 float widthScale = 1f;225 widthScale = (float) bitmapOptions.outWidth / width;229 float scale = heightScale > widthScale ? heightScale : widthScale;
206 int widthScale = 1; in decodeBitmap() local209 widthScale = bitmapOptions.outWidth / width; in decodeBitmap()212 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
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()