Searched refs:MAX_SCALE (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 61 const float MAX_SCALE = 1e10; in clampTessellationScale() local 64 } else if (scale > MAX_SCALE) { in clampTessellationScale() 65 return MAX_SCALE; in clampTessellationScale()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 48 private static final float MAX_SCALE = 1.50f; field in DisplayDensityUtils 108 final float maxScale = Math.min(MAX_SCALE, maxDensity / (float) defaultDensity); in DisplayDensityUtils()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessCorrection.java | 211 private static final float MAX_SCALE = 2.0f; field in BrightnessCorrection.ScaleAndTranslateLog 225 mScale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in ScaleAndTranslateLog()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 122 private static final float MAX_SCALE = MagnificationController.MAX_SCALE; field in MagnificationGestureHandler 451 if (targetScale > MAX_SCALE && targetScale > initialScale) { in onScale() 453 scale = MAX_SCALE; in onScale() 952 MIN_SCALE, MAX_SCALE); in zoomOn()
|
D | MagnificationController.java | 64 public static final float MAX_SCALE = 8.0f; field in MagnificationController 429 scale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in setScale() 496 final float normScale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in updateMagnificationSpecLocked()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 54 private final float MAX_SCALE = 1.0f; field in OverlayDisplayWindow 250 scale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, scale)); in updateWindowParams()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationControllerTest.java | 372 MagnificationController.MAX_SCALE); 374 MagnificationController.MAX_SCALE, offsets); 377 MagnificationController.MAX_SCALE + 1.0f,
|
/frameworks/base/api/ |
D | current.txt | 22248 field @Deprecated public static final int MAX_SCALE = 10; // 0xa
|