Searched refs:ColorUtilsFromCompat (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 303 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findContrastColor() 308 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor() 315 fg = ColorUtilsFromCompat.LABToColor(l, a, b); in findContrastColor() 317 bg = ColorUtilsFromCompat.LABToColor(l, a, b); in findContrastColor() 319 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findContrastColor() 325 return ColorUtilsFromCompat.LABToColor(low, a, b); in findContrastColor() 339 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findAlphaToMeetContrast() 351 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findAlphaToMeetContrast() 374 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findContrastColorAgainstDark() 379 ColorUtilsFromCompat.colorToHSL(findFg ? fg : bg, hsl); in findContrastColorAgainstDark() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 99677 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;-><init>()V 99678 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->calculateContrast(II)D 99679 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->calculateLuminance(I)D 99680 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToHSL(I[F)V 99681 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToLAB(I[D)V 99682 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToXYZ(I[D)V 99683 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeAlpha(II)I 99684 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeColors(II)I 99685 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeComponent(IIIII)I 99686 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->constrain(FFF)F [all …]
|