/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 585 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/ |
D | ColorUtils.java | 76 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/ |
D | ColorUtils.java | 77 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/ |
D | NotificationViewWrapper.java | 118 || ColorUtils.calculateLuminance(backgroundColor) > 0.5; in isColorLight()
|
/frameworks/support/core-utils/api/ |
D | current.txt | 209 method public static double calculateLuminance(int);
|
D | 26.0.0.txt | 209 method public static double calculateLuminance(int);
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3994 double backLum = NotificationColorUtil.calculateLuminance(backgroundColor); in ensureColors() 3995 double textLum = NotificationColorUtil.calculateLuminance(mForegroundColor); in ensureColors()
|
/frameworks/support/api/ |
D | 22.1.0.txt | 2542 method public static double calculateLuminance(int);
|
D | 22.2.0.txt | 2928 method public static double calculateLuminance(int);
|
D | 22.2.1.txt | 2957 method public static double calculateLuminance(int);
|
D | 24.2.0.txt | 4819 method public static double calculateLuminance(int);
|
D | 25.0.0.txt | 4875 method public static double calculateLuminance(int);
|
D | 25.2.0.txt | 5257 method public static double calculateLuminance(int);
|
D | 25.1.0.txt | 5257 method public static double calculateLuminance(int);
|
D | 23.0.0.txt | 3568 method public static double calculateLuminance(int);
|
D | 23.4.0.txt | 4174 method public static double calculateLuminance(int);
|
D | 23.1.0.txt | 3847 method public static double calculateLuminance(int);
|
D | 23.1.1.txt | 3803 method public static double calculateLuminance(int);
|
D | 25.3.0.txt | 5638 method public static double calculateLuminance(int);
|
D | 23.2.1.txt | 4162 method public static double calculateLuminance(int);
|
D | 25.4.0.txt | 5690 method public static double calculateLuminance(int);
|
D | 26.0.0-alpha1.txt | 6111 method public static double calculateLuminance(int);
|
D | 23.2.0.txt | 4162 method public static double calculateLuminance(int);
|
D | 24.1.0.txt | 4659 method public static double calculateLuminance(int);
|
D | 26.1.0.txt | 7087 method public static double calculateLuminance(int);
|