Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java101 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() local
104 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java417 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() local
420 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()