/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorSpaceTest.java | 169 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRanges() 350 assertEquals(3, ColorSpace.get(ColorSpace.Named.SRGB).getComponentCount()); in testGetComponentCount() 371 if (e == ColorSpace.Named.SRGB || isSrgbFallback) { in testIsSRGB() 386 assertFalse(ColorSpace.get(ColorSpace.Named.SRGB).isWideGamut()); in testIsWideGamut() 401 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testWhitePoint() 417 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testPrimaries() 433 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testRGBtoXYZMatrix() 449 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in testXYZtoRGBMatrix() 465 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRGBtoXYZ() 484 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testXYZtoRGB() [all …]
|
D | BitmapColorSpaceTest.java | 101 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createWithColorSpace() 148 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createDefaultColorSpace() 206 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), rotated.getColorSpace()); in createFromSourceWithColorSpace() 225 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB() 230 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB() 235 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in sRGB() 362 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), cs); in reuse() 423 alpha, premulCS, ColorSpace.get(ColorSpace.Named.SRGB))); in convertPremulColorToColorInt() 564 verifyColorSpaceMarshalling("green-srgb.png", ColorSpace.get(ColorSpace.Named.SRGB)); in writeColorSpace() 570 verifyParcelUnparcel(bitmapIn, ColorSpace.get(ColorSpace.Named.SRGB)); in writeColorSpace() [all …]
|
D | Color_ColorLongTest.java | 83 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testColorSpace() 178 Color color7 = valueOf(new float[] { 0.5f, 0.5f, 1.0f, 0.25f }, ColorSpace.get(Named.SRGB)); in testValueOf() 186 Color color8 = valueOf(components, ColorSpace.get(Named.SRGB)); in testValueOf() 199 valueOf(new float[] { 0.5f, 0.5f, 1.0f }, ColorSpace.get(Named.SRGB)); in testValueOfFailure() 272 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testPackSrgb()
|
D | BitmapTest.java | 564 ColorSpace.Named.SRGB)); in testCreateBitmap_displayMetrics_mutable() 588 bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888, true, ColorSpace.get(Named.SRGB)); in testCreateBitmap_noDisplayMetrics_mutable() 660 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds() 671 Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferMissingGpuUsageFails() 684 Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferWithProtectedUsageFails() 711 Bitmap bitmap = Bitmap.wrapHardwareBuffer(buffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferFor1010102BufferSucceeds() 730 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testGetHardwareBufferMatchesWrapped() 827 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testGetHardwareBufferClosed() 955 final ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in testGetColor() 1409 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testSetColorSpace() [all …]
|
D | BitmapRegionDecoderTest.java | 94 ColorSpace.Named.SRGB, 99 ColorSpace.Named.SRGB, 102 ColorSpace.Named.SRGB, 509 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpace() 535 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), region.getColorSpace()); in testReusedColorSpaceCropped()
|
D | GainmapTest.java | 123 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkGainmap() 152 assertEquals(ColorSpace.Named.SRGB.ordinal(), bitmap.getColorSpace().getId()); in checkFountainGainmap()
|
D | YuvImageTest.java | 225 ColorSpace defaultColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in testGetColorSpace()
|
D | ImageDecoderTest.java | 110 private static final ColorSpace sSRGB = ColorSpace.get(ColorSpace.Named.SRGB); 2430 } else if (requested == ColorSpace.get(ColorSpace.Named.SRGB)) { 2541 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testTargetColorSpaceNoF16HARDWARE() 2617 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), actual); in testTargetColorSpaceUpconvert()
|
D | PaintTest.java | 793 ColorSpace.Named.SRGB,
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GainmapTests.java | 71 private static final ColorSpace SRGB = ColorSpace.get(ColorSpace.Named.SRGB); field in GainmapTests 216 Bitmap result = Bitmap.createBitmap(10, 6, Bitmap.Config.RGBA_F16, false, SRGB); 240 Bitmap result = Bitmap.createBitmap(10, 6, Bitmap.Config.RGBA_F16, false, SRGB); 260 Bitmap result = renderTestImageWithHardware(SRGB); 278 Bitmap result = renderTestImageWithHardware(SRGB, true); 310 Bitmap result = renderWithHardware(SRGB, canvas -> {
|
D | HardwareBufferRendererTests.kt | 90 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>() 123 val srcColorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>() 124 val srcToDst = ColorSpace.connect(srcColorSpace, ColorSpace.get(ColorSpace.Named.SRGB)) in <lambda>() 164 colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB), in <lambda>() 207 colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB), in <lambda>() 445 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>() 470 val srcColorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>() 564 val colorSpace = ColorSpace.get(ColorSpace.Named.SRGB) in <lambda>()
|
D | ColorSpaceTests.java | 157 ColorSpace.Connector connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.SRGB), in testHlgWhitePoint() 173 ColorSpace.Connector connector = ColorSpace.connect(ColorSpace.get(ColorSpace.Named.SRGB), in testPqWhitePoint()
|
D | WideColorGamutTests.java | 194 return displaySpace == null ? ColorSpace.get(ColorSpace.Named.SRGB) : displaySpace; in displaySpace()
|
D | RuntimeShaderTests.kt | 320 val srgb = ColorSpace.get(ColorSpace.Named.SRGB) as ColorSpace.Rgb in <lambda>()
|
D | RenderNodeTests.java | 964 ColorSpace colorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in assertRender()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SimpleObjectsTest.java | 375 colorSpaceProfiles.getSupportedImageFormatsForColorSpace(ColorSpace.Named.SRGB); in colorSpaceProfilesTest() 403 colorSpaceProfiles.getSupportedDynamicRangeProfiles(ColorSpace.Named.SRGB, in colorSpaceProfilesTest()
|
D | ImageReaderTest.java | 460 if (!availableColorSpaces.contains(ColorSpace.Named.SRGB)) { in testSRGBJpeg() 468 params.mColorSpace = ColorSpace.Named.SRGB; in testSRGBJpeg() 488 if (!availableColorSpaces.contains(ColorSpace.Named.SRGB)) { in testSRGBJpegRepeating() 496 params.mColorSpace = ColorSpace.Named.SRGB; in testSRGBJpegRepeating()
|
D | ExtendedCameraCharacteristicsTest.java | 2258 sdrColorSpaces.add(ColorSpace.Named.SRGB); in test8BitColorSpaceOutputCharacteristics() 2344 sdrColorSpaces.add(ColorSpace.Named.SRGB); in test10BitColorSpaceOutputCharacteristics() 2348 hdrColorSpaces.add(ColorSpace.Named.SRGB); in test10BitColorSpaceOutputCharacteristics()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ActivityTransitionTests.java | 665 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getIsAppRegionOfScreenOfColorResult() 671 .convert(ColorSpace.get(ColorSpace.Named.SRGB)); in getIsAppRegionOfScreenOfColorResult() 772 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex() 778 .convert(ColorSpace.get(ColorSpace.Named.SRGB)); in assertColorChangeXIndex()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 575 testGetBitmap(EGL_GL_COLORSPACE_SRGB_KHR, ColorSpace.get(ColorSpace.Named.SRGB), in testGet565Bitmap_SRGB() 581 testGetBitmap(EGL_GL_COLORSPACE_SRGB_KHR, ColorSpace.get(ColorSpace.Named.SRGB), in testGetBitmap_SRGB() 757 return ColorSpace.get(ColorSpace.Named.SRGB); in getColorSpace() 807 ColorSpace.get(ColorSpace.Named.SRGB)); in testGetBitmap()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperManagerTest.java | 879 final ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in testWideGamutWallpaper()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlTest.java | 1267 ColorSpace.get(ColorSpace.Named.DISPLAY_P3), ColorSpace.get(ColorSpace.Named.SRGB)); in testSurfaceTransaction_setDataSpace_display_p3()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 15978 enum_constant public static final android.graphics.ColorSpace.Named SRGB;
|