Home
last modified time | relevance | path

Searched refs:maxScale (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPinchResizingAlgorithm.java49 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/
DPanningScalingHandler.java70 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/
DPhotoPagerAdapter.java43 float maxScale, boolean thumbsFullScreen) { in PhotoPagerAdapter() argument
45 mMaxScale = maxScale; in PhotoPagerAdapter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java151 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/
DIntents.java222 public PhotoViewIntentBuilder setMaxInitialScale(float maxScale) { in setMaxInitialScale() argument
223 mMaxInitialScale = maxScale; in setMaxInitialScale()
DPhotoViewController.java229 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/
DWallpaperController.java256 void setMaxWallpaperScale(float maxScale) { in setMaxWallpaperScale() argument
257 mMaxWallpaperScale = maxScale; in setMaxWallpaperScale()
DDisplayContent.java3227 final int maxScale = 3; in getValidForcedSize() local
3228 final int maxSize = Math.max(mInitialDisplayWidth, mInitialDisplayHeight) * maxScale; in getValidForcedSize()