Constructs a new CollectionViewFocusManager instance.
The collection view associated with this focus manager.
PrivatecollectionThe collection view instance associated with this focus manager.
The focus rectangle node used to visually indicate the focused item.
PrivatefocusThe current focus information.
PrivatefocusThe current percentage of focus animation completion.
PrivateisWhether the focus rectangle is currently animating.
PrivateisWhether the focus rectangle is currently visible.
PrivatelastPrivatelastThe last spoken row index and item index for text-to-speech feedback.
PrivatenextThe next focus information for transitioning focus.
PrivatenullA null focus information object used as a fallback.
PrivatetextInjects the text-to-speech manager for providing audio feedback on focus changes.
Applies the view status to the specified cell view.
The row index of the cell.
The item index of the cell.
Whether the cell is focused.
Applies focus to the currently focused row in the collection view.
Whether the row is focused.
PrivatecreateCreates the focus rectangle node with default properties.
Renders the next focus info.
Renders the focus rectangle while transitioning between items.
The percentage of focus animation completion.
Resets focus manager state to initial values. Called when the collection view is cleared (e.g. DataSourceChangeType.Clear).
Sets the focus information and renders the focus indicator.
The focus information to set and render.
Marks the focus transition as complete and applies the focus to the row.
Suppresses or restores focus indicator visibility without changing committed focus.
Optionalscale: numberSets the next focus information for transitioning focus.
The next focus information.
PrivatespeakPrivateupdateUpdates the appearance of the focus rectangle based on the animation progress.
The percentage of focus animation completion.
Updates the visibility of the focus rectangle based on the focus chain state.
CollectionViewFocusManagermanages the focus rectangle and animations for a collection view. It handles focus transitions, rendering, and applying focus to rows and items.