Home
last modified time | relevance | path

Searched refs:hdrCapabilities (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayColorProfileCreationArgs.h47 HdrCapabilities hdrCapabilities; member
79 DisplayColorProfileCreationArgsBuilder& setHdrCapabilities(HdrCapabilities&& hdrCapabilities) { in setHdrCapabilities() argument
80 mArgs.hdrCapabilities = std::move(hdrCapabilities); in setHdrCapabilities()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java319 public Display.HdrCapabilities hdrCapabilities; field in DisplayDeviceInfo
518 || !Objects.equals(hdrCapabilities, other.hdrCapabilities) in diff()
562 hdrCapabilities = other.hdrCapabilities; in copyFrom()
605 sb.append(", hdrCapabilities ").append(hdrCapabilities); in toString()
DLogicalDisplay.java520 mBaseDisplayInfo.hdrCapabilities = deviceInfo.hdrCapabilities; in updateLocked()
DLocalDisplayAdapter.java312 changed |= updateHdrCapabilitiesLocked(dynamicInfo.hdrCapabilities); in updateDisplayPropertiesLocked()
687 mInfo.hdrCapabilities = mHdrCapabilities; in getDisplayDeviceInfoLocked()
/frameworks/native/libs/gui/aidl/android/gui/
DDynamicDisplayInfo.aidl34 HdrCapabilities hdrCapabilities;
/frameworks/base/core/java/android/view/
DDisplayInfo.java227 public Display.HdrCapabilities hdrCapabilities; field in DisplayInfo
441 && Objects.equals(hdrCapabilities, other.hdrCapabilities) in equals()
503 hdrCapabilities = other.hdrCapabilities; in copyFrom()
568 hdrCapabilities = source.readParcelable(null, android.view.Display.HdrCapabilities.class); in readFromParcel()
637 dest.writeParcelable(hdrCapabilities, flags); in writeToParcel()
793 int[] types = hdrCapabilities != null ? hdrCapabilities.getSupportedHdrTypes() : null; in isHdr()
875 sb.append(hdrCapabilities); in toString()
DDisplay.java1334 if (mDisplayInfo.hdrCapabilities == null) { in getHdrCapabilities()
1357 mDisplayInfo.hdrCapabilities.mMaxLuminance, in getHdrCapabilities()
1358 mDisplayInfo.hdrCapabilities.mMaxAverageLuminance, in getHdrCapabilities()
1359 mDisplayInfo.hdrCapabilities.mMinLuminance); in getHdrCapabilities()
1397 HdrCapabilities hdrCapabilities = getHdrCapabilities(); in isHdr() local
1398 if (hdrCapabilities == null) { in isHdr()
1401 return !(hdrCapabilities.getSupportedHdrTypes().length == 0); in isHdr()
DSurfaceControl.java1760 public Display.HdrCapabilities hdrCapabilities; field in SurfaceControl.DynamicDisplayInfo
1775 + ", hdrCapabilities=" + hdrCapabilities in toString()
1791 && Objects.equals(hdrCapabilities, that.hdrCapabilities) in equals()
1798 renderFrameRate, activeColorMode, hdrCapabilities); in hashCode()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp196 std::vector<ui::Hdr> types = args.hdrCapabilities.getSupportedHdrTypes(); in DisplayColorProfile()
216 float minLuminance = args.hdrCapabilities.getDesiredMinLuminance(); in DisplayColorProfile()
217 float maxLuminance = args.hdrCapabilities.getDesiredMaxLuminance(); in DisplayColorProfile()
218 float maxAverageLuminance = args.hdrCapabilities.getDesiredMaxAverageLuminance(); in DisplayColorProfile()
/frameworks/native/libs/ui/include/ui/
DDynamicDisplayInfo.h42 HdrCapabilities hdrCapabilities; member
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java132 mDisplayInfo.hdrCapabilities = new Display.HdrCapabilities(hdrTypesWithDv, 0, 0, 0); in testGetReportedHdrTypes_returns_mode_specific_hdr_types()
157 mDisplayInfo.hdrCapabilities = new Display.HdrCapabilities(hdrTypesWithDv, 0, 0, 0); in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types()
486 Display.HdrCapabilities hdrCapabilities = new Display.HdrCapabilities(hdrTypes, 0, 0, 0); in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy() local
488 int[] hdrTypesCopy = hdrCapabilities.getSupportedHdrTypes(); in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy()
490 assertArrayEquals(hdrTypes, hdrCapabilities.getSupportedHdrTypes()); in testHdrCapabilitiesGetSupportedHdrTypesReturnsCopy()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_ExcludeDolbyVisionTest.cpp99 std::vector<ui::Hdr> displayHdrTypes = info.hdrCapabilities.getSupportedHdrTypes();
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java406 || !Objects.equals(first.hdrCapabilities, second.hdrCapabilities) in calculateDisplayInfoDiff()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h314 HdrCapabilities hdrCapabilities; member
DDisplayDevice.cpp95 .setHdrCapabilities(std::move(args.hdrCapabilities))
DSurfaceFlinger.cpp1216 info->hdrCapabilities = filterOut4k30(display->getHdrCapabilities()); in getDynamicDisplayInfoInternal()
3745 getHwComposer().getHdrCapabilities(*id, &creationArgs.hdrCapabilities); in setupNewDisplayDeviceInternal()
9870 gui::HdrCapabilities& hdrCapabilities = outInfo->hdrCapabilities; in getDynamicDisplayInfoInternal() local
9871 hdrCapabilities.supportedHdrTypes.clear(); in getDynamicDisplayInfoInternal()
9872 hdrCapabilities.supportedHdrTypes.reserve(info.hdrCapabilities.getSupportedHdrTypes().size()); in getDynamicDisplayInfoInternal()
9873 for (const auto& hdr : info.hdrCapabilities.getSupportedHdrTypes()) { in getDynamicDisplayInfoInternal()
9874 hdrCapabilities.supportedHdrTypes.push_back(static_cast<int32_t>(hdr)); in getDynamicDisplayInfoInternal()
9876 hdrCapabilities.maxLuminance = info.hdrCapabilities.getDesiredMaxLuminance(); in getDynamicDisplayInfoInternal()
9877 hdrCapabilities.maxAverageLuminance = info.hdrCapabilities.getDesiredMaxAverageLuminance(); in getDynamicDisplayInfoInternal()
9878 hdrCapabilities.minLuminance = info.hdrCapabilities.getDesiredMinLuminance(); in getDynamicDisplayInfoInternal()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java634 display.dynamicInfo.hdrCapabilities = initialHdrCapabilities; in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
646 assertThat(displayDeviceInfo.hdrCapabilities).isEqualTo(initialHdrCapabilities); in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
651 display.dynamicInfo.hdrCapabilities = changedHdrCapabilities; in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
664 assertThat(displayDeviceInfo.hdrCapabilities).isEqualTo(changedHdrCapabilities); in testAfterDisplayChange_HdrCapabilitiesAreUpdated()
1337 dynamicInfo.hdrCapabilities = new Display.HdrCapabilities(new int[0],
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2640 types.reserve(ginfo.hdrCapabilities.supportedHdrTypes.size()); in getDynamicDisplayInfoInternal()
2641 for (const auto& hdr : ginfo.hdrCapabilities.supportedHdrTypes) { in getDynamicDisplayInfoInternal()
2644 outInfo->hdrCapabilities = HdrCapabilities(types, ginfo.hdrCapabilities.maxLuminance, in getDynamicDisplayInfoInternal()
2645 ginfo.hdrCapabilities.maxAverageLuminance, in getDynamicDisplayInfoInternal()
2646 ginfo.hdrCapabilities.minLuminance); in getDynamicDisplayInfoInternal()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp115 jfieldID hdrCapabilities; member
1385 env->SetObjectField(object, gDynamicDisplayInfoClassInfo.hdrCapabilities, in nativeGetDynamicDisplayInfo()
1386 convertHdrCapabilitiesToJavaObject(env, info.hdrCapabilities)); in nativeGetDynamicDisplayInfo()
2528 gDynamicDisplayInfoClassInfo.hdrCapabilities = in register_android_view_SurfaceControl()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4893 Display.HdrCapabilities hdrCapabilities = display.getHdrCapabilities();
4895 if (hdrCapabilities != null) {
4896 sinkHdrFormats = toBytes(hdrCapabilities.getSupportedHdrTypes());
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59189 Landroid/view/DisplayInfo;->hdrCapabilities:Landroid/view/Display$HdrCapabilities;