/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | DisplayColorProfile.h | 41 bool hasRenderIntent(ui::RenderIntent intent) const override; 42 bool hasLegacyHdrSupport(ui::Dataspace dataspace) const override; 43 void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent, 44 ui::Dataspace* outDataspace, ui::ColorMode* outMode, 45 ui::RenderIntent* outIntent) const override; 63 const ui::ColorMode mode, const ui::RenderIntent intent); 69 ui::Dataspace dataspace; 70 ui::ColorMode colorMode; 71 ui::RenderIntent renderIntent; 74 static ColorModeKey getColorModeKey(ui::Dataspace dataspace, ui::RenderIntent intent) { in getColorModeKey()
|
D | OutputCompositionState.h | 48 ui::Transform transform; 86 ui::ColorMode colorMode{ui::ColorMode::NATIVE}; 89 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC}; 92 ui::Dataspace dataspace{ui::Dataspace::UNKNOWN};
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 147 ASSERT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); in TEST_F() 148 ASSERT_EQ(ui::Dataspace::UNKNOWN, mDisplay.getState().dataspace); in TEST_F() 149 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F() 152 mDisplay.setColorMode(ui::ColorMode::NATIVE, ui::Dataspace::UNKNOWN, in TEST_F() 153 ui::RenderIntent::COLORIMETRIC); in TEST_F() 155 EXPECT_EQ(ui::ColorMode::NATIVE, mDisplay.getState().colorMode); in TEST_F() 156 EXPECT_EQ(ui::Dataspace::UNKNOWN, mDisplay.getState().dataspace); in TEST_F() 157 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F() 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() [all …]
|
D | MockHWComposer.h | 40 std::optional<DisplayId>(uint32_t, uint32_t, ui::PixelFormat*)); 46 ui::Dataspace)); 61 MOCK_CONST_METHOD2(getRenderIntents, std::vector<ui::RenderIntent>(DisplayId, ui::ColorMode)); 62 MOCK_METHOD2(getDataspaceSaturationMatrix, mat4(DisplayId, ui::Dataspace)); 64 status_t(DisplayId, ui::PixelFormat*, ui::Dataspace*, uint8_t*)); 81 MOCK_CONST_METHOD1(getColorModes, std::vector<ui::ColorMode>(DisplayId)); 82 MOCK_METHOD3(setActiveColorMode, status_t(DisplayId, ui::ColorMode, ui::RenderIntent));
|
D | OutputTest.cpp | 116 const ui::Transform transform{ui::Transform::ROT_180}; in TEST_F() 138 const ui::Size displaySize{200, 400}; in TEST_F() 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() 211 ui::RenderIntent::TONE_MAP_COLORIMETRIC); 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() 215 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mOutput.getState().renderIntent); 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() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 100 const ui::Transform& getTransform() const; 131 bool hasRenderIntent(ui::RenderIntent intent) const; 146 ui::Dataspace getCompositionDataSpace() const; 193 int w, int h, ui::Transform* tr); 245 std::unordered_map<ui::ColorMode, std::vector<ui::RenderIntent>> hwcColorModes; 253 ui::Transform::orientation_flags rotation = ui::Transform::ROT_0) 257 uint32_t reqHeight, ui::Dataspace reqDataSpace, 258 ui::Transform::orientation_flags rotation, bool allowSecureLayers = true) 265 const ui::Transform& getTransform() const override { return mDevice->getTransform(); } in getTransform() 284 if (getRotationFlags() & ui::Transform::ROT_90) { in needsFiltering() [all …]
|
D | RenderArea.h | 25 ui::Dataspace reqDataSpace, 26 ui::Transform::orientation_flags rotation = ui::Transform::ROT_0) 48 virtual const ui::Transform& getTransform() const = 0; 68 ui::Transform::orientation_flags getRotationFlags() const { return mRotationFlags; }; in getRotationFlags() 75 ui::Dataspace getReqDataSpace() const { return mReqDataSpace; } in getReqDataSpace() 86 const ui::Dataspace mReqDataSpace; 88 const ui::Transform::orientation_flags mRotationFlags;
|
D | DisplayDevice.cpp | 162 ui::Dataspace DisplayDevice::getCompositionDataSpace() const { in getCompositionDataSpace() 177 return ui::Transform::ROT_0; in displayStateOrientationToTransformOrientation() 179 return ui::Transform::ROT_90; in displayStateOrientationToTransformOrientation() 181 return ui::Transform::ROT_180; in displayStateOrientationToTransformOrientation() 183 return ui::Transform::ROT_270; in displayStateOrientationToTransformOrientation() 185 return ui::Transform::ROT_INVALID; in displayStateOrientationToTransformOrientation() 189 status_t DisplayDevice::orientationToTransfrom(int orientation, int w, int h, ui::Transform* tr) { in orientationToTransfrom() 191 if (flags == ui::Transform::ROT_INVALID) { in orientationToTransfrom() 199 mCompositionDisplay->setBounds(ui::Size(newWidth, newHeight)); in setDisplaySize() 213 ui::Transform R; in setProjection() [all …]
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestProperties.cpp | 269 const std::vector<android::ui::Dataspace> Hwc2TestDataspace::defaultDataspaces = { 270 android::ui::Dataspace::UNKNOWN, 273 const std::vector<android::ui::Dataspace> Hwc2TestDataspace::basicDataspaces = { 274 android::ui::Dataspace::UNKNOWN, 275 android::ui::Dataspace::V0_SRGB, 278 const std::vector<android::ui::Dataspace> Hwc2TestDataspace::completeDataspaces = { 279 android::ui::Dataspace::UNKNOWN, 280 android::ui::Dataspace::ARBITRARY, 281 android::ui::Dataspace::STANDARD_SHIFT, 282 android::ui::Dataspace::STANDARD_MASK, [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | DisplayColorProfile.h | 32 MOCK_CONST_METHOD1(hasRenderIntent, bool(ui::RenderIntent)); 33 MOCK_CONST_METHOD1(hasLegacyHdrSupport, bool(ui::Dataspace)); 35 void(ui::Dataspace, ui::RenderIntent, ui::Dataspace*, ui::ColorMode*, 36 ui::RenderIntent*));
|
/frameworks/native/libs/renderengine/ |
D | Description.cpp | 26 Description::TransferFunction Description::dataSpaceToTransferFunction(ui::Dataspace dataSpace) { in dataSpaceToTransferFunction() 27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction() 29 case ui::Dataspace::TRANSFER_ST2084: in dataSpaceToTransferFunction() 31 case ui::Dataspace::TRANSFER_HLG: in dataSpaceToTransferFunction() 33 case ui::Dataspace::TRANSFER_LINEAR: in dataSpaceToTransferFunction()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | DisplayColorProfile.h | 46 virtual bool hasRenderIntent(ui::RenderIntent) const = 0; 49 virtual bool hasLegacyHdrSupport(ui::Dataspace) const = 0; 53 virtual void getBestColorMode(ui::Dataspace dataspace, ui::RenderIntent intent, 54 ui::Dataspace* outDataspace, ui::ColorMode* outMode, 55 ui::RenderIntent* outIntent) const = 0;
|
/frameworks/base/data/sounds/ |
D | AudioPackage6.mk | 15 …$(LOCAL_PATH)/effects/ogg/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.og… 16 …$(LOCAL_PATH)/effects/ogg/KeypressStandard.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 17 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 18 …$(LOCAL_PATH)/effects/ogg/KeypressDelete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressDel… 19 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressIn… 20 …$(LOCAL_PATH)/effects/ogg/KeypressReturn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressRet… 21 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Video… 22 …$(LOCAL_PATH)/effects/material/ogg/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoSt… 23 …$(LOCAL_PATH)/effects/material/ogg/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/came… 24 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioPackage9.mk | 19 …$(LOCAL_PATH)/effects/ogg/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.og… 20 …$(LOCAL_PATH)/effects/ogg/KeypressStandard.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 21 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 22 …$(LOCAL_PATH)/effects/ogg/KeypressDelete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressDel… 23 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressIn… 24 …$(LOCAL_PATH)/effects/ogg/KeypressReturn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressRet… 25 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Video… 26 …$(LOCAL_PATH)/effects/material/ogg/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoSt… 27 …$(LOCAL_PATH)/effects/material/ogg/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/came… 28 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioPackage10.mk | 19 …$(LOCAL_PATH)/effects/ogg/Effect_Tick_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tic… 20 …$(LOCAL_PATH)/effects/ogg/KeypressStandard_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 21 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 22 …$(LOCAL_PATH)/effects/ogg/KeypressDelete_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 23 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypre… 24 …$(LOCAL_PATH)/effects/ogg/KeypressReturn_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 25 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/V… 26 …$(LOCAL_PATH)/effects/material/ogg/VideoStop_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Vid… 27 …$(LOCAL_PATH)/effects/material/ogg/camera_click_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/… 28 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioPackage11.mk | 19 …$(LOCAL_PATH)/effects/ogg/Effect_Tick_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tic… 20 …$(LOCAL_PATH)/effects/ogg/KeypressStandard_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 21 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 22 …$(LOCAL_PATH)/effects/ogg/KeypressDelete_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 23 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypre… 24 …$(LOCAL_PATH)/effects/ogg/KeypressReturn_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 25 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/V… 26 …$(LOCAL_PATH)/effects/material/ogg/VideoStop_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Vid… 27 …$(LOCAL_PATH)/effects/material/ogg/camera_click_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/… 28 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioPackage5.mk | 16 $(LOCAL_PATH)/effects/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.ogg \ 17 …$(LOCAL_PATH)/effects/KeypressStandard.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressStand… 18 …$(LOCAL_PATH)/effects/KeypressSpacebar.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressSpace… 19 …$(LOCAL_PATH)/effects/KeypressDelete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressDelete.… 20 …$(LOCAL_PATH)/effects/KeypressInvalid.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressInvali… 21 …$(LOCAL_PATH)/effects/KeypressReturn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressReturn.… 22 $(LOCAL_PATH)/effects/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoRecord.ogg \ 23 $(LOCAL_PATH)/effects/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoStop.ogg \ 24 $(LOCAL_PATH)/effects/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_click.ogg \ 25 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioTv.mk | 18 …$(LOCAL_PATH)/effects/ogg/KeypressDelete_120_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Key… 19 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid_120_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Ke… 20 …$(LOCAL_PATH)/effects/ogg/KeypressReturn_120_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Key… 21 …ts/ogg/KeypressSpacebar_120_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressSpacebar.ogg… 22 …cts/ogg/KeypressStandard_120_48k.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressStandard.ogg
|
D | AudioPackage7.mk | 17 …$(LOCAL_PATH)/effects/ogg/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.og… 18 …$(LOCAL_PATH)/effects/ogg/KeypressStandard_120.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 19 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar_120.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypr… 20 …$(LOCAL_PATH)/effects/ogg/KeypressDelete_120.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 21 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid_120.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypre… 22 …$(LOCAL_PATH)/effects/ogg/KeypressReturn_120.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Keypres… 23 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Video… 24 …$(LOCAL_PATH)/effects/material/ogg/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoSt… 25 …$(LOCAL_PATH)/effects/material/ogg/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/came… 26 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
D | AudioPackage8.mk | 19 …$(LOCAL_PATH)/effects/ogg/Effect_Tick.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Effect_Tick.og… 20 …$(LOCAL_PATH)/effects/ogg/KeypressStandard.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 21 …$(LOCAL_PATH)/effects/ogg/KeypressSpacebar.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressS… 22 …$(LOCAL_PATH)/effects/ogg/KeypressDelete.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressDel… 23 …$(LOCAL_PATH)/effects/ogg/KeypressInvalid.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressIn… 24 …$(LOCAL_PATH)/effects/ogg/KeypressReturn.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/KeypressRet… 25 …$(LOCAL_PATH)/effects/material/ogg/VideoRecord.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/Video… 26 …$(LOCAL_PATH)/effects/material/ogg/VideoStop.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/VideoSt… 27 …$(LOCAL_PATH)/effects/material/ogg/camera_click.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/came… 28 …$(LOCAL_PATH)/effects/ogg/camera_focus.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/ui/camera_focus.… [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 187 Vector<ui::ColorMode>* outColorModes) = 0; 189 ui::DisplayPrimaries& primaries) = 0; 190 virtual ui::ColorMode getActiveColorMode(const sp<IBinder>& display) = 0; 192 ui::ColorMode colorMode) = 0; 218 bool& outCapturedSecureLayers, const ui::Dataspace reqDataspace, 219 const ui::PixelFormat reqPixelFormat, Rect sourceCrop, 248 return captureScreen(display, outBuffer, outIgnored, ui::Dataspace::V0_SRGB, 249 ui::PixelFormat::RGBA_8888, sourceCrop, reqWidth, reqHeight, 253 virtual status_t captureScreen(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace, 270 const ui::Dataspace reqDataspace, const ui::PixelFormat reqPixelFormat, [all …]
|
D | SurfaceComposerClient.h | 130 Vector<ui::ColorMode>* outColorModes); 134 ui::DisplayPrimaries& outPrimaries); 137 static ui::ColorMode getActiveColorMode(const sp<IBinder>& display); 141 ui::ColorMode colorMode); 151 static status_t getCompositionPreference(ui::Dataspace* defaultDataspace, 152 ui::PixelFormat* defaultPixelFormat, 153 ui::Dataspace* wideColorGamutDataspace, 154 ui::PixelFormat* wideColorGamutPixelFormat); 392 float alpha, ui::Dataspace dataspace); 402 Transaction& setDataspace(const sp<SurfaceControl>& sc, ui::Dataspace dataspace); [all …]
|
/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>*)); 51 MOCK_METHOD2(getDataspaceSaturationMatrix, Error(android::ui::Dataspace, android::mat4*)); 61 Error(android::ui::PixelFormat*, android::ui::Dataspace*, uint8_t*)); 71 const android::sp<android::Fence>&, android::ui::Dataspace)); 72 MOCK_METHOD2(setColorMode, Error(android::ui::ColorMode, android::ui::RenderIntent));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 67 ui::PixelFormat* format) = 0; 79 ui::Dataspace dataspace) = 0; 126 virtual std::vector<ui::RenderIntent> getRenderIntents(DisplayId displayId, 127 ui::ColorMode colorMode) const = 0; 129 virtual mat4 getDataspaceSaturationMatrix(DisplayId displayId, ui::Dataspace dataspace) = 0; 133 ui::PixelFormat* outFormat, 134 ui::Dataspace* outDataspace, 167 virtual std::vector<ui::ColorMode> getColorModes(DisplayId displayId) const = 0; 169 virtual status_t setActiveColorMode(DisplayId displayId, ui::ColorMode mode, 170 ui::RenderIntent renderIntent) = 0; [all …]
|
/frameworks/base/libs/hwui/ |
D | DeviceInfo.cpp | 95 ui::Dataspace defaultDataspace, wcgDataspace; in queryWideColorGamutPreference() 96 ui::PixelFormat defaultPixelFormat, wcgPixelFormat; in queryWideColorGamutPreference() 102 case ui::Dataspace::DISPLAY_P3: in queryWideColorGamutPreference() 105 case ui::Dataspace::V0_SCRGB: in queryWideColorGamutPreference() 108 case ui::Dataspace::V0_SRGB: in queryWideColorGamutPreference() 116 case ui::PixelFormat::RGBA_8888: in queryWideColorGamutPreference() 119 case ui::PixelFormat::RGBA_FP16: in queryWideColorGamutPreference()
|