/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 177 .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 …]
|
D | DisplayTest.cpp | 160 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()
|
D | OutputTest.cpp | 208 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()
|
D | RenderSurfaceTest.cpp | 135 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/ |
D | DisplayColorProfile.cpp | 45 ColorMode::DISPLAY_P3, 72 case ColorMode::DISPLAY_P3: in colorModeToDataspace() 73 return Dataspace::DISPLAY_P3; in colorModeToDataspace()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 82 case ui::Dataspace::DISPLAY_P3: in dataSpaceToColorSpace() 94 case ui::Dataspace::DISPLAY_P3: in dataSpaceToInt()
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 102 case ui::Dataspace::DISPLAY_P3: in queryWideColorGamutPreference()
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 231 case ColorMode::DISPLAY_P3: in decodeColorMode()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 264 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/ |
D | DisplayTransactionTest.cpp | 628 .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/ |
D | android_view_SurfaceControl.cpp | 140 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/ |
D | SurfaceFlinger.cpp | 143 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/ |
D | Credentials_test.cpp | 336 case ColorMode::DISPLAY_P3: in TEST_F()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 492 DISPLAY_P3, enumConstant 1511 sNamedColorSpaces[Named.DISPLAY_P3.ordinal()] = new ColorSpace.Rgb( 1516 Named.DISPLAY_P3.ordinal()
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 473 if (mode < ColorMode::NATIVE || mode > ColorMode::DISPLAY_P3) in setColorMode()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 1729 colorSpaces[i] = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); in getCompositionColorSpaces()
|
/frameworks/base/api/ |
D | current.txt | 14063 enum_constant public static final android.graphics.ColorSpace.Named DISPLAY_P3;
|