SeslBottomFadingEdgeOverrides

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

Types

Link copied to clipboard
annotation class BottomSlot
Annotation for bottom slot index parameters.
Link copied to clipboard
class Builder
Builder for constructing a SeslBottomFadingEdgeOverrides instance.
Link copied to clipboard
Configuration parameters for a specific bottom slot override.

Properties

Link copied to clipboard
An empty set of bottom fading edge overrides.
Link copied to clipboard
Constant representing an unspecified fading edge height.
Link copied to clipboard
val SLOT_BOTTOM: Int = 0
Slot index for standard bottom fading edge.
Link copied to clipboard
Slot index for extra bottom fading edge.
Link copied to clipboard
Slot index for extra bottom fading edge when navigation bar is present.
Link copied to clipboard
Slot index for bottom fading edge when navigation bar is present.
Link copied to clipboard
Slot index for bottom fading edge when taskbar is present.

Functions

Link copied to clipboard
@Nullable
open fun getSlot(slot: Int): @Nullable SeslBottomFadingEdgeOverrides.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.