ColorTransformationMode

The possible modes for determining the color transformation phase.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Fixed(phase: Float) : ColorTransformationMode

The colour transformation phase is a fixed value (between 0 and 1)

Link copied to clipboard
data class SolarAltitude(minAngle: Float, maxAngle: Float, interval: Long = 30, timeUnit: TimeUnit = TimeUnit.SECONDS, epochTimestampSecondsSource: EpochTimestampSecondsSource = EpochTimestampSecondsSource.Current) : ColorTransformationMode

The color transformation phase depends on the solar altitude.

Link copied to clipboard
data class TimeOfDay(morning: Float, evening: Float, duration: Float, interval: Long = 30, timeUnit: TimeUnit = TimeUnit.SECONDS, hourOfTheDaySource: HourOfTheDaySource = HourOfTheDaySource.System()) : ColorTransformationMode

The color transformation phase depends on the time of day.

Link copied to clipboard
data class UserInterfaceStyle(unspecified: Float, light: Float, dark: Float) : ColorTransformationMode

The colour transformation is based on the user interface style.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)