Home
last modified time | relevance | path

Searched refs:minContrastRatio (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java215 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstLightBackground() argument
216 if (ColorUtils.calculateContrast(foregroundColor, backgroundColor) >= minContrastRatio) { in findContrastColorAgainstLightBackground()
230 if (ColorUtils.calculateContrast(foregroundColor, backgroundColor) > minContrastRatio) { in findContrastColorAgainstLightBackground()
250 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in findContrastColorAgainstDarkBackground() argument
251 if (ColorUtils.calculateContrast(foregroundColor, backgroundColor) >= minContrastRatio) { in findContrastColorAgainstDarkBackground()
265 > minContrastRatio) { in findContrastColorAgainstDarkBackground()
283 @ColorInt int foregroundColor, @ColorInt int backgroundColor, double minContrastRatio) { in getContrastedForegroundColor() argument
288 foregroundColor, backgroundColor, minContrastRatio) in getContrastedForegroundColor()
290 foregroundColor, backgroundColor, minContrastRatio); in getContrastedForegroundColor()