SeslFadingEdgeHelper
Contract for AGSL-based fading edge rendering used by SESL scrollable widgets.
Inheritors
Types
Link copied to clipboard
Provides scroll information to SeslFadingEdgeHelperImpl for computing fading edge heights.
Functions
Link copied to clipboard
Forces the bottom fading edge height to a clamped value.
Link copied to clipboard
Forces the top fading edge height to a clamped value.
Link copied to clipboard
Returns the bottom offset for the fading edge.
Link copied to clipboard
Hides or shows the bottom fading edge.
Link copied to clipboard
Hides or shows the top fading edge.
Link copied to clipboard
Returns whether fading edge rendering is enabled.
Link copied to clipboard
Link copied to clipboard
abstract fun renderFadingEffect(canvas: Canvas, scrollInfoProvider: SeslFadingEdgeHelper.ScrollInfoProvider)
Renders the fading edge effect onto the canvas using scroll info from the provider.
Link copied to clipboard
Sets whether top fading edge is allowed when edge-to-edge mode is not active.
Link copied to clipboard
abstract fun setBottomFadingEdgeOverrides(seslBottomFadingEdgeOverrides: SeslBottomFadingEdgeOverrides)
Sets bottom fading edge height and interpolator overrides.
Link copied to clipboard
Sets the bottom offset for the fading edge.
Link copied to clipboard
Sets an overlay color for fading edges.
Sets the color for fading edge rendering with an optional completion callback.
Link copied to clipboard
Enables or disables fading edge rendering.
Enables or disables fading edge rendering with top/bottom extend flags.
Enables or disables fading edge rendering with specific top and bottom heights.
abstract fun setFadingEdgeEnabled(enabled: Boolean, topHeight: Int, bottomHeight: Int, unused: Boolean)
Enables or disables fading edge rendering with specific heights and unused flag.
Link copied to clipboard
Sets whether legacy transfer mode should be forced.
Link copied to clipboard
Sets the target view for fading edge rendering.
Link copied to clipboard
Sets top fading edge height and interpolator overrides.
Link copied to clipboard
Sets whether the bottom fading edge should align to the window bottom.