Searched refs:primaries (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorSpaceTest.java | 224 float[] primaries = cs.getPrimaries(); in testMat3x3Primaries() local 226 assertNotNull(primaries); in testMat3x3Primaries() 227 assertEquals(6, primaries.length); in testMat3x3Primaries() 229 assertEquals(SRGB_PRIMARIES_xyY[0], primaries[0], 1e-5f); in testMat3x3Primaries() 230 assertEquals(SRGB_PRIMARIES_xyY[1], primaries[1], 1e-5f); in testMat3x3Primaries() 231 assertEquals(SRGB_PRIMARIES_xyY[2], primaries[2], 1e-5f); in testMat3x3Primaries() 232 assertEquals(SRGB_PRIMARIES_xyY[3], primaries[3], 1e-5f); in testMat3x3Primaries() 233 assertEquals(SRGB_PRIMARIES_xyY[4], primaries[4], 1e-5f); in testMat3x3Primaries() 234 assertEquals(SRGB_PRIMARIES_xyY[5], primaries[5], 1e-5f); in testMat3x3Primaries() 271 float[] primaries = cs.getPrimaries(); in testXYZFromPrimaries_XYZ() local [all …]
|
D | Color_ColorLongTest.java | 428 float[] primaries = new float[]{ .7f, .6f, .5f, .4f, .3f, .2f }; in testConvertFailureUnnamedColorSpace() local 429 ColorSpace cs = new ColorSpace.Rgb("mock", primaries, ColorSpace.ILLUMINANT_A, .7); in testConvertFailureUnnamedColorSpace()
|