Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapUtils.java55 float heightScale = 1f; in scaleBitmap() local
57 heightScale = (float) height / bm.getHeight(); in scaleBitmap()
63 float scale = heightScale > widthScale ? heightScale : widthScale; in scaleBitmap()
/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()