List Popup Defaults
Properties
Content alpha enter spring (COUI main-menu enter alpha COUISpringForce response 0.35 / bounce 0.2, mapped by folmeSpring).
Content alpha exit spring; also the master timing for unmounting the popup (COUI main-menu exit alpha COUISpringForce response 0.25 / bounce 0). The Compose default visibility threshold avoids COUI's long invisible tap-blocking tail.
Extra clearance reserved above the navigation bar before the popup may be placed (COUI coui_popup_list_window_margin_bottom_barrier_with_navigation).
A PopupPositionProvider that anchors the popup to a corner of the anchor for context menus.
Default animation spec driving the background dim while entering.
Default animation spec driving the background dim while exiting.
Default dropdown PopupPositionProvider created by dropdownPositionProvider.
Scale enter spring (COUI main-menu enter COUISpringForce response 0.35 / bounce 0.2).
Scale exit spring (COUI main-menu exit scale COUISpringForce response 0.3 / bounce 0). COUI's exit is asymmetric: the scale settles on its own spring while AlphaExitAnimationSpec drives the faster fade and the unmount timing.
The horizontal margin a dropdown keeps from the window edges, so the menu never sits flush to a screen edge. Stands in for COUI's responsive-grid barrier, whose margin lives in the vendor responsiveui component; measured at 16dp on ColorOS 16.
Default maximum width of the popup window (COUI coui_popup_list_window_max_width). Also matches the upper clamp inside ListPopupColumn's width measurement.
Default minimum height the popup will occupy when measured. Used as the floor for the effective maxHeight and minHeight constraints during placement.
Default minimum width of the popup (COUI coui_popup_list_window_min_width). Also matches the lower clamp inside ListPopupColumn's width measurement.
Re-enter spring used when a cancelled back gesture restores the popup; matches FractionAnimationSpec.
Extra clearance reserved below the status bar before the popup may be placed (COUI coui_popup_list_window_margin_top_or_bottom_barrier).
Functions
Creates a PopupPositionProvider that anchors the popup directly below (or above when there is no room) the anchor, used by dropdown-style list popups.