/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 27 std::ostream& operator<<(std::ostream& os, const RenderIntent& value) { in operator <<() 66 using ui::RenderIntent; 69 constexpr RenderIntent VendorRenderIntent = static_cast<RenderIntent>(0x100); 127 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() 133 std::initializer_list<RenderIntent> renderIntents) { in addColorModeRenderIntents() 149 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::COLORIMETRIC) in createProfileWithBT2020ColorModeSupport() 150 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::ENHANCE) in createProfileWithBT2020ColorModeSupport() 159 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport() 160 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport() 177 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC) in createProfileWithDisplayP3ColorModeSupport() [all …]
|
D | DisplayTest.cpp | 149 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F() 153 ui::RenderIntent::COLORIMETRIC); in TEST_F() 157 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F() 163 ui::RenderIntent::TONE_MAP_COLORIMETRIC)) in TEST_F() 167 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F() 171 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F() 179 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F() 183 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay.getState().renderIntent); in TEST_F()
|
D | OutputTest.cpp | 211 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F() 215 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mOutput.getState().renderIntent); in TEST_F() 222 mOutput.editState().renderIntent = ui::RenderIntent::TONE_MAP_COLORIMETRIC; in TEST_F() 225 ui::RenderIntent::TONE_MAP_COLORIMETRIC); in TEST_F()
|
D | MockHWComposer.h | 61 MOCK_CONST_METHOD2(getRenderIntents, std::vector<ui::RenderIntent>(DisplayId, ui::ColorMode)); 82 MOCK_METHOD3(setActiveColorMode, status_t(DisplayId, ui::ColorMode, ui::RenderIntent));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplayColorProfile.cpp | 40 using ui::RenderIntent; 56 const std::array<RenderIntent, 2> sSdrRenderIntents = { 57 RenderIntent::ENHANCE, 58 RenderIntent::COLORIMETRIC, 62 const std::array<RenderIntent, 2> sHdrRenderIntents = { 63 RenderIntent::TONE_MAP_ENHANCE, 64 RenderIntent::TONE_MAP_COLORIMETRIC, 121 std::vector<RenderIntent> getRenderIntentCandidates(RenderIntent intent) { in getRenderIntentCandidates() 122 std::vector<RenderIntent> candidates; in getRenderIntentCandidates() 157 const std::unordered_map<ColorMode, std::vector<RenderIntent>>& hwcColorModes, in getHwcColorMode() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DisplayColorProfile.h | 41 bool hasRenderIntent(ui::RenderIntent intent) const override; 43 void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent, 45 ui::RenderIntent* outIntent) const override; 63 const ui::ColorMode mode, const ui::RenderIntent intent); 71 ui::RenderIntent renderIntent; 74 static ColorModeKey getColorModeKey(ui::Dataspace dataspace, ui::RenderIntent intent) { in getColorModeKey()
|
D | OutputCompositionState.h | 89 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
|
D | Display.h | 42 void setColorMode(ui::ColorMode, ui::Dataspace, ui::RenderIntent) override;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | DisplayColorProfile.h | 32 MOCK_CONST_METHOD1(hasRenderIntent, bool(ui::RenderIntent)); 35 void(ui::Dataspace, ui::RenderIntent, ui::Dataspace*, ui::ColorMode*, 36 ui::RenderIntent*));
|
D | Output.h | 44 MOCK_METHOD3(setColorMode, void(ui::ColorMode, ui::Dataspace, ui::RenderIntent));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayColorProfile.h | 46 virtual bool hasRenderIntent(ui::RenderIntent) const = 0; 53 virtual void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent, 55 ui::RenderIntent* outIntent) const = 0;
|
D | DisplayColorProfileCreationArgs.h | 32 using HwcColorModes = std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>>;
|
D | Output.h | 74 virtual void setColorMode(ui::ColorMode, ui::Dataspace, ui::RenderIntent) = 0;
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 26 using android::ui::RenderIntent; 310 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent() 312 case RenderIntent::COLORIMETRIC: in decodeRenderIntent() 314 case RenderIntent::ENHANCE: in decodeRenderIntent() 316 case RenderIntent::TONE_MAP_COLORIMETRIC: in decodeRenderIntent() 318 case RenderIntent::TONE_MAP_ENHANCE: in decodeRenderIntent()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 62 using android::Hwc2::RenderIntent; 643 std::vector<RenderIntent>({RenderIntent::COLORIMETRIC})), in setupComposerCallExpectations() 647 RenderIntent::COLORIMETRIC)) in setupComposerCallExpectations() 1197 std::vector<ui::RenderIntent> renderIntents) { in addHwcColorModesMapping() 1203 void setInputRenderIntent(ui::RenderIntent renderIntent) { mInputRenderIntent = renderIntent; } in setInputRenderIntent() 1230 ui::RenderIntent mOutRenderIntent; 1234 ui::RenderIntent mInputRenderIntent; 1236 std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>> mHwcColorModes; 1242 std::vector<ui::RenderIntent>(1, RenderIntent::COLORIMETRIC)); in TEST_F() 1244 setInputRenderIntent(ui::RenderIntent::COLORIMETRIC); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplay.h | 50 Error(android::ui::ColorMode, std::vector<android::ui::RenderIntent>*)); 72 MOCK_METHOD2(setColorMode, Error(android::ui::ColorMode, android::ui::RenderIntent));
|
D | MockComposer.h | 32 using android::hardware::graphics::common::V1_1::RenderIntent; 87 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent)); 114 MOCK_METHOD3(getRenderIntents, Error(Display, ColorMode, std::vector<RenderIntent>*));
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicTypes.h | 36 using android::hardware::graphics::common::V1_1::RenderIntent;
|
D | DebugUtils.h | 35 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicTypes.h | 36 using android::hardware::graphics::common::V1_1::RenderIntent;
|
D | DebugUtils.h | 35 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 126 virtual std::vector<ui::RenderIntent> getRenderIntents(DisplayId displayId, 170 ui::RenderIntent renderIntent) = 0; 264 std::vector<ui::RenderIntent> getRenderIntents(DisplayId displayId, 303 ui::RenderIntent renderIntent) override;
|
D | ComposerHal.h | 51 using types::V1_1::RenderIntent; 138 virtual Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) = 0; 187 std::vector<RenderIntent>* outRenderIntents) = 0; 353 Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) override; 399 std::vector<RenderIntent>* outRenderIntents) override;
|
D | HWC2.h | 220 std::vector<android::ui::RenderIntent>* outRenderIntents) const = 0; 253 android::ui::ColorMode mode, android::ui::RenderIntent renderIntent) = 0; 288 std::vector<android::ui::RenderIntent>* outRenderIntents) const override; 316 android::ui::RenderIntent renderIntent) override;
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 712 public enum RenderIntent { enum in ColorSpace 1195 return connect(source, destination, RenderIntent.PERCEPTUAL); in connect() 1220 @NonNull RenderIntent intent) { in connect() 1251 return connect(source, RenderIntent.PERCEPTUAL); in connect() 1272 public static Connector connect(@NonNull ColorSpace source, @NonNull RenderIntent intent) { in connect() 3638 @NonNull private final RenderIntent mIntent; 3649 @NonNull RenderIntent intent) { in Connector() 3666 @NonNull RenderIntent intent, @Nullable @Size(3) float[] transform) { in Connector() 3681 @NonNull ColorSpace destination, @NonNull RenderIntent intent) { in computeTransform() 3682 if (intent != RenderIntent.ABSOLUTE) return null; in computeTransform() [all …]
|