Searched defs:ColorUtilsFromCompat (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java245 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) {
250 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab);
257 fg = ColorUtilsFromCompat.LABToColor(l, a, b);
259 bg = ColorUtilsFromCompat.LABToColor(l, a, b);
261 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) {
267 return ColorUtilsFromCompat.LABToColor(low, a, b);
296 ColorUtilsFromCompat.calculateContrast(colorOld, bg),
297 ColorUtilsFromCompat.calculateContrast(colorNew, bg));
351 final double[] result = ColorUtilsFromCompat.getTempDouble3Array();
352 ColorUtilsFromCompat
360 private static class ColorUtilsFromCompat { class in class:NotificationColorUtil
372 private ColorUtilsFromCompat() {} method in class:NotificationColorUtil.ColorUtilsFromCompat
[all...]

Completed in 48 milliseconds