Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerTask.java170 float widthScale = 1f; in scaleBitmapIfNecessary() local
173 widthScale = (float) outputOptions.getWidth() / (float) bitmap.getWidth(); in scaleBitmapIfNecessary()
176 float scale = heightScale < widthScale ? heightScale : widthScale; in scaleBitmapIfNecessary()
221 float widthScale = 1f;
225 widthScale = (float) bitmapOptions.outWidth / width;
229 float scale = heightScale > widthScale ? heightScale : widthScale;
DDrawableLoader.java206 int widthScale = 1; in decodeBitmap() local
209 widthScale = bitmapOptions.outWidth / width; in decodeBitmap()
212 int scale = heightScale > widthScale ? heightScale : widthScale; in decodeBitmap()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVideoThumbnailView.java325 final float widthScale = Math.max(1, minimumWidth / (float) desiredWidth); in onMeasure() local
327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale)); in onMeasure()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java269 float widthScale = Math.min(viewWidth / w, 3.0f); in getProperBaseMatrix() local
271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix()