Searched refs:maxScale (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipPinchResizingAlgorithm.java | 49 float maxScale = getMaxScale(initialBounds, maxSize); in calculateBoundsAndAngle() local 51 float overStretchMax = dist / downDist - maxScale > 0 ? dist / downDist - maxScale : 0; in calculateBoundsAndAngle() 53 Math.min(maxScale + overStretchMax * OVERRESIZE_DAMP_FACTOR, dist / downDist)); in calculateBoundsAndAngle()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | PanningScalingHandler.java | 70 PanningScalingHandler(@UiContext Context context, float maxScale, float minScale, in PanningScalingHandler() argument 73 mMaxScale = maxScale; in PanningScalingHandler()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | PhotoPagerAdapter.java | 43 float maxScale, boolean thumbsFullScreen) { in PhotoPagerAdapter() argument 45 mMaxScale = maxScale; in PhotoPagerAdapter()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 151 final float maxScale = Math.min(maxScaleDimen, maxDensity / (float) defaultDensity); in DisplayDensityUtils() local 156 final int numLarger = (int) MathUtils.constrain((maxScale - 1) / minScaleInterval, in DisplayDensityUtils() 187 final float interval = (maxScale - 1) / numLarger; in DisplayDensityUtils()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 222 public PhotoViewIntentBuilder setMaxInitialScale(float maxScale) { in setMaxInitialScale() argument 223 mMaxInitialScale = maxScale; in setMaxInitialScale()
|
D | PhotoViewController.java | 229 androidx.fragment.app.FragmentManager fm, Cursor c, float maxScale) { in createPhotoPagerAdapter() argument 230 return new PhotoPagerAdapter(context, fm, c, maxScale, mDisplayThumbsFullScreen); in createPhotoPagerAdapter()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WallpaperController.java | 256 void setMaxWallpaperScale(float maxScale) { in setMaxWallpaperScale() argument 257 mMaxWallpaperScale = maxScale; in setMaxWallpaperScale()
|
D | DisplayContent.java | 3227 final int maxScale = 3; in getValidForcedSize() local 3228 final int maxSize = Math.max(mInitialDisplayWidth, mInitialDisplayHeight) * maxScale; in getValidForcedSize()
|