Home
last modified time | relevance | path

Searched refs:MIN_SCALE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/utils/
DMathUtils.h57 const float MIN_SCALE = 0.0001; in clampTessellationScale() local
59 if (scale < MIN_SCALE) { in clampTessellationScale()
60 return MIN_SCALE; in clampTessellationScale()
/frameworks/base/docs/html/training/animation/
Dscreen-slide.jd267 private static final float MIN_SCALE = 0.85f;
280 float scaleFactor = Math.max(MIN_SCALE, 1 - Math.abs(position));
289 // Scale the page down (between MIN_SCALE and 1)
295 (scaleFactor - MIN_SCALE) /
296 (1 - MIN_SCALE) * (1 - MIN_ALPHA));
342 private static final float MIN_SCALE = 0.75f;
365 // Scale the page down (between MIN_SCALE and 1)
366 float scaleFactor = MIN_SCALE
367 + (1 - MIN_SCALE) * (1 - Math.abs(position));
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java52 private final float MIN_SCALE = 0.3f; field in OverlayDisplayWindow
247 scale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, scale)); in updateWindowParams()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java483 private static final float MIN_SCALE = 1.3f; field in ScreenMagnifier.MagnifiedContentInteractonStateHandler
514 MIN_SCALE), MAX_SCALE); in onMotionEvent()
556 final float normalizedNewScale = Math.min(Math.max(newScale, MIN_SCALE), MAX_SCALE); in onScale()