Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java56 private final float mMinScale; field in PanningScalingHandler
71 mMinScale = minScale; in PanningScalingHandler()
127 } else if (targetScale < mMinScale && targetScale < initialScale) { in onScale()
129 scale = mMinScale; in onScale()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java148 private float mMinScale; field in PhotoView
282 if (currentScale > mMinScale) { in scale()
283 targetScale = mMinScale; in scale()
293 targetScale = Math.max(mMinScale, targetScale); in scale()
500 mMinScale = 0f; in bindDrawable()
532 mMinScale = 0f; in bindPhoto()
818 if (changed || (mMinScale == 0 && mDrawable != null && mHaveLayout)) { in configureBounds()
877 mMinScale = 1.0f; in generateScale()
879 mMinScale = getScale(); in generateScale()
881 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()