Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapUtils.java41 float heightScale = 1f; in scaleBitmap() local
43 heightScale = (float) height / bm.getHeight(); in scaleBitmap()
49 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
DDrawableLoader.java197 int heightScale = 1; in decodeBitmap() local
200 heightScale = bitmapOptions.outHeight / height; in decodeBitmap()
209 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
DBitmapWorkerTask.java170 float heightScale = (float) bitmapOptions.outHeight / options.getHeight(); in decodeBitmap() local
173 float 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()
/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()