Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java96 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ColorUtils
696 double calculateContrast(int foreground, int background, int alpha); in calculateContrast() method
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java697 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() method in ContrastColorUtil
792 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ContrastColorUtil.ColorUtilsFromCompat