Companion

object Companion

Types

Link copied to clipboard
data class OptimizationResult(val node: ViewHierarchyTreeNode?, val promotedChildren: List<ViewHierarchyTreeNode>)

Functions

Link copied to clipboard

Collect all clickable and enabled elements in the view hierarchy. This is a flat extraction, not an optimization.

Link copied to clipboard

Filter out elements that are outside the bounds of the screen.

Link copied to clipboard

Compute the percentage of the bounds that is visible on the screen.

Link copied to clipboard

Check if a view hierarchy element is interactable.