HomeSort by relevance Sort by last modified time
    Searched defs:widthScale (Results 1 - 7 of 7) sorted by null

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapWorkerTask.java 170 float widthScale = 1f;
173 widthScale = (float) outputOptions.getWidth() / (float) bitmap.getWidth();
176 float scale = heightScale < widthScale ? heightScale : widthScale;
221 float widthScale = 1f;
225 widthScale = (float) bitmapOptions.outWidth / width;
229 float scale = heightScale > widthScale ? heightScale : widthScale;
DrawableLoader.java 206 int widthScale = 1;
209 widthScale = bitmapOptions.outWidth / width;
212 int scale = heightScale > widthScale ? heightScale : widthScale;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoThumbnailFragment.java 158 int widthScale = localDisplayMetrics.widthPixels / pixelSize;
161 mColumnWidth = (localDisplayMetrics.widthPixels / widthScale);
  /frameworks/base/core/java/android/hardware/radio/
RadioMetadata.java 495 float widthScale = maxSizeF / bmp.getWidth();
497 float scale = Math.min(widthScale, heightScale);
  /frameworks/base/media/java/android/media/
MediaMetadata.java 796 float widthScale = maxSizeF / bmp.getWidth();
798 float scale = Math.min(widthScale, heightScale);
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 269 float widthScale = Math.min(viewWidth / w, 3.0f);
271 float scale = Math.min(widthScale, heightScale);
  /packages/apps/Messaging/src/com/android/messaging/ui/
VideoThumbnailView.java 325 final float widthScale = Math.max(1, minimumWidth / (float) desiredWidth);
327 final float scale = Math.min(maxScale, Math.max(widthScale, heightScale));

Completed in 208 milliseconds