Home
last modified time | relevance | path

Searched refs:DISPLAY_P3 (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp177 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC) in createProfileWithDisplayP3ColorModeSupport()
178 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::ENHANCE) in createProfileWithDisplayP3ColorModeSupport()
179 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, VendorRenderIntent) in createProfileWithDisplayP3ColorModeSupport()
445 /* 3 */ ArgsType{Dataspace::DISPLAY_P3, RenderIntent::COLORIMETRIC}, in checkGetBestColorMode()
446 /* 4 */ ArgsType{Dataspace::DISPLAY_P3, RenderIntent::ENHANCE}, in checkGetBestColorMode()
447 …/* 5 */ ArgsType{Dataspace::DISPLAY_P3, VendorRenderIntent}, // Vendor explicit … in checkGetBestColorMode()
582 … /* 0 */ Result{Dataspace::DISPLAY_P3, ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC}, in TEST_F()
583 /* 1 */ Result{Dataspace::DISPLAY_P3, ColorMode::DISPLAY_P3, RenderIntent::ENHANCE}, in TEST_F()
587 … /* 3 */ Result{Dataspace::DISPLAY_P3, ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC}, in TEST_F()
588 /* 4 */ Result{Dataspace::DISPLAY_P3, ColorMode::DISPLAY_P3, RenderIntent::ENHANCE}, in TEST_F()
[all …]
DDisplayTest.cpp160 EXPECT_CALL(*renderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
162 setActiveColorMode(DEFAULT_DISPLAY_ID, ui::ColorMode::DISPLAY_P3, in TEST_F()
166 mDisplay.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
169 EXPECT_EQ(ui::ColorMode::DISPLAY_P3, mDisplay.getState().colorMode); in TEST_F()
170 EXPECT_EQ(ui::Dataspace::DISPLAY_P3, mDisplay.getState().dataspace); in TEST_F()
178 virtualDisplay.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
DOutputTest.cpp208 EXPECT_CALL(*mRenderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
210 mOutput.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
213 EXPECT_EQ(ui::ColorMode::DISPLAY_P3, mOutput.getState().colorMode); in TEST_F()
214 EXPECT_EQ(ui::Dataspace::DISPLAY_P3, mOutput.getState().dataspace); in TEST_F()
220 mOutput.editState().colorMode = ui::ColorMode::DISPLAY_P3; in TEST_F()
221 mOutput.editState().dataspace = ui::Dataspace::DISPLAY_P3; in TEST_F()
224 mOutput.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
DRenderSurfaceTest.cpp135 EXPECT_CALL(*mNativeWindow, setBuffersDataSpace(ui::Dataspace::DISPLAY_P3)) in TEST_F()
138 mSurface.setBufferDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp45 ColorMode::DISPLAY_P3,
72 case ColorMode::DISPLAY_P3: in colorModeToDataspace()
73 return Dataspace::DISPLAY_P3; in colorModeToDataspace()
/frameworks/base/cmds/screencap/
Dscreencap.cpp83 case ui::Dataspace::DISPLAY_P3: in dataSpaceToColorSpace()
95 case ui::Dataspace::DISPLAY_P3: in dataSpaceToInt()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp102 case ui::Dataspace::DISPLAY_P3: in queryWideColorGamutPreference()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp84 static constexpr jint DISPLAY_P3 = 7; member in android::JNamedColorSpace
89 case JNamedColorSpace::DISPLAY_P3: in fromNamedColorSpaceValueToDataspace()
90 return ui::Dataspace::DISPLAY_P3; in fromNamedColorSpaceValueToDataspace()
Dandroid_view_SurfaceControl.cpp140 static constexpr jint DISPLAY_P3 = 7; member in android::JNamedColorSpace
145 case ui::Dataspace::DISPLAY_P3: in fromDataspaceToNamedColorSpaceValue()
146 return JNamedColorSpace::DISPLAY_P3; in fromDataspaceToNamedColorSpaceValue()
154 case ui::ColorMode::DISPLAY_P3: in pickDataspaceFromColorMode()
158 return ui::Dataspace::DISPLAY_P3; in pickDataspaceFromColorMode()
/frameworks/native/libs/ui/
DDebugUtils.cpp231 case ColorMode::DISPLAY_P3: in decodeColorMode()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java264 ColorSpace.get(ColorSpace.Named.DISPLAY_P3)); in testWrapHardwareBufferWithDisplayP3ColorSpace()
267 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), hardwareBitmap.getColorSpace()); in testWrapHardwareBufferWithDisplayP3ColorSpace()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp638 .WillOnce(DoAll(SetArgPointee<1>(std::vector<ColorMode>({ColorMode::DISPLAY_P3})), in setupComposerCallExpectations()
641 getRenderIntents(Display::HWC_DISPLAY_ID, ColorMode::DISPLAY_P3, _)) in setupComposerCallExpectations()
1243 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
1255 addHwcColorModesMapping(ui::ColorMode::DISPLAY_P3, in TEST_F()
1261 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
1267 ASSERT_EQ(ui::Dataspace::DISPLAY_P3, mOutDataspace); in TEST_F()
1268 ASSERT_EQ(ui::ColorMode::DISPLAY_P3, mOutColorMode); in TEST_F()
1275 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp336 case ColorMode::DISPLAY_P3: in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp146 case ColorMode::DISPLAY_P3: in isWideColorMode()
171 case ColorMode::DISPLAY_P3: in isHdrColorMode()
220 return dataspace == Dataspace::V0_SRGB || dataspace == Dataspace::DISPLAY_P3; in validateCompositionDataspace()
309 hasWideColorDisplay ? Dataspace::DISPLAY_P3 : Dataspace::V0_SRGB)); in SurfaceFlinger()
2313 case Dataspace::DISPLAY_P3: in getBestDataspace()
2314 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2318 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2324 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2359 case ColorMode::DISPLAY_P3: in pickColorMode()
2360 bestDataSpace = Dataspace::DISPLAY_P3; in pickColorMode()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java492 DISPLAY_P3, enumConstant
1511 sNamedColorSpaces[Named.DISPLAY_P3.ordinal()] = new ColorSpace.Rgb(
1516 Named.DISPLAY_P3.ordinal()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp473 if (mode < ColorMode::NATIVE || mode > ColorMode::DISPLAY_P3) in setColorMode()
/frameworks/base/core/java/android/view/
DSurfaceControl.java1714 colorSpaces[i] = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in getCompositionColorSpaces()
/frameworks/base/non-updatable-api/
Dcurrent.txt14080 enum_constant public static final android.graphics.ColorSpace.Named DISPLAY_P3;
/frameworks/base/api/
Dcurrent.txt14080 enum_constant public static final android.graphics.ColorSpace.Named DISPLAY_P3;