Home
last modified time | relevance | path

Searched refs:minScale (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DBackAnimationSpecForSysUi.kt32 minScale = 0.8f,
46 minScale = 0.8f,
60 minScale = 0.9f,
74 minScale = 0.9f,
DBackAnimationSpec.kt43 minScale: Float, in createFloatingSurfaceAnimationSpec()
55 val maxTranslationXByScale = (screenWidthPx - screenWidthPx * minScale) / 2 in createFloatingSurfaceAnimationSpec()
57 val maxTranslationYByScale = (screenHeightPx - screenHeightPx * minScale) / 2 in createFloatingSurfaceAnimationSpec()
59 val minScaleReversed = 1f - minScale in createFloatingSurfaceAnimationSpec()
DBottomsheetBackAnimationSpec.kt34 val minScale = 1 - MAX_SCALE_DELTA_DP.dpToPx(displayMetrics) / screenWidthPx in <lambda>() constant
38 scale = 1f - ratioScale * (1f - minScale) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackAnimationSpecTest.kt30 val minScale = 0.9f in sysUi_floatingSystemSurfaces_animationValues() constant
42 expected = BackTransformation(translateX = -maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
47 expected = BackTransformation(translateX = maxX, translateY = 0f, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
52 expected = BackTransformation(translateX = -maxX, translateY = -maxY, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
68 val minScale = 1 - 48.dpToPx(displayMetrics) / displayMetrics.widthPixels in sysUi_bottomsheet_animationValues() constant
90 scale = minScale, in sysUi_bottomsheet_animationValues()
101 scale = minScale, in sysUi_bottomsheet_animationValues()
112 scale = minScale, in sysUi_bottomsheet_animationValues()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPinchResizingAlgorithm.java48 float minScale = getMinScale(initialBounds, minSize); in calculateBoundsAndAngle() local
50 float overStretchMin = minScale - dist / downDist > 0 ? minScale - dist / downDist : 0; in calculateBoundsAndAngle()
52 float scale = Math.max(minScale - overStretchMin * OVERRESIZE_DAMP_FACTOR, 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
74 mMinScale = minScale; in PanningScalingHandler()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java152 final float minScale = context.getResources().getFraction( in DisplayDensityUtils() local
158 final int numSmaller = (int) MathUtils.constrain((1 - minScale) / minScaleInterval, in DisplayDensityUtils()
166 final float interval = (1 - minScale) / numSmaller; in DisplayDensityUtils()
/frameworks/av/include/media/
DVolumeShaper.h858 const double minScale = 1. / static_cast<double>(INT64_MAX); in updatePosition() local
859 scale = std::max(scale, minScale); in updatePosition()
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperController.java251 void setMinWallpaperScale(float minScale) { in setMinWallpaperScale() argument
252 mMinWallpaperScale = minScale; in setMinWallpaperScale()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp1154 double stepSize, double minScale, in findPostCorrectionScale() argument
1164 for (double scale = 1.0; scale > minScale; scale -= stepSize) { in findPostCorrectionScale()
1172 __FUNCTION__, stepSize, minScale); in findPostCorrectionScale()