SeslTopFadingEdgeOverrides

SESL-specific fading edge height and interpolator overrides for the top edge.

Types

Link copied to clipboard
class Builder
Builder for constructing a SeslTopFadingEdgeOverrides instance.
Link copied to clipboard
Configuration parameters for a specific top slot override.
Link copied to clipboard
annotation class TopSlot
Annotation for top slot index parameters.

Properties

Link copied to clipboard
An empty set of top fading edge overrides.
Link copied to clipboard
Constant representing an unspecified fading edge height.
Link copied to clipboard
val SLOT_COUNT: Int = 4
Link copied to clipboard
val SLOT_TOP: Int = 0
Slot index for standard top fading edge.
Link copied to clipboard
Slot index for extra top fading edge.
Link copied to clipboard
Slot index for extra top fading edge when status bar is present.
Link copied to clipboard
Slot index for top fading edge when status bar is present.

Functions

Link copied to clipboard
@Nullable
open fun getSlot(slot: Int): @Nullable SeslTopFadingEdgeOverrides.SlotOverride
Returns the SlotOverride for the specified slot index, or null if unset.
Link copied to clipboard
open fun isEmpty(): Boolean
Returns whether no slot overrides are configured.
Link copied to clipboard
open fun resolveHeight(slot: Int, defaultHeight: Int): Int
Resolves the height for the specified slot, falling back to [defaultHeight] if unset.
Link copied to clipboard
open fun resolveInterpolator(slot: Int): @Nullable Array<Float>
Resolves the interpolator control points for the specified slot.