Home
last modified time | relevance | path

Searched refs:MAX_SCALE (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/utils/
DMathUtils.h59 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/
DDisplayDensityUtils.java47 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/
DMagnificationGestureHandler.java90 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()
DMagnificationController.java69 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/
DOverlayDisplayWindow.java53 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/
DWindowManagerService.java8775 final int MAX_SCALE = 2; in setForcedDisplaySize() local
8779 displayContent.mInitialDisplayWidth * MAX_SCALE); in setForcedDisplaySize()
8781 displayContent.mInitialDisplayHeight * MAX_SCALE); in setForcedDisplaySize()