public class

DisplayMode

extends Object
implements Parcelable
java.lang.Object
   ↳ lineageos.hardware.DisplayMode

Class Overview

Display Modes API A device may implement a list of preset display modes for different viewing intents, such as movies, photos, or extra vibrance. These modes may have multiple components such as gamma correction, white point adjustment, etc, but are activated by a single control point. This API provides support for enumerating and selecting the modes supported by the hardware. A DisplayMode is referenced by it's identifier and carries an associated name (up to the user to translate this value).

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public final int id
public final String name
Public Constructors
DisplayMode(int id, String name)
Public Methods
int describeContents()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public final int id

added in API level 2

public final String name

added in API level 2

Public Constructors

public DisplayMode (int id, String name)

added in API level 2

Parameters
id int
name String

Public Methods

public int describeContents ()

added in API level 2

Returns
int

public void writeToParcel (Parcel out, int flags)

added in API level 2

Parameters
out Parcel
flags int