다음을 통해 공유


WindowManagerLayoutParams.DesiredHdrHeadroom Property

Definition

Get the desired amount of HDR headroom as set by #setDesiredHdrHeadroom(float) -or- Sets the desired about of HDR headroom to be used when rendering as a ratio of targetHdrPeakBrightnessInNits / targetSdrWhitePointInNits.

public virtual float DesiredHdrHeadroom { [Android.Runtime.Register("getDesiredHdrHeadroom", "()F", "GetGetDesiredHdrHeadroomHandler", ApiSince=35)] get; [Android.Runtime.Register("setDesiredHdrHeadroom", "(F)V", "GetSetDesiredHdrHeadroom_FHandler", ApiSince=35)] set; }
[<get: Android.Runtime.Register("getDesiredHdrHeadroom", "()F", "GetGetDesiredHdrHeadroomHandler", ApiSince=35)>]
[<set: Android.Runtime.Register("setDesiredHdrHeadroom", "(F)V", "GetSetDesiredHdrHeadroom_FHandler", ApiSince=35)>]
member this.DesiredHdrHeadroom : single with get, set

Property Value

The amount of HDR headroom set, or 0 for automatic/default behavior.

Attributes

Remarks

Property getter documentation:

Get the desired amount of HDR headroom as set by #setDesiredHdrHeadroom(float)

Java documentation for android.view.WindowManager.LayoutParams.getDesiredHdrHeadroom().

Property setter documentation:

Sets the desired about of HDR headroom to be used when rendering as a ratio of targetHdrPeakBrightnessInNits / targetSdrWhitePointInNits. Only applies when #setColorMode(int) is ActivityInfo#COLOR_MODE_HDR

Java documentation for android.view.WindowManager.LayoutParams.setDesiredHdrHeadroom(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to