Searched refs:ColorUtilsFromCompat (Results 1 – 1 of 1) 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 …]
|