Searched refs:MAX_SCALE (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 59 const float MAX_SCALE = 1e10; in clampTessellationScale() local 62 } else if (scale > MAX_SCALE) { in clampTessellationScale() 63 return MAX_SCALE; in clampTessellationScale()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 47 private static final float MAX_SCALE = 1.50f; field in DisplayDensityUtils 105 final float maxScale = Math.min(MAX_SCALE, maxDensity / (float) defaultDensity); in DisplayDensityUtils()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 90 private static final float MAX_SCALE = 5.0f; field in MagnificationGestureHandler 410 if (targetScale > MAX_SCALE && targetScale > initialScale) { in onScale() 412 scale = MAX_SCALE; in onScale() 730 final float scale = MathUtils.constrain(targetScale, MIN_SCALE, MAX_SCALE); in onActionTap() 747 final float scale = MathUtils.constrain(targetScale, MIN_SCALE, MAX_SCALE); in onActionTapAndHold()
|
D | MagnificationController.java | 69 private static final float MAX_SCALE = 5.0f; field in MagnificationController 407 scale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in setScale() 590 final float normScale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in updateMagnificationSpecLocked()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 53 private final float MAX_SCALE = 1.0f; field in OverlayDisplayWindow 247 scale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, scale)); in updateWindowParams()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 8775 final int MAX_SCALE = 2; in setForcedDisplaySize() local 8779 displayContent.mInitialDisplayWidth * MAX_SCALE); in setForcedDisplaySize() 8781 displayContent.mInitialDisplayHeight * MAX_SCALE); in setForcedDisplaySize()
|