Home
last modified time | relevance | path

Searched refs:SRGB (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp159 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport()
160 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport()
161 .addColorModeRenderIntent(ColorMode::SRGB, VendorRenderIntent) in createProfileWithSRGBColorModeSupport()
549 /* 0 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, RenderIntent::COLORIMETRIC}, in TEST_F()
550 /* 1 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, RenderIntent::ENHANCE}, in TEST_F()
551 /* 2 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, VendorRenderIntent}, in TEST_F()
553 /* 3 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, RenderIntent::COLORIMETRIC}, in TEST_F()
554 /* 4 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, RenderIntent::ENHANCE}, in TEST_F()
555 /* 5 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, VendorRenderIntent}, in TEST_F()
557 /* 6 */ Result{Dataspace::V0_SRGB, ColorMode::SRGB, RenderIntent::COLORIMETRIC}, in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DColorSpaceRendererTest.java53 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff) in testRenderer()
68 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff) in testUcsRenderer()
DBitmapTest.java252 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), hardwareBitmap.getColorSpace()); in testWrapHardwareBufferWithSrgbColorSpace()
/frameworks/base/graphics/java/android/graphics/
DColor.java328 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in Color()
341 this(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in Color()
870 return new Color(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in valueOf()
1000 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1017 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1091 ColorSpace source = ColorSpace.get(ColorSpace.Named.SRGB); in convert()
1354 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in luminance()
DSweepGradient.java63 this(cx, cy, convertColors(colors), positions, ColorSpace.get(ColorSpace.Named.SRGB)); in SweepGradient()
DRadialGradient.java68 ColorSpace.get(ColorSpace.Named.SRGB)); in RadialGradient()
DLinearGradient.java71 ColorSpace.get(ColorSpace.Named.SRGB)); in LinearGradient()
DBitmap.java760 colorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in wrapHardwareBuffer()
947 cs = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap()
1081 ColorSpace.get(ColorSpace.Named.SRGB)); in createBitmap()
1201 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createBitmap()
1891 if (cs.equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getColor()
DColorSpace.java267 SRGB, enumConstant
1276 return new Connector.Rgb((Rgb) source, (Rgb) get(Named.SRGB), intent); in connect()
1279 return new Connector(source, get(Named.SRGB), intent); in connect()
1455 sNamedColorSpaces[Named.SRGB.ordinal()] = new ColorSpace.Rgb(
1460 Named.SRGB.ordinal()
3279 ColorSpace.Rgb srgb = (ColorSpace.Rgb) get(Named.SRGB); in isSrgb()
4547 ColorSpace colorSpace = get(Named.SRGB);
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp46 ColorMode::SRGB,
70 case ColorMode::SRGB: in colorModeToDataspace()
281 auto iter = hwcColorModes.find(ColorMode::SRGB); in populateColorModes()
/frameworks/native/libs/renderengine/include/renderengine/private/
DDescription.h34 SRGB, enumerator
/frameworks/native/libs/renderengine/
DDescription.cpp36 return Description::TransferFunction::SRGB; in dataSpaceToTransferFunction()
/frameworks/base/libs/hwui/renderthread/
DIRenderPipeline.h47 SRGB, enumerator
DCanvasContext.cpp167 ColorMode colorMode = mWideColorGamut ? ColorMode::WideColorGamut : ColorMode::SRGB; in setSurface()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMyLittleTextureView.java83 ColorSpace.get(ColorSpace.Named.SRGB)); in onCreate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java157 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, TEST_INSETS, in build()
DTaskSnapshotSurfaceTest.java68 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, contentInsets, false, in setupSurface()
/frameworks/base/core/java/android/view/
DSurface.java713 colorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in attachAndQueueBufferWithColorSpace()
732 attachAndQueueBufferWithColorSpace(buffer, ColorSpace.get(ColorSpace.Named.SRGB)); in attachAndQueueBuffer()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp168 case Description::TransferFunction::SRGB: in computeKey()
184 case Description::TransferFunction::SRGB: in computeKey()
/frameworks/native/libs/ui/
DDebugUtils.cpp225 case ColorMode::SRGB: in decodeColorMode()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp447 if (colorMode == ColorMode::SRGB) { in setSurfaceColorProperties()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp440 … EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default, ColorMode::SRGB, 0)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp473 case ui::Dataspace::SRGB: in latchBuffer()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp81 static constexpr jint SRGB = 0; member in android::JNamedColorSpace
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp646 setColorMode(Display::HWC_DISPLAY_ID, ColorMode::SRGB, in setupComposerCallExpectations()
1241 addHwcColorModesMapping(ui::ColorMode::SRGB, in TEST_F()
1250 ASSERT_EQ(ui::ColorMode::SRGB, mOutColorMode); in TEST_F()
1257 addHwcColorModesMapping(ui::ColorMode::SRGB, in TEST_F()

12