SeslProjectionView

Container view that hosts projection background items for items inside floating toolbars.

Parameters

context

The Context the view is running in.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
inner class SeslProjectionBackgroundView(context: Context, blurElevationPolicy: SeslFloatingBlurElevationPolicy, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : View, BlurSupportable, MaterialLogTag

Individual projection background item supporting blur effects and theme drawables.

Properties

Functions

Link copied to clipboard

Registers an animator listener for projection view alpha animation.

Link copied to clipboard

Forces hiding a projection background position type.

Link copied to clipboard

Cancels running elevation and blur animations.

Link copied to clipboard

Returns the projection background view for a position type.

Link copied to clipboard

Returns the parent FloatingGroupLayout container safely.

Link copied to clipboard
fun getVisibleReferenceViews(referGroupView: List<View>?, referView: View?, skipVisibleCheck: Boolean): List<View>?

Filters visible reference views for a position type.

Link copied to clipboard

Restores visibility for a projection background position type.

Unregisters pre-draw animation listener.

Link copied to clipboard

Resets cached previous position rectangles.

Link copied to clipboard
fun sendFloatingAwareStartCallbackIfNeed(callbackType: Int, force: Boolean = false)

Sends callbacks to FloatingAware for background show/hide.

Link copied to clipboard

Sets animation config on projection views.

Link copied to clipboard
fun setElevation(elevation: Float?)

Sets elevation on all projection background views.

Link copied to clipboard
fun setElevationAndBlur(newElevation: Float, skipAnimation: Boolean)

Animates elevation and applies blur curves.

Link copied to clipboard
fun startProjectionViewAlphaAnimation(toValue: Float, immediately: Boolean = false)

Animates projection view container alpha.

Link copied to clipboard

Shows or hides item projection backgrounds.