Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerTask.java163 float heightScale = 1f; in scaleBitmapIfNecessary() local
166 heightScale = (float) outputOptions.getHeight() / (float) bitmap.getHeight(); in scaleBitmapIfNecessary()
176 float scale = heightScale < widthScale ? heightScale : widthScale; in scaleBitmapIfNecessary()
213 float heightScale = 1f;
217 heightScale = (float) bitmapOptions.outHeight / height;
229 float scale = heightScale > widthScale ? heightScale : widthScale;
DDrawableLoader.java200 int heightScale = 1; in decodeBitmap() local
203 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()
212 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java326 final float heightScale = Math.max(1, minimumHeight / (float) desiredHeight); in onMeasure() local
327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale)); in onMeasure()
/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()