Home
last modified time | relevance | path

Searched refs:hdrTypes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DSyntheticModeManager.java81 int[] hdrTypes = entry.getValue(); in createAppSupportedModes()
84 new float[0], hdrTypes)); in createAppSupportedModes()
/frameworks/base/services/core/jni/
Dcom_android_server_display_DisplayControl.cpp49 ScopedIntArrayRO hdrTypes(env, jHdrTypes); in nativeOverrideHdrTypes() local
50 size_t numHdrTypes = hdrTypes.size(); in nativeOverrideHdrTypes()
55 hdrTypesVector.push_back(static_cast<ui::Hdr>(hdrTypes[i])); in nativeOverrideHdrTypes()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp370 void DisplayDevice::overrideHdrTypes(const std::vector<ui::Hdr>& hdrTypes) { in overrideHdrTypes() argument
371 mOverrideHdrTypes = hdrTypes; in overrideHdrTypes()
377 std::vector<ui::Hdr> hdrTypes = capabilities.getSupportedHdrTypes(); in getHdrCapabilities() local
379 hdrTypes = mOverrideHdrTypes; in getHdrCapabilities()
381 return HdrCapabilities(hdrTypes, capabilities.getDesiredMaxLuminance(), in getHdrCapabilities()
DDisplayDevice.h149 void overrideHdrTypes(const std::vector<ui::Hdr>& hdrTypes);
DSurfaceFlinger.h605 const std::vector<ui::Hdr>& hdrTypes);
1631 const std::vector<int32_t>& hdrTypes) override;
DSurfaceFlinger.cpp284 std::vector<ui::Hdr> hdrTypes; in filterOut4k30() local
287 hdrTypes.push_back(type); in filterOut4k30()
290 return {hdrTypes, displayHdrCapabilities.getDesiredMaxLuminance(), in filterOut4k30()
1834 const std::vector<ui::Hdr>& hdrTypes) { in overrideHdrTypes() argument
1843 display->overrideHdrTypes(hdrTypes); in overrideHdrTypes()
10051 const std::vector<int32_t>& hdrTypes) { in overrideHdrTypes() argument
10060 for (int32_t i : hdrTypes) { in overrideHdrTypes()
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java465 int[] hdrTypes = new int[]{1, 2, 3}; in testGetSupportedHdrTypesReturnsCopy() local
466 Display.Mode displayMode = new Display.Mode(0, 0, 0, 0, new float[0], hdrTypes); in testGetSupportedHdrTypesReturnsCopy()
470 assertArrayEquals(hdrTypes, displayMode.getSupportedHdrTypes()); in testGetSupportedHdrTypesReturnsCopy()
485 int[] hdrTypes = new int[]{1, 2, 3}; in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy() local
486 Display.HdrCapabilities hdrCapabilities = new Display.HdrCapabilities(hdrTypes, 0, 0, 0); in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy()
490 assertArrayEquals(hdrTypes, hdrCapabilities.getSupportedHdrTypes()); in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy()
/frameworks/native/libs/gui/aidl/android/gui/
DISurfaceComposer.aidl283 void overrideHdrTypes(IBinder display, in int[] hdrTypes); in overrideHdrTypes() argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp343 std::vector<Hwc2::Hdr> hdrTypes; in getHdrCapabilities() local
344 auto intError = mComposer.getHdrCapabilities(mId, &hdrTypes, &maxLuminance, in getHdrCapabilities()
353 HdrCapabilities(std::move(hdrTypes), maxLuminance, maxAverageLuminance, minLuminance); in getHdrCapabilities()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h795 const std::vector<ui::Hdr>& hdrTypes);
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2883 const std::vector<ui::Hdr>& hdrTypes) { in overrideHdrTypes() argument
2885 hdrTypesVector.reserve(hdrTypes.size()); in overrideHdrTypes()
2886 for (auto t : hdrTypes) { in overrideHdrTypes()