Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java448 ColorSpace.Connector connector = ColorSpace.connect( in testConnect() local
452 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), connector.getSource()); in testConnect()
453 assertSame(ColorSpace.get(ColorSpace.Named.DCI_P3), connector.getDestination()); in testConnect()
454 assertSame(ColorSpace.RenderIntent.PERCEPTUAL, connector.getRenderIntent()); in testConnect()
456 connector = ColorSpace.connect( in testConnect()
460 assertSame(connector.getDestination(), connector.getSource()); in testConnect()
461 assertSame(ColorSpace.RenderIntent.RELATIVE, connector.getRenderIntent()); in testConnect()
463 connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.DCI_P3)); in testConnect()
464 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), connector.getDestination()); in testConnect()
466 connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.SRGB)); in testConnect()
[all …]
DColor_ColorLongTest.java402 ColorSpace.Connector connector = ColorSpace.connect(p3, ColorSpace.get(Named.ADOBE_RGB)); in testConvertConnector() local
403 long color = convert(pack(1.0f, 0.5f, 0.0f, 1.0f, p3), connector); in testConvertConnector()
409 color = convert(1.0f, 0.5f, 0.0f, 1.0f, connector); in testConvertConnector()
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
DAndroid.mk18 LOCAL_MODULE := connector
19 LOCAL_SRC_FILES := connector.cpp
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java488 ColorSpace.Connector connector; in testGetBitmap() local
489 connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.LINEAR_SRGB), in testGetBitmap()
491 float[] outputColor = connector.transform(inputColor); in testGetBitmap()