FocusOrderRule

constructor(screenDensity: Float, jumpThresholdDp: Float = 8.0f)

Parameters

screenDensity

Display density from DisplayMetrics.density. Used to convert jumpThresholdDp to pixels for comparison against A11yNode.bounds.

jumpThresholdDp

Upward movement that triggers a violation (default 8dp).