Home
last modified time | relevance | path

Searched refs:supportedHdrTypes (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_ExcludeDolbyVisionTest.cpp69 ASSERT_TRUE(std::any_of(displayModes[0].supportedHdrTypes.begin(), in TEST_F()
70 displayModes[0].supportedHdrTypes.end(), in TEST_F()
72 ASSERT_TRUE(displayModes[0].supportedHdrTypes.size() == 1); in TEST_F()
84 ASSERT_TRUE(std::any_of(displayModes[i].supportedHdrTypes.begin(), in TEST_F()
85 displayModes[i].supportedHdrTypes.end(), in TEST_F()
87 ASSERT_TRUE(std::any_of(displayModes[i].supportedHdrTypes.begin(), in TEST_F()
88 displayModes[i].supportedHdrTypes.end(), in TEST_F()
90 ASSERT_TRUE(displayModes[i].supportedHdrTypes.size() == 2); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java136 @Display.HdrCapabilities.HdrType int[] supportedHdrTypes) { in createMode() argument
138 vsyncRate, /* isSynthetic= */ false, alternativeRefreshRates, supportedHdrTypes); in createMode()
DLocalDisplayAdapter.java640 && hdrTypesEqual(mode.supportedHdrTypes, in findDisplayModeRecord()
1420 alternativeRefreshRates, mode.supportedHdrTypes);
/frameworks/base/core/java/android/view/
DDisplay.java1337 int[] supportedHdrTypes; in getHdrCapabilities() local
1340 supportedHdrTypes = Arrays.copyOf(modeSupportedHdrTypes, in getHdrCapabilities()
1350 supportedHdrTypes = new int[enabledTypesSet.size()]; in getHdrCapabilities()
1353 supportedHdrTypes[index++] = enabledType; in getHdrCapabilities()
1356 return new HdrCapabilities(supportedHdrTypes, in getHdrCapabilities()
2253 @HdrCapabilities.HdrType int[] supportedHdrTypes) { in Mode() argument
2255 supportedHdrTypes); in Mode()
2262 float[] alternativeRefreshRates, @HdrCapabilities.HdrType int[] supportedHdrTypes) { in Mode() argument
2264 supportedHdrTypes); in Mode()
2272 @HdrCapabilities.HdrType int[] supportedHdrTypes) { in Mode() argument
[all …]
DSurfaceControl.java1822 public int[] supportedHdrTypes; field in SurfaceControl.DisplayMode
1843 + ", supportedHdrTypes=" + Arrays.toString(supportedHdrTypes) in toString()
1861 && Arrays.equals(supportedHdrTypes, that.supportedHdrTypes) in equals()
1869 Arrays.hashCode(supportedHdrTypes)); in hashCode()
/frameworks/native/libs/gui/aidl/android/gui/
DHdrCapabilities.aidl23 int[] supportedHdrTypes;
DDisplayMode.aidl30 int[] supportedHdrTypes;
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayMode.h38 std::vector<ui::Hdr> supportedHdrTypes; member
/frameworks/native/libs/ui/include/ui/
DDisplayMode.h38 std::vector<ui::Hdr> supportedHdrTypes; member
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java259 displayMode.supportedHdrTypes = new int[0]; in testSupportedDisplayModesGetOverriddenWhenDisplayIsUpdated()
273 displayMode.supportedHdrTypes = new int[]{3, 2}; in testSupportedDisplayModesGetOverriddenWhenDisplayIsUpdated()
1437 mode.supportedHdrTypes = HDR_TYPES; in createFakeDisplayMode()
DDisplayManagerServiceTest.java428 displayMode.supportedHdrTypes = new int[]{1, 2};
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2622 std::transform(mode.supportedHdrTypes.begin(), mode.supportedHdrTypes.end(), in getDynamicDisplayInfoInternal()
2623 std::back_inserter(outMode.supportedHdrTypes), in getDynamicDisplayInfoInternal()
2640 types.reserve(ginfo.hdrCapabilities.supportedHdrTypes.size()); in getDynamicDisplayInfoInternal()
2641 for (const auto& hdr : ginfo.hdrCapabilities.supportedHdrTypes) { in getDynamicDisplayInfoInternal()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp134 jfieldID supportedHdrTypes; member
1317 const auto& types = config.supportedHdrTypes; in convertDisplayModeToJavaObject()
1324 env->SetObjectField(object, gDisplayModeClassInfo.supportedHdrTypes, typesArray); in convertDisplayModeToJavaObject()
2553 gDisplayModeClassInfo.supportedHdrTypes = in register_android_view_SurfaceControl()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp271 outMode.supportedHdrTypes.push_back(type); in excludeDolbyVisionIf4k30Present()
277 outMode.supportedHdrTypes.push_back(type); in excludeDolbyVisionIf4k30Present()
9853 std::transform(mode.supportedHdrTypes.begin(), mode.supportedHdrTypes.end(), in getDynamicDisplayInfoInternal()
9854 std::back_inserter(outMode.supportedHdrTypes), in getDynamicDisplayInfoInternal()
9871 hdrCapabilities.supportedHdrTypes.clear(); in getDynamicDisplayInfoInternal()
9872 hdrCapabilities.supportedHdrTypes.reserve(info.hdrCapabilities.getSupportedHdrTypes().size()); in getDynamicDisplayInfoInternal()
9874 hdrCapabilities.supportedHdrTypes.push_back(static_cast<int32_t>(hdr)); in getDynamicDisplayInfoInternal()