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