/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 34 using ui::ColorMode; 98 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() 103 ProfileFactory& addColorModeRenderIntents(ColorMode colorMode, in addColorModeRenderIntents() 120 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::COLORIMETRIC) in createProfileWithBT2020ColorModeSupport() 121 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::ENHANCE) in createProfileWithBT2020ColorModeSupport() 122 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, VendorRenderIntent) in createProfileWithBT2020ColorModeSupport() 130 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport() 131 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport() 132 .addColorModeRenderIntent(ColorMode::SRGB, VendorRenderIntent) in createProfileWithSRGBColorModeSupport() 140 .addColorModeRenderIntent(ColorMode::BT2100_PQ, VendorRenderIntent) in createProfileWithBT2100PQSupport() [all …]
|
D | MockHWComposer.h | 78 std::vector<ui::RenderIntent>(HalDisplayId, ui::ColorMode)); 96 MOCK_CONST_METHOD1(getColorModes, std::vector<ui::ColorMode>(PhysicalDisplayId)); 97 MOCK_METHOD3(setActiveColorMode, status_t(PhysicalDisplayId, ui::ColorMode, ui::RenderIntent));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplayColorProfile.cpp | 38 using ui::ColorMode; 43 const std::array<ColorMode, 3> sSdrColorModes = { 44 ColorMode::DISPLAY_BT2020, 45 ColorMode::DISPLAY_P3, 46 ColorMode::SRGB, 50 const std::array<ColorMode, 2> sHdrColorModes = { 51 ColorMode::BT2100_PQ, 52 ColorMode::BT2100_HLG, 68 bool isHdrColorMode(const ColorMode colorMode) { in isHdrColorMode() 70 [colorMode](ColorMode hdrColorMode) { return hdrColorMode == colorMode; }); in isHdrColorMode() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_GetBestColorModeTest.cpp | 36 void addHwcColorModesMapping(ui::ColorMode colorMode, in addHwcColorModesMapping() 60 ui::ColorMode mOutColorMode; 67 std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>> mHwcColorModes; 71 addHwcColorModesMapping(ui::ColorMode::SRGB, in TEST_F() 80 ASSERT_EQ(ui::ColorMode::SRGB, mOutColorMode); in TEST_F() 85 addHwcColorModesMapping(ui::ColorMode::DISPLAY_P3, in TEST_F() 87 addHwcColorModesMapping(ui::ColorMode::SRGB, in TEST_F() 89 addHwcColorModesMapping(ui::ColorMode::DISPLAY_BT2020, in TEST_F() 98 ASSERT_EQ(ui::ColorMode::DISPLAY_P3, mOutColorMode); in TEST_F() 103 addHwcColorModesMapping(ui::ColorMode::DISPLAY_BT2020, in TEST_F() [all …]
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 46 .WillOnce(DoAll(SetArgPointee<1>(std::vector<ColorMode>({ColorMode::DISPLAY_P3})), in setupComposerCallExpectations() 49 getRenderIntents(Display::HWC_DISPLAY_ID, ColorMode::DISPLAY_P3, _)) in setupComposerCallExpectations() 54 setColorMode(Display::HWC_DISPLAY_ID, ColorMode::SRGB, in setupComposerCallExpectations()
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 27 using android::ui::ColorMode; 202 std::string decodeColorMode(ColorMode colorMode) { in decodeColorMode() 204 case ColorMode::NATIVE: in decodeColorMode() 207 case ColorMode::STANDARD_BT601_625: in decodeColorMode() 210 case ColorMode::STANDARD_BT601_625_UNADJUSTED: in decodeColorMode() 213 case ColorMode::STANDARD_BT601_525: in decodeColorMode() 216 case ColorMode::STANDARD_BT601_525_UNADJUSTED: in decodeColorMode() 219 case ColorMode::STANDARD_BT709: in decodeColorMode() 222 case ColorMode::DCI_P3: in decodeColorMode() 225 case ColorMode::SRGB: in decodeColorMode() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DisplayColorProfile.h | 44 ui::Dataspace* outDataspace, ui::ColorMode* outMode, 58 ui::Dataspace getTargetDataspace(ui::ColorMode, ui::Dataspace, ui::Dataspace) const override; 65 const ui::ColorMode mode, const ui::RenderIntent intent); 72 ui::ColorMode colorMode;
|
D | OutputCompositionState.h | 108 ui::ColorMode colorMode{ui::ColorMode::NATIVE};
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 37 using ui::ColorMode; 240 return SurfaceComposerClient::setActiveColorMode(display, ui::ColorMode::NATIVE); in TEST_F() 339 for (ColorMode colorMode : colorModes) { in TEST_F() 341 case ColorMode::DISPLAY_P3: in TEST_F() 342 case ColorMode::ADOBE_RGB: in TEST_F() 343 case ColorMode::DCI_P3: in TEST_F() 368 ColorMode colorMode = info.activeColorMode; in TEST_F() 369 ASSERT_NE(static_cast<ColorMode>(BAD_VALUE), colorMode); in TEST_F()
|
/frameworks/native/libs/ui/include/ui/ |
D | DynamicDisplayInfo.h | 40 std::vector<ui::ColorMode> supportedColorModes; 41 ui::ColorMode activeColorMode;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | DisplayColorProfile.h | 35 void(ui::Dataspace, ui::RenderIntent, ui::Dataspace*, ui::ColorMode*, 47 ui::Dataspace(ui::ColorMode, ui::Dataspace, ui::Dataspace));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | CompositionRefreshArgs.h | 60 ui::ColorMode forceOutputColorMode{ui::ColorMode::NATIVE};
|
D | DisplayColorProfile.h | 63 ui::Dataspace* outDataspace, ui::ColorMode* outMode, 91 virtual ui::Dataspace getTargetDataspace(ui::ColorMode, ui::Dataspace,
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.h | 53 void setSurfaceColorProperties(ColorMode colorMode) override; 79 ColorMode mColorMode = ColorMode::Default;
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 60 using types::V1_2::ColorMode; 101 ColorMode color_mode; 165 ColorMode color_mode() const { return color_mode_; } in color_mode() 166 void set_color_mode(ColorMode mode) { color_mode_ = mode; } in set_color_mode() 198 ColorMode color_mode_; 303 Error getRenderIntents(Display display, types::V1_1::ColorMode mode, 319 Error setColorMode_2_3(Display display, ColorMode mode, 321 Error getRenderIntents_2_3(Display display, ColorMode mode, 324 hidl_vec<ColorMode>* outModes) override;
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 79 V2_1::Error getColorModes(Display display, hidl_vec<V1_0::ColorMode>* outModes) override; 92 V2_1::Error setColorMode(Display display, V1_0::ColorMode mode) override; 158 hidl_vec<graphics::common::V1_1::ColorMode>* outModes) override; 160 Display display, graphics::common::V1_1::ColorMode mode, 162 V2_1::Error setColorMode_2_2(Display display, graphics::common::V1_1::ColorMode mode, 173 V2_1::Error setColorMode_2_3(Display display, graphics::common::V1_2::ColorMode mode, 177 Display display, graphics::common::V1_2::ColorMode mode, 181 hidl_vec<graphics::common::V1_2::ColorMode>* outModes) override;
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 38 static VulkanSurface* Create(ANativeWindow* window, ColorMode colorMode, SkColorType colorType, 107 static bool InitializeWindowInfoStruct(ANativeWindow* window, ColorMode colorMode,
|
D | EglManager.cpp | 339 ColorMode colorMode, in createSurface() 344 colorMode = ColorMode::Default; in createSurface() 374 colorMode = ColorMode::Default; in createSurface() 382 case ColorMode::Default: in createSurface() 385 case ColorMode::WideColorGamut: { in createSurface() 400 case ColorMode::Hdr: in createSurface() 404 case ColorMode::Hdr10: in createSurface()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 32 using android::hardware::graphics::common::V1_2::ColorMode; 66 MOCK_METHOD2(getColorModes, Error(Display, std::vector<ColorMode>*)); 85 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent)); 111 MOCK_METHOD3(getRenderIntents, Error(Display, ColorMode, std::vector<RenderIntent>*));
|
D | MockHWC2.h | 43 MOCK_METHOD(hal::Error, getColorModes, (std::vector<hal::ColorMode> *), (const, override)); 45 MOCK_METHOD(hal::Error, getRenderIntents, (hal::ColorMode, std::vector<hal::RenderIntent> *), 69 MOCK_METHOD(hal::Error, setColorMode, (hal::ColorMode, hal::RenderIntent), (override));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 177 virtual std::vector<ui::RenderIntent> getRenderIntents(HalDisplayId, ui::ColorMode) const = 0; 215 virtual std::vector<ui::ColorMode> getColorModes(PhysicalDisplayId) const = 0; 217 virtual status_t setActiveColorMode(PhysicalDisplayId, ui::ColorMode mode, 320 std::vector<ui::RenderIntent> getRenderIntents(HalDisplayId, ui::ColorMode) const override; 351 std::vector<ui::ColorMode> getColorModes(PhysicalDisplayId) const override; 353 status_t setActiveColorMode(PhysicalDisplayId, ui::ColorMode, ui::RenderIntent) override;
|
D | HWC2.h | 92 std::vector<hal::ColorMode>* outModes) const = 0; 96 hal::ColorMode colorMode, std::vector<hal::RenderIntent>* outRenderIntents) const = 0; 125 hal::ColorMode mode, hal::RenderIntent renderIntent) = 0; 166 hal::Error getColorModes(std::vector<hal::ColorMode>* outModes) const override; 169 hal::Error getRenderIntents(hal::ColorMode colorMode, 193 hal::Error setColorMode(hal::ColorMode, hal::RenderIntent) override;
|
/frameworks/base/libs/hwui/ |
D | ColorMode.h | 22 enum class ColorMode { enum
|
/frameworks/base/libs/hwui/tests/unit/ |
D | EglManagerTests.cpp | 37 eglManager.createSurface(context.surface().get(), ColorMode::Default, colorSpace); in TEST()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DebugUtils.h | 33 std::string decodeColorMode(android::ui::ColorMode colormode);
|