Home
last modified time | relevance | path

Searched refs:DISPLAY_P3 (Results 1 – 17 of 17) 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.cpp82 case ui::Dataspace::DISPLAY_P3: in dataSpaceToColorSpace()
94 case ui::Dataspace::DISPLAY_P3: in dataSpaceToInt()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp102 case ui::Dataspace::DISPLAY_P3: in queryWideColorGamutPreference()
/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.cpp628 .WillOnce(DoAll(SetArgPointee<1>(std::vector<ColorMode>({ColorMode::DISPLAY_P3})), in setupComposerCallExpectations()
631 getRenderIntents(Display::HWC_DISPLAY_ID, ColorMode::DISPLAY_P3, _)) in setupComposerCallExpectations()
1233 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
1245 addHwcColorModesMapping(ui::ColorMode::DISPLAY_P3, in TEST_F()
1251 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
1257 ASSERT_EQ(ui::Dataspace::DISPLAY_P3, mOutDataspace); in TEST_F()
1258 ASSERT_EQ(ui::ColorMode::DISPLAY_P3, mOutColorMode); in TEST_F()
1265 setInputDataspace(ui::Dataspace::DISPLAY_P3); in TEST_F()
/frameworks/base/core/jni/
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/services/surfaceflinger/
DSurfaceFlinger.cpp143 case ColorMode::DISPLAY_P3: in isWideColorMode()
168 case ColorMode::DISPLAY_P3: in isHdrColorMode()
217 return dataspace == Dataspace::V0_SRGB || dataspace == Dataspace::DISPLAY_P3; in validateCompositionDataspace()
306 hasWideColorDisplay ? Dataspace::DISPLAY_P3 : Dataspace::V0_SRGB)); in SurfaceFlinger()
2280 case Dataspace::DISPLAY_P3: in getBestDataspace()
2281 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2285 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2291 bestDataSpace = Dataspace::DISPLAY_P3; in getBestDataspace()
2326 case ColorMode::DISPLAY_P3: in pickColorMode()
2327 bestDataSpace = Dataspace::DISPLAY_P3; in pickColorMode()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp336 case ColorMode::DISPLAY_P3: in TEST_F()
/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.java1729 colorSpaces[i] = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in getCompositionColorSpaces()
/frameworks/base/api/
Dcurrent.txt14063 enum_constant public static final android.graphics.ColorSpace.Named DISPLAY_P3;