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 | 106267 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat; 106268 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;-><init>()V 106269 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->calculateContrast(II)D 106270 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->calculateLuminance(I)D 106271 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToHSL(I[F)V 106272 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToLAB(I[D)V 106273 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->colorToXYZ(I[D)V 106274 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeAlpha(II)I 106275 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeColors(II)I 106276 Lcom/android/internal/util/NotificationColorUtil$ColorUtilsFromCompat;->compositeComponent(IIIII)I [all …]
|