Searched refs:luminance2 (Results 1 – 2 of 2) sorted by relevance
104 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() local107 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()
714 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() local717 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); in calculateContrast()