Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DContrastColorUtilTest.java69 int selfContrastColor = ContrastColorUtil.ensureTextContrast(darkBg, darkBg, true); in testEnsureTextContrastAgainstDark() local
70 assertContrastIsWithinRange(selfContrastColor, darkBg, 4.5, 4.75); in testEnsureTextContrastAgainstDark()
90 int selfContrastColor = ContrastColorUtil.ensureTextContrast(lightBg, lightBg, false); in testEnsureTextContrastAgainstLight() local
91 assertContrastIsWithinRange(selfContrastColor, lightBg, 4.5, 4.75); in testEnsureTextContrastAgainstLight()