Searched refs:calculateLuminance (Results 1 – 10 of 10) sorted by relevance
76 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in ColorUtils100 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()101 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
392 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in NotificationColorUtil.ColorUtilsFromCompat416 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()417 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
125 || ColorUtils.calculateLuminance(backgroundColor) > 0.5; in isColorLight()
958 method public static double calculateLuminance(int);
1006 method public static double calculateLuminance(int);
1005 method public static double calculateLuminance(int);
1138 method public static double calculateLuminance(int);
1153 method public static double calculateLuminance(int);
1106 method public static double calculateLuminance(int);
1190 method public static double calculateLuminance(int);