/frameworks/native/libs/ui/tests/ |
D | colorspace_test.cpp | 41 ColorSpace sRGB("sRGB", sRGBToXYZ); in TEST_F() local 43 EXPECT_EQ(sRGBToXYZ, sRGB.getRGBtoXYZ()); in TEST_F() 44 EXPECT_EQ(XYZtoSRGB, sRGB.getXYZtoRGB()); in TEST_F() 54 ColorSpace sRGB("sRGB", sRGBToXYZ); in TEST_F() local 56 EXPECT_NEAR(0.640f, sRGB.getPrimaries()[0].x, 1e-5f); in TEST_F() 57 EXPECT_NEAR(0.330f, sRGB.getPrimaries()[0].y, 1e-5f); in TEST_F() 59 EXPECT_NEAR(0.300f, sRGB.getPrimaries()[1].x, 1e-5f); in TEST_F() 60 EXPECT_NEAR(0.600f, sRGB.getPrimaries()[1].y, 1e-5f); in TEST_F() 62 EXPECT_NEAR(0.150f, sRGB.getPrimaries()[2].x, 1e-5f); in TEST_F() 63 EXPECT_NEAR(0.060f, sRGB.getPrimaries()[2].y, 1e-5f); in TEST_F() [all …]
|
/frameworks/native/libs/shaders/ |
D | shaders.cpp | 251 return ColorSpace::sRGB(); in toColorSpace() 270 return ColorSpace::sRGB(); in toColorSpace()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/ |
D | BaseDrawingView.kt | 26 val sRGB = ColorSpace.get(ColorSpace.Named.SRGB) constant in com.android.test.silkfx.common.BaseDrawingView
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotControllerTest.java | 162 final ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in testSnapshotBuilder() local 181 builder.setColorSpace(sRGB); in testSnapshotBuilder() 199 assertEquals(sRGB, snapshot.getColorSpace()); in testSnapshotBuilder()
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 265 auto sRGB = SkColorSpace::MakeSRGB(); in SetPixels() local 267 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in SetPixels() 959 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixel() local 961 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixel() 987 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixels() local 989 width, height, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_getPixels() 1004 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_setPixel() local 1006 1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, sRGB); in Bitmap_setPixel()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | ColorGrid.kt | 55 val colorSpaces = arrayOf(sRGB, displayP3, bt2020_pq, scRGB) in onDraw()
|
/frameworks/native/libs/shaders/tests/ |
D | shaders_test.cpp | 81 ColorSpace inputColorSpace = ColorSpace::sRGB(); in TEST_F()
|
/frameworks/base/libs/hwui/utils/ |
D | Color.cpp | 364 auto colorSpace = ColorSpace::sRGB(); in sRGBToLab() 376 auto colorSpace = ColorSpace::sRGB(); in LabToSRGB()
|
/frameworks/native/libs/ui/tools/ |
D | lutgen.cpp | 82 return ColorSpace::sRGB(); in findColorSpace()
|
/frameworks/native/services/surfaceflinger/sysprop/ |
D | SurfaceFlingerProperties.sysprop | 92 # greater than sRGB. Typical display may have same 99 # Default is sRGB. 220 # 2. Hardware composer's ability to composite contents when sRGB contents 291 # If unspecified, the primaries is sRGB gamut by default.
|
/frameworks/native/libs/ui/include_types/ui/ |
D | ColorSpace.h | 233 static const ColorSpace sRGB();
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | ColorSpace.h | 233 static const ColorSpace sRGB();
|
/frameworks/native/libs/ui/ |
D | ColorSpace.cpp | 233 const ColorSpace ColorSpace::sRGB() { in sRGB() function in android::ColorSpace
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 1310 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap() local 1312 config.nativeInt, false, sRGB.getNativeInstance()); in createBitmap()
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | GLESRenderEngine.cpp | 367 const ColorSpace srgb(ColorSpace::sRGB()); in GLESRenderEngine()
|