Searched defs:calculateContrast (Results 1 – 2 of 2) sorted by relevance
91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ColorUtils662 double calculateContrast(int foreground, int background, int alpha); in calculateContrast() method
606 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() method in ContrastColorUtil700 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ContrastColorUtil.ColorUtilsFromCompat