/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 63 const float MAX_SCALE = 1e10; in clampTessellationScale() local 66 } else if (scale > MAX_SCALE) { in clampTessellationScale() 67 return MAX_SCALE; in clampTessellationScale()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationScaleProvider.java | 41 public static final float MAX_SCALE = 8.0f; field in MagnificationScaleProvider 137 return MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in constrainScale()
|
D | WindowMagnificationGestureHandler.java | 75 private static final float MAX_SCALE = MagnificationScaleProvider.MAX_SCALE; field in WindowMagnificationGestureHandler 117 new PanningScalingHandler(context, MAX_SCALE, MIN_SCALE, true, in WindowMagnificationGestureHandler() 191 mWindowMagnificationMgr.getPersistedScale(mDisplayId), MIN_SCALE, MAX_SCALE); in enableWindowMagnifier()
|
D | FullScreenMagnificationGestureHandler.java | 126 private static final float MAX_SCALE = MagnificationScaleProvider.MAX_SCALE; field in FullScreenMagnificationGestureHandler 387 if (targetScale > MAX_SCALE && targetScale > initialScale) { in onScale() 389 scale = MAX_SCALE; in onScale() 956 MIN_SCALE, MAX_SCALE); in zoomOn()
|
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerPerfTest.java | 51 private static final float MAX_SCALE = 2.0f; field in SurfaceFlingerPerfTest 145 float scale = ((step * MAX_SCALE) / MAX_POSITION) + 0.5f; in geometryChanges() 157 float scale = ((step * MAX_SCALE) / MAX_POSITION) + 0.5f; in geometryWithBufferChanges()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessCorrection.java | 205 private static final float MAX_SCALE = 2.0f; field in BrightnessCorrection.ScaleAndTranslateLog 219 mScale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in ScaleAndTranslateLog()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 54 private final float MAX_SCALE = 1.0f; field in OverlayDisplayWindow 251 scale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, scale)); in updateWindowParams()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationControllerTest.java | 432 MagnificationScaleProvider.MAX_SCALE); 434 MagnificationScaleProvider.MAX_SCALE, offsets); 437 MagnificationScaleProvider.MAX_SCALE + 1.0f,
|
D | WindowMagnificationManagerTest.java | 294 MagnificationScaleProvider.MAX_SCALE); in scaleSetterGetter_scaleIsOutOfRang_getNormalizeValue()
|