Searched refs:srgb (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | RuntimeShaderTests.kt | 320 val srgb = ColorSpace.get(ColorSpace.Named.SRGB) as ColorSpace.Rgb in <lambda>() constant 321 val rotatedPrimaries = FloatArray(srgb.primaries.size) in <lambda>() 323 rotatedPrimaries[i] = srgb.primaries[(i + 2) % srgb.primaries.size] in <lambda>() 325 return ColorSpace.Rgb("Rotated sRGB", rotatedPrimaries, srgb.whitePoint, in <lambda>() 326 srgb.transferParameters!!) in <lambda>()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Color_ColorLongTest.java | 83 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testColorSpace() local 86 assertEquals(srgb, colorSpace(pack(0.5f, 0.7f, 1.0f))); in testColorSpace() 272 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testPackSrgb() local 276 long color3 = pack(0.5f, 0.0f, 1.0f, 1.0f, srgb); in testPackSrgb()
|
D | BitmapColorSpaceTest.java | 414 int srgb = b.getPixel(15, 15); in verifyGetPixel() local 415 almostEqual(srgbColor, srgb, 3, 15 * b.getWidth() + 15); in verifyGetPixel()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperManagerTest.java | 879 final ColorSpace srgb = ColorSpace.get(ColorSpace.Named.SRGB); in testWideGamutWallpaper() local 888 assertThat(mWallpaperManager.getBitmap().getColorSpace()).isEqualTo(srgb); in testWideGamutWallpaper()
|