Searched refs:palette (Results 1 – 1 of 1) sorted by relevance
86 allPalettes.forEach { palette -> in <lambda>() method87 assertColor(palette.first(), Color.WHITE) in <lambda>()88 assertColor(palette.last(), Color.BLACK) in <lambda>()111 allPalettes.forEach { palette -> in <lambda>() method112 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>() method177 atLeast4dot45.forEach { shades -> pairContrastCheck(palette, shades, 4.45) } in <lambda>()[all …]