Searched refs:luminance1 (Results 1 – 2 of 2) sorted by relevance
101 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() local105 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()
710 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() local714 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()