Home
last modified time | relevance | path

Searched refs:absValue (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java314 double absValue = Math.abs(value); in parseValue() local
315 if (absValue != 0.0 && !Double.isInfinite(value) && !Double.isNaN(value)) { in parseValue()
316 if (absValue < Float.MIN_VALUE || absValue > Float.MAX_VALUE) { in parseValue()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java670 final int absValue = Math.abs(value); in clampMag() local
671 if (absValue < absMin) return 0; in clampMag()
672 if (absValue > absMax) return value > 0 ? absMax : -absMax; in clampMag()
687 final float absValue = Math.abs(value); in clampMag() local
688 if (absValue < absMin) return 0; in clampMag()
689 if (absValue > absMax) return value > 0 ? absMax : -absMax; in clampMag()