Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DContrastColorUtilTest.java56 int blueContrastColor = ContrastColorUtil.ensureTextContrast(Color.BLUE, darkBg, true); in testEnsureTextContrastAgainstDark() local
57 assertContrastIsWithinRange(blueContrastColor, darkBg, 4.5, 4.75); in testEnsureTextContrastAgainstDark()
78 int blueContrastColor = ContrastColorUtil.ensureTextContrast(lightBlue, lightBg, false); in testEnsureTextContrastAgainstLight() local
79 assertContrastIsWithinRange(blueContrastColor, lightBg, 4.5, 4.75); in testEnsureTextContrastAgainstLight()