Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java101 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() local
105 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java710 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() local
714 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()