/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/base/libs/hwui/ |
D | Texture.cpp | 247 sk_sp<SkColorSpace> sRGB) { in uploadToN32() argument 251 hasLinearBlending ? sRGB : nullptr)); in uploadToN32() 331 mConnector.reset(new ColorSpaceConnector(src, ColorSpace::sRGB())); in upload() 355 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(); in upload() local 356 SkBitmap rgbaBitmap = uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB)); in upload()
|
D | Texture.h | 52 sk_sp<SkColorSpace> sRGB);
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
D | ColorTest.kt | 109 val sRGB = ColorSpace.get(ColorSpace.Named.SRGB) in getColorSpace() constant 110 assertEquals(sRGB, 0x337f3010.toColorLong().colorSpace) in getColorSpace()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 462 auto sRGB = SkColorSpace::MakeSRGB(); in SetPixels() local 463 auto xform = SkColorSpaceXform::New(sRGB.get(), colorSpace); in SetPixels() 1343 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixel() local 1344 auto xform = SkColorSpaceXform::New(colorSpace, sRGB.get()); in Bitmap_getPixel() 1380 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_getPixels() local 1381 auto xform = SkColorSpaceXform::New(colorSpace, sRGB.get()); in Bitmap_getPixels() 1417 auto sRGB = SkColorSpace::MakeSRGB(); in Bitmap_setPixel() local 1418 auto xform = SkColorSpaceXform::New(sRGB.get(), colorSpace); in Bitmap_setPixel()
|
D | Graphics.cpp | 558 jobject sRGB = env->GetStaticObjectField( in getColorSpace() local 561 gColorSpace_getMethodID, sRGB); in getColorSpace()
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 438 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(); in allocateHardwareBitmap() local 439 bitmap = uirenderer::Texture::uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB)); in allocateHardwareBitmap()
|
/frameworks/native/libs/ui/tools/ |
D | lutgen.cpp | 82 return ColorSpace::sRGB(); in findColorSpace()
|
/frameworks/native/libs/ui/include/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/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 137 ColorSpace srgb(ColorSpace::sRGB()); in GLES20RenderEngine()
|
/frameworks/native/libs/ui/ |
D | ColorSpace.cpp | 233 const ColorSpace ColorSpace::sRGB() { in sRGB() function in android::ColorSpace
|