Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java35 private static final double XYZ_EPSILON = 0.008856; field in ColorUtils
494 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
495 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA;
498 final double zr = tmp > XYZ_EPSILON ? tmp : (116 * fz - 16) / XYZ_KAPPA;
569 return component > XYZ_EPSILON in pivotXyzComponent()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java632 private static final double XYZ_EPSILON = 0.008856; field in ContrastColorUtil.ColorUtilsFromCompat
864 final double xr = tmp > XYZ_EPSILON ? tmp : (116 * fx - 16) / XYZ_KAPPA;
865 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA;
868 final double zr = tmp > XYZ_EPSILON ? tmp : (116 * fz - 16) / XYZ_KAPPA;
930 return component > XYZ_EPSILON in pivotXyzComponent()