Home
last modified time | relevance | path

Searched defs:calculateContrast (Results 1 – 3 of 3) 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/
DNotificationColorUtil.java607 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() method in NotificationColorUtil
689 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in NotificationColorUtil.ColorUtilsFromCompat
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DColorUtils.java158 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() method in ColorUtils