Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DColorStateListTest.java125 final double[] labColor = new double[3]; in testWithLStar() local
126 ColorUtils.colorToLAB(c1.getDefaultColor(), labColor); in testWithLStar() local
127 final double targetLStar = labColor[0]; in testWithLStar()
143 final double[] labColor = new double[3]; in testCreateFromXmlWithLStar() local
144 ColorUtils.colorToLAB(defaultColor, labColor); in testCreateFromXmlWithLStar()
147 assertEquals(lStarInXml, labColor[0], 1.0 /* delta */); in testCreateFromXmlWithLStar()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt107 val labColor = doubleArrayOf(0.0, 0.0, 0.0) in <lambda>() constant
114 ColorUtils.colorToLAB(paletteColor, labColor) in <lambda>()
118 ).that(labColor[0]).isWithin(3.0).of(expectedColor) in <lambda>()