Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt86 allPalettes.forEach { palette -> in <lambda>() method
87 assertColor(palette.first(), Color.WHITE) in <lambda>()
88 assertColor(palette.last(), Color.BLACK) in <lambda>()
111 allPalettes.forEach { palette -> in <lambda>() method
112 palette.forEachIndexed { i, paletteColor -> in <lambda>()
160 fun pairContrastCheck(palette: IntArray, shades: Pair<Int, Int>, contrastLevel: Double) { in <lambda>()
161 val background = palette[shadeToArrayIndex(shades.first)] in <lambda>()
162 val foreground = palette[shadeToArrayIndex(shades.second)] in <lambda>()
176 allPalettes.forEach { palette -> in <lambda>() method
177 atLeast4dot45.forEach { shades -> pairContrastCheck(palette, shades, 4.45) } in <lambda>()
[all …]