Home
last modified time | relevance | path

Searched defs:calculateContrast (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ColorUtils
662 double calculateContrast(int foreground, int background, int alpha); in calculateContrast() method
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java606 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() method in ContrastColorUtil
700 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ContrastColorUtil.ColorUtilsFromCompat