Home
last modified time | relevance | path

Searched refs:mMinScale (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java146 private float mMinScale; field in PhotoView
280 if (currentScale > mMinScale) { in scale()
281 targetScale = mMinScale; in scale()
291 targetScale = Math.max(mMinScale, targetScale); in scale()
529 mMinScale = 0f; in bindDrawable()
561 mMinScale = 0f; in bindPhoto()
847 if (changed || (mMinScale == 0 && mDrawable != null && mHaveLayout)) { in configureBounds()
906 mMinScale = 1.0f; in generateScale()
908 mMinScale = getScale(); in generateScale()
910 mMaxScale = Math.max(mMinScale * 4, 4); in generateScale()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java41 private float mMinScale; field in CropView
166 mMinScale = Math.max(w / imageWidth, h / imageHeight); in updateMinScale()
168 Math.max(mMinScale, resetScale ? Float.MIN_VALUE : mRenderer.scale); in updateMinScale()
183 mRenderer.scale = Math.max(mMinScale, mRenderer.scale); in onScale()