Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplayColorProfile.h41 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()
DOutputCompositionState.h48 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/
DDisplayTest.cpp147 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 …]
DMockHWComposer.h40 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));
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h100 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 …]
DRenderArea.h25 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;
DDisplayDevice.cpp162 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/base/tools/preload2/src/com/android/preload/
DMain.java36 import com.android.preload.ui.IUI;
37 import com.android.preload.ui.SequenceUI;
38 import com.android.preload.ui.SwingUI;
76 private IUI ui; field in Main
117 public Main(IUI ui) { in Main() argument
118 this.ui = ui; in Main()
149 ui.prepare(clientListModel, dataTableModel, actions); in Main()
157 SequenceUI ui = new SequenceUI(); in createSequencedMain() local
158 Main main = new Main(ui); in createSequencedMain()
163 ui.choice("#" + it.next()); // Device. in createSequencedMain()
[all …]
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.cpp269 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/base/packages/SystemUI/src/com/android/systemui/
DSystemUISecondaryUserService.java43 for (SystemUI ui: services) { in dump()
44 if (ui != null) { in dump()
45 pw.println("dumping service: " + ui.getClass().getName()); in dump()
46 ui.dump(fd, pw, args); in dump()
51 for (SystemUI ui: services) { in dump()
52 if (ui != null) { in dump()
53 String name = ui.getClass().getName(); in dump()
55 ui.dump(fd, pw, args); in dump()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplayColorProfile.h32 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/
DDescription.cpp26 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/
DDisplayColorProfile.h46 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/
DAudioPackage6.mk15 …$(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 …]
DAudioPackage9.mk19 …$(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 …]
DAudioPackage11.mk19 …$(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 …]
DAudioPackage10.mk19 …$(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 …]
DAudioPackage5.mk16 $(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 …]
DAudioTv.mk18 …$(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
DAudioPackage8.mk19 …$(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 …]
DAudioPackage7.mk17 …$(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 …]
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h184 Vector<ui::ColorMode>* outColorModes) = 0;
186 ui::DisplayPrimaries& primaries) = 0;
187 virtual ui::ColorMode getActiveColorMode(const sp<IBinder>& display) = 0;
189 ui::ColorMode colorMode) = 0;
215 bool& outCapturedSecureLayers, const ui::Dataspace reqDataspace,
216 const ui::PixelFormat reqPixelFormat, Rect sourceCrop,
245 return captureScreen(display, outBuffer, outIgnored, ui::Dataspace::V0_SRGB,
246 ui::PixelFormat::RGBA_8888, sourceCrop, reqWidth, reqHeight,
250 virtual status_t captureScreen(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace,
267 const ui::Dataspace reqDataspace, const ui::PixelFormat reqPixelFormat,
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h46 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/
DHWComposer.h67 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/
DDeviceInfo.cpp95 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()

12345678910>>...12