/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 37 using ui::RenderIntent; 40 constexpr RenderIntent VendorRenderIntent = static_cast<RenderIntent>(0x100); 98 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() 104 std::initializer_list<RenderIntent> renderIntents) { in addColorModeRenderIntents() 120 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::COLORIMETRIC) in createProfileWithBT2020ColorModeSupport() 121 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::ENHANCE) in createProfileWithBT2020ColorModeSupport() 130 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport() 131 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport() 148 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::COLORIMETRIC) in createProfileWithDisplayP3ColorModeSupport() 149 .addColorModeRenderIntent(ColorMode::DISPLAY_P3, RenderIntent::ENHANCE) in createProfileWithDisplayP3ColorModeSupport() [all …]
|
D | DisplayTest.cpp | 409 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F() 413 ui::RenderIntent::COLORIMETRIC}); in TEST_F() 417 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F() 423 ui::RenderIntent::TONE_MAP_COLORIMETRIC)) in TEST_F() 427 ui::RenderIntent::TONE_MAP_COLORIMETRIC}); in TEST_F() 431 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F() 446 ui::RenderIntent::TONE_MAP_COLORIMETRIC}); in TEST_F() 450 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay->getState().renderIntent); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_GetBestColorModeTest.cpp | 28 using hal::RenderIntent; 37 std::vector<ui::RenderIntent> renderIntents) { in addHwcColorModesMapping() 43 void setInputRenderIntent(ui::RenderIntent renderIntent) { mInputRenderIntent = renderIntent; } in setInputRenderIntent() 61 ui::RenderIntent mOutRenderIntent; 65 ui::RenderIntent mInputRenderIntent; 67 std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>> mHwcColorModes; 72 std::vector<ui::RenderIntent>(1, RenderIntent::COLORIMETRIC)); in TEST_F() 74 setInputRenderIntent(ui::RenderIntent::COLORIMETRIC); in TEST_F() 81 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mOutRenderIntent); in TEST_F() 86 std::vector<ui::RenderIntent>(1, RenderIntent::COLORIMETRIC)); in TEST_F() [all …]
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 29 using hal::RenderIntent; 49 std::vector<RenderIntent>({RenderIntent::COLORIMETRIC})), in setupComposerCallExpectations() 53 RenderIntent::COLORIMETRIC)) in setupComposerCallExpectations()
|
/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; 64 const ui::ColorMode mode, const ui::RenderIntent intent); 72 ui::RenderIntent renderIntent; 75 static ColorModeKey getColorModeKey(ui::Dataspace dataspace, ui::RenderIntent intent) { in getColorModeKey()
|
D | OutputCompositionState.h | 116 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
|
/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*));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayColorProfile.h | 55 virtual bool hasRenderIntent(ui::RenderIntent) const = 0; 62 virtual void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent, 64 ui::RenderIntent* outIntent) const = 0;
|
D | DisplayColorProfileCreationArgs.h | 41 using HwcColorModes = std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>>;
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 27 using android::ui::RenderIntent; 329 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent() 331 case RenderIntent::COLORIMETRIC: in decodeRenderIntent() 333 case RenderIntent::ENHANCE: in decodeRenderIntent() 335 case RenderIntent::TONE_MAP_COLORIMETRIC: in decodeRenderIntent() 337 case RenderIntent::TONE_MAP_ENHANCE: in decodeRenderIntent()
|
/frameworks/native/libs/tonemap/include/tonemap/ |
D | tonemap.h | 74 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent = 75 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC;
|
/frameworks/native/libs/shaders/include/shaders/ |
D | shaders.h | 103 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent = 104 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC);
|
/frameworks/native/services/surfaceflinger/ |
D | ScreenCaptureOutput.cpp | 86 auto renderIntent = static_cast<ui::RenderIntent>(clientCompositionDisplay.renderIntent); in generateClientCompositionDisplaySettings() 87 if (mDimInGammaSpaceForEnhancedScreenshots && renderIntent != ui::RenderIntent::COLORIMETRIC && in generateClientCompositionDisplaySettings() 88 renderIntent != ui::RenderIntent::TONE_MAP_COLORIMETRIC) { in generateClientCompositionDisplaySettings()
|
/frameworks/native/libs/shaders/tests/ |
D | shaders_test.cpp | 62 RenderIntent::COLORIMETRIC); in TEST_F() 85 RenderIntent::COLORIMETRIC); in TEST_F()
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | DisplaySettings.h | 87 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent = 88 aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_COLORIMETRIC;
|
/frameworks/native/libs/renderengine/skia/filters/ |
D | LinearEffect.h | 51 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent);
|
D | LinearEffect.cpp | 47 aidl::android::hardware::graphics::composer3::RenderIntent renderIntent) { in createLinearEffectShader()
|
/frameworks/native/libs/ui/include/ui/ |
D | DebugUtils.h | 39 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
|
D | GraphicTypes.h | 43 using android::hardware::graphics::common::V1_1::RenderIntent;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DebugUtils.h | 39 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
|
/frameworks/native/libs/renderengine/tests/ |
D | DisplaySettingsTest.cpp | 65 a.renderIntent = aidl::android::hardware::graphics::composer3::RenderIntent::TONE_MAP_ENHANCE; in TEST()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 783 public enum RenderIntent { enum in ColorSpace 1266 return connect(source, destination, RenderIntent.PERCEPTUAL); in connect() 1291 @NonNull RenderIntent intent) { in connect() 1322 return connect(source, RenderIntent.PERCEPTUAL); in connect() 1343 public static Connector connect(@NonNull ColorSpace source, @NonNull RenderIntent intent) { in connect() 3960 @NonNull private final RenderIntent mIntent; 3971 @NonNull RenderIntent intent) { 3988 @NonNull RenderIntent intent, @Nullable @Size(3) float[] transform) { 4003 @NonNull ColorSpace destination, @NonNull RenderIntent intent) { 4004 if (intent != RenderIntent.ABSOLUTE) return null; [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 32 using android::hardware::graphics::common::V1_1::RenderIntent; 93 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent)); 124 MOCK_METHOD3(getRenderIntents, Error(Display, ColorMode, std::vector<RenderIntent>*));
|
/frameworks/native/libs/ui/include_types/ui/ |
D | GraphicTypes.h | 43 using android::hardware::graphics::common::V1_1::RenderIntent;
|