Responsive Pane Controller Impl
Default controller using ResponsiveDrawerResizeStrategy for width-based drawer transitions.
Call initialize before forwarding gesture or layout callbacks. Use the owning layout's public APIs for normal state, configuration, and outside-touch changes.
Types
Properties
Strategy used for subsequent layout, drag, and state operations.
Current settled state read directly from currentBehaviorStrategy.
Whether the most recent intercepted touch-down was within the drawer.
Whether content outside an opened drawer may receive interaction.
Listener for width changes, receiving a nullable drawer and normalized slide progress.
Listener for transition-end notifications. The drawer argument may be null if unavailable.
Cached visual interpolation concept; refreshed by getElevationConcept when configurations change.
Layout associated by initialize; accessing it before initialization throws.
Functions
Advances gesture settling for viewGroup and schedules further frames when needed.
Returns the strategy's current settled pane state.
Returns or regenerates the visual interpolation concept from both state configurations.
Returns the visual and width configuration for paneState.
Associates this controller with responsivePaneLayout and initializes gestures and presets.
Updates the associated responsivePaneLayout for newConfig.
Resizes the associated drawer by slideOffset pixels.
Sets the controller's outside-touch policy to enabled.
Stores responsiveConfig for paneState on viewGroup.
Reapplies the current strategy's constraints to view.