Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java585 useDark = ColorUtilsFromCompat.calculateLuminance(backgroundColor) > 0.5; in shouldUseDark()
590 public static double calculateLuminance(int backgroundColor) { in calculateLuminance() method in NotificationColorUtil
591 return ColorUtilsFromCompat.calculateLuminance(backgroundColor); in calculateLuminance()
611 return calculateLuminance(backgroundColor) > 0.5f; in isColorLight()
663 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in NotificationColorUtil.ColorUtilsFromCompat
687 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()
688 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
/frameworks/support/core-utils/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/graphics/
DColorUtils.java77 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() method in ColorUtils
101 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()
102 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationViewWrapper.java118 || ColorUtils.calculateLuminance(backgroundColor) > 0.5; in isColorLight()
/frameworks/support/core-utils/api/
Dcurrent.txt209 method public static double calculateLuminance(int);
D26.0.0.txt209 method public static double calculateLuminance(int);
/frameworks/base/core/java/android/app/
DNotification.java3994 double backLum = NotificationColorUtil.calculateLuminance(backgroundColor); in ensureColors()
3995 double textLum = NotificationColorUtil.calculateLuminance(mForegroundColor); in ensureColors()
/frameworks/support/api/
D22.1.0.txt2542 method public static double calculateLuminance(int);
D22.2.0.txt2928 method public static double calculateLuminance(int);
D22.2.1.txt2957 method public static double calculateLuminance(int);
D24.2.0.txt4819 method public static double calculateLuminance(int);
D25.0.0.txt4875 method public static double calculateLuminance(int);
D25.2.0.txt5257 method public static double calculateLuminance(int);
D25.1.0.txt5257 method public static double calculateLuminance(int);
D23.0.0.txt3568 method public static double calculateLuminance(int);
D23.4.0.txt4174 method public static double calculateLuminance(int);
D23.1.0.txt3847 method public static double calculateLuminance(int);
D23.1.1.txt3803 method public static double calculateLuminance(int);
D25.3.0.txt5638 method public static double calculateLuminance(int);
D23.2.1.txt4162 method public static double calculateLuminance(int);
D25.4.0.txt5690 method public static double calculateLuminance(int);
D26.0.0-alpha1.txt6111 method public static double calculateLuminance(int);
D23.2.0.txt4162 method public static double calculateLuminance(int);
D24.1.0.txt4659 method public static double calculateLuminance(int);
D26.1.0.txt7087 method public static double calculateLuminance(int);

12