Searched refs:lum1 (Results 1 – 1 of 1) sorted by relevance
1262 float lum1 = color1.luminance(); in checkContrastRatio() local1265 if (lum1 >= lum2) { in checkContrastRatio()1266 cr = (lum1 + 0.05) / (lum2 + 0.05); in checkContrastRatio()1268 cr = (lum2 + 0.05) / (lum1 + 0.05); in checkContrastRatio()