Home
last modified time | relevance | path

Searched refs:heightScale (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerTask.java167 float heightScale = 1f; in scaleBitmapIfNecessary() local
170 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;
DDrawableLoader.java204 int heightScale = 1; in decodeBitmap() local
207 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()
216 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java270 float heightScale = Math.min(viewHeight / h, 3.0f); in getProperBaseMatrix() local
271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix()