Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DMathUtils.h63 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/
DMagnificationScaleProvider.java41 public static final float MAX_SCALE = 8.0f; field in MagnificationScaleProvider
137 return MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); in constrainScale()
DWindowMagnificationGestureHandler.java75 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()
DFullScreenMagnificationGestureHandler.java126 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/
DSurfaceFlingerPerfTest.java51 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/
DBrightnessCorrection.java205 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/
DOverlayDisplayWindow.java54 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/
DFullScreenMagnificationControllerTest.java432 MagnificationScaleProvider.MAX_SCALE);
434 MagnificationScaleProvider.MAX_SCALE, offsets);
437 MagnificationScaleProvider.MAX_SCALE + 1.0f,
DWindowMagnificationManagerTest.java294 MagnificationScaleProvider.MAX_SCALE); in scaleSetterGetter_scaleIsOutOfRang_getNormalizeValue()