DisplayLuts


class DisplayLuts
kotlin.Any
   ↳ android.hardware.DisplayLuts

DisplayLuts provides the developers to apply Lookup Tables (Luts) to a android.view.SurfaceControl. Luts provides ways to control tonemapping for specific content. The general flow is as follows:

DisplayLuts flow

Summary

Nested classes

Public constructors

Create a DisplayLuts instance.

Public methods
Unit

Set a Lut to be applied.

Unit

Set Luts in order to be applied.

String

Public constructors

DisplayLuts

DisplayLuts()

Create a DisplayLuts instance.

Public methods

set

fun set(entry: DisplayLuts.Entry): Unit

Set a Lut to be applied.

Use either this or set(android.hardware.DisplayLuts.Entry,android.hardware.DisplayLuts.Entry). The function will replace any previously set lut(s).

Parameters
entry DisplayLuts.Entry: Either an 1D Lut or a 3D Lut This value cannot be null.

set

fun set(
    first: DisplayLuts.Entry,
    second: DisplayLuts.Entry
): Unit

Set Luts in order to be applied.

An 1D Lut and 3D Lut will be applied in order. Use either this or set(android.hardware.DisplayLuts.Entry). The function will replace any previously set lut(s)

Parameters
first DisplayLuts.Entry: An 1D Lut This value cannot be null.
second DisplayLuts.Entry: A 3D Lut This value cannot be null.

toString

fun toString(): String
Return
String a string representation of the object.