Home
last modified time | relevance | path

Searched refs:calculateLuminance (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java76 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in ColorUtils
100 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()
101 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java392 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in NotificationColorUtil.ColorUtilsFromCompat
416 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()
417 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationCustomViewWrapper.java125 || ColorUtils.calculateLuminance(backgroundColor) > 0.5; in isColorLight()
/frameworks/support/v4/api/
D22.1.0.txt958 method public static double calculateLuminance(int);
D22.2.1.txt1006 method public static double calculateLuminance(int);
D22.2.0.txt1005 method public static double calculateLuminance(int);
D23.0.0.txt1138 method public static double calculateLuminance(int);
D23.1.0.txt1153 method public static double calculateLuminance(int);
D23.1.1.txt1106 method public static double calculateLuminance(int);
Dcurrent.txt1190 method public static double calculateLuminance(int);