/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 44 std::ostream& operator<<(std::ostream& os, const ColorMode& value) { in operator <<() 63 using ui::ColorMode; 127 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() 132 ProfileFactory& addColorModeRenderIntents(ColorMode colorMode, in addColorModeRenderIntents() 149 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::COLORIMETRIC) in createProfileWithBT2020ColorModeSupport() 150 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, RenderIntent::ENHANCE) in createProfileWithBT2020ColorModeSupport() 151 .addColorModeRenderIntent(ColorMode::DISPLAY_BT2020, VendorRenderIntent) in createProfileWithBT2020ColorModeSupport() 159 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::COLORIMETRIC) in createProfileWithSRGBColorModeSupport() 160 .addColorModeRenderIntent(ColorMode::SRGB, RenderIntent::ENHANCE) in createProfileWithSRGBColorModeSupport() 161 .addColorModeRenderIntent(ColorMode::SRGB, VendorRenderIntent) in createProfileWithSRGBColorModeSupport() [all …]
|
D | DisplayTest.cpp | 147 ASSERT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); in TEST_F() 152 mDisplay.setColorMode(ui::ColorMode::NATIVE, ui::Dataspace::UNKNOWN, in TEST_F() 155 EXPECT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); 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() 178 virtualDisplay.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F() 181 EXPECT_EQ(ui::ColorMode::NATIVE, virtualDisplay.getState().colorMode); in TEST_F()
|
D | MockHWComposer.h | 61 MOCK_CONST_METHOD2(getRenderIntents, std::vector<ui::RenderIntent>(DisplayId, ui::ColorMode)); 81 MOCK_CONST_METHOD1(getColorModes, std::vector<ui::ColorMode>(DisplayId)); 82 MOCK_METHOD3(setActiveColorMode, status_t(DisplayId, ui::ColorMode, ui::RenderIntent));
|
D | OutputTest.cpp | 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() 220 mOutput.editState().colorMode = ui::ColorMode::DISPLAY_P3; in TEST_F() 224 mOutput.setColorMode(ui::ColorMode::DISPLAY_P3, ui::Dataspace::DISPLAY_P3, in TEST_F()
|
/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 Dataspace colorModeToDataspace(ColorMode mode) { in colorModeToDataspace() 70 case ColorMode::SRGB: in colorModeToDataspace() [all …]
|
/frameworks/native/libs/ui/ |
D | DebugUtils.cpp | 25 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/tests/ |
D | Credentials_test.cpp | 21 using ui::ColorMode; 196 ASSERT_NE(static_cast<ui::ColorMode>(BAD_VALUE), in TEST_F() 203 Vector<ui::ColorMode> outColorModes; in TEST_F() 229 return SurfaceComposerClient::setActiveColorMode(display, ui::ColorMode::NATIVE); in TEST_F() 332 Vector<ColorMode> colorModes; in TEST_F() 334 for (ColorMode colorMode : colorModes) { in TEST_F() 336 case ColorMode::DISPLAY_P3: in TEST_F() 337 case ColorMode::ADOBE_RGB: in TEST_F() 338 case ColorMode::DCI_P3: in TEST_F() 361 ColorMode colorMode = SurfaceComposerClient::getActiveColorMode(display); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DisplayColorProfile.h | 44 ui::Dataspace* outDataspace, ui::ColorMode* outMode, 63 const ui::ColorMode mode, const ui::RenderIntent intent); 70 ui::ColorMode colorMode;
|
D | OutputCompositionState.h | 86 ui::ColorMode colorMode{ui::ColorMode::NATIVE};
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplay.h | 46 MOCK_CONST_METHOD1(getColorModes, Error(std::vector<android::ui::ColorMode>*)); 50 Error(android::ui::ColorMode, std::vector<android::ui::RenderIntent>*)); 72 MOCK_METHOD2(setColorMode, Error(android::ui::ColorMode, android::ui::RenderIntent));
|
D | MockComposer.h | 33 using android::hardware::graphics::common::V1_2::ColorMode; 67 MOCK_METHOD2(getColorModes, Error(Display, std::vector<ColorMode>*)); 87 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent)); 114 MOCK_METHOD3(getRenderIntents, Error(Display, ColorMode, std::vector<RenderIntent>*));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 127 ui::ColorMode colorMode) const = 0; 167 virtual std::vector<ui::ColorMode> getColorModes(DisplayId displayId) const = 0; 169 virtual status_t setActiveColorMode(DisplayId displayId, ui::ColorMode mode, 265 ui::ColorMode colorMode) const override; 300 std::vector<ui::ColorMode> getColorModes(DisplayId displayId) const override; 302 status_t setActiveColorMode(DisplayId displayId, ui::ColorMode mode,
|
D | ComposerHal.h | 52 using types::V1_2::ColorMode; 107 virtual Error getColorModes(Display display, std::vector<ColorMode>* outModes) = 0; 138 virtual Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) = 0; 186 virtual Error getRenderIntents(Display display, ColorMode colorMode, 323 Error getColorModes(Display display, std::vector<ColorMode>* outModes) override; 353 Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) override; 398 Error getRenderIntents(Display display, ColorMode colorMode,
|
D | HWC2.h | 215 std::vector<android::ui::ColorMode>* outModes) const = 0; 219 android::ui::ColorMode colorMode, 253 android::ui::ColorMode mode, android::ui::RenderIntent renderIntent) = 0; 284 Error getColorModes(std::vector<android::ui::ColorMode>* outModes) const override; 287 Error getRenderIntents(android::ui::ColorMode colorMode, 315 Error setColorMode(android::ui::ColorMode mode,
|
D | ComposerHal.cpp | 356 std::vector<ColorMode>* outModes) in getColorModes() 376 for (types::V1_1::ColorMode colorMode : tmpModes) { in getColorModes() 377 outModes->push_back(static_cast<ColorMode>(colorMode)); in getColorModes() 387 for (types::V1_0::ColorMode colorMode : tmpModes) { in getColorModes() 388 outModes->push_back(static_cast<ColorMode>(colorMode)); in getColorModes() 589 Error Composer::setColorMode(Display display, ColorMode mode, in setColorMode() 596 ret = mClient_2_2->setColorMode_2_2(display, static_cast<types::V1_1::ColorMode>(mode), in setColorMode() 600 static_cast<types::V1_0::ColorMode>(mode)); in setColorMode() 985 Error Composer::getRenderIntents(Display display, ColorMode colorMode, in getRenderIntents() 1006 mClient_2_2->getRenderIntents(display, static_cast<types::V1_1::ColorMode>(colorMode), in getRenderIntents()
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 88 ColorMode color_mode; 152 ColorMode color_mode() const { return color_mode_; } in color_mode() 153 void set_color_mode(ColorMode mode) { color_mode_ = mode; } in set_color_mode() 185 ColorMode color_mode_; 227 Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) override; 240 Error setColorMode(Display display, ColorMode mode) override;
|
/frameworks/base/libs/hwui/renderthread/ |
D | IRenderPipeline.h | 45 enum class ColorMode { enum 69 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior, ColorMode colorMode,
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 133 using ui::ColorMode; 144 bool isWideColorMode(const ColorMode colorMode) { in isWideColorMode() 146 case ColorMode::DISPLAY_P3: in isWideColorMode() 147 case ColorMode::ADOBE_RGB: in isWideColorMode() 148 case ColorMode::DCI_P3: in isWideColorMode() 149 case ColorMode::BT2020: in isWideColorMode() 150 case ColorMode::DISPLAY_BT2020: in isWideColorMode() 151 case ColorMode::BT2100_PQ: in isWideColorMode() 152 case ColorMode::BT2100_HLG: in isWideColorMode() 154 case ColorMode::NATIVE: in isWideColorMode() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 187 Vector<ui::ColorMode>* outColorModes) = 0; 190 virtual ui::ColorMode getActiveColorMode(const sp<IBinder>& display) = 0; 192 ui::ColorMode colorMode) = 0;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicTypes.h | 37 using android::hardware::graphics::common::V1_2::ColorMode;
|
D | DebugUtils.h | 32 std::string decodeColorMode(android::ui::ColorMode colormode);
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicTypes.h | 37 using android::hardware::graphics::common::V1_2::ColorMode;
|
D | DebugUtils.h | 32 std::string decodeColorMode(android::ui::ColorMode colormode);
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 22 import android.print.PrintAttributes.ColorMode; 160 public @ColorMode int getColorModes() { in getColorModes() 562 public @NonNull Builder setColorModes(@ColorMode int colorModes, in setColorModes() 563 @ColorMode int defaultColorMode) { in setColorModes()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | DisplayColorProfile.h | 35 void(ui::Dataspace, ui::RenderIntent, ui::Dataspace*, ui::ColorMode*,
|