Searched refs:heightScale (Results 1 – 3 of 3) sorted by relevance
167 float heightScale = 1f; in scaleBitmapIfNecessary() local170 heightScale = (float) outputOptions.getHeight() / (float) bitmap.getHeight(); in scaleBitmapIfNecessary()180 float scale = heightScale < widthScale ? heightScale : widthScale; in scaleBitmapIfNecessary()217 float heightScale = 1f;221 heightScale = (float) bitmapOptions.outHeight / height;233 float scale = heightScale > widthScale ? heightScale : widthScale;
204 int heightScale = 1; in decodeBitmap() local207 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()216 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
270 float heightScale = Math.min(viewHeight / h, 3.0f); in getProperBaseMatrix() local271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix()