Package-level declarations

Types

Link copied to clipboard
data class LayoutPassEntry(val viewName: String, val measureCount: Int, val layoutCount: Int, val totalMeasureNs: Long, val totalLayoutNs: Long)

Aggregated measure and layout timings for one Android View class name.

Link copied to clipboard
data class LayoutPassSnapshot(val totalMeasureCount: Int = 0, val totalLayoutCount: Int = 0, val totalMeasureNs: Long = 0, val totalLayoutNs: Long = 0, val entries: List<LayoutPassEntry> = emptyList())

Immutable process-local snapshot of sampled View layout work.

Link copied to clipboard

Opt-in process-local sampler for Android View measure and layout calls.

Link copied to clipboard
class MountedNode(var vnode: VNode, val view: View, var children: List<MountedNode> = emptyList())

Mutable renderer-owned association between a committed VNode and its Android View.

Link copied to clipboard
data class NodeTypeBindingStats(val rebound: Int = 0, val patched: Int = 0, val skipped: Int = 0)

Binding outcome counters for one declarative node type.

Link copied to clipboard

Operations emitted by the renderer's reconciliation and binding pipeline.

Link copied to clipboard
data class RenderPatchRecord(val operation: RenderPatchOperation, val type: NodeType, val key: Any?, val parentKey: Any?, val index: Int, val moved: Boolean = false, val detail: String? = null, val toolingMetadata: UiNodeToolingMetadata? = null)

One ordered renderer operation for diagnostics and preview tooling.

Link copied to clipboard
data class RenderStats(val inserts: Int = 0, val reuses: Int = 0, val removals: Int = 0, val reboundNodes: Int = 0, val patchedNodes: Int = 0, val skippedBindings: Int = 0, val skippedSubtrees: Int = 0, val bindingsByType: Map<NodeType, NodeTypeBindingStats> = emptyMap())

Immutable reconciliation and binding counters for one render pass or merged subtree.

Link copied to clipboard
data class RenderStructureStats(val vnodeCount: Int = 0, val mountedNodeCount: Int = 0, val maxVNodeDepth: Int = 0, val maxMountedDepth: Int = 0)

Structural size snapshot for declarative and mounted renderer trees.

Link copied to clipboard
data class RenderTreeCommitEffect(val operation: AndroidViewOperation, val nodeKey: Any?, val commit: () -> Unit)

Deferred Android View lifecycle callback executed after structural commit.

Link copied to clipboard
data class RenderTreeCommitFailure(val operation: AndroidViewOperation?, val nodeKey: Any?, val cause: Throwable)

Isolated lifecycle failure captured during commit or disposal.

Link copied to clipboard
data class RenderTreeNode(val type: NodeType, val key: Any?, val toolingMetadata: UiNodeToolingMetadata? = null, val children: List<RenderTreeNode> = emptyList())

Platform-independent node in a diagnostic render-tree snapshot.

Link copied to clipboard
data class RenderTreeResult(val mountedNodes: List<MountedNode>, val reconcileResult: ReconcileResult<MountedNode>, val stats: RenderStats, val structure: RenderStructureStats = RenderStructureStats(), val warnings: List<String> = emptyList(), val tree: List<RenderTreeNode> = emptyList(), val patches: List<RenderPatchRecord> = emptyList(), val commitEffects: List<RenderTreeCommitEffect> = emptyList(), val commitFailures: List<RenderTreeCommitFailure> = emptyList())

Complete committed result returned by ViewTreeRenderer.renderInto.

Link copied to clipboard

Binding work performed for a mounted node selected for reuse.

Link copied to clipboard

Weak, tooling-only association between mounted Android Views and their declarative nodes.

Link copied to clipboard

Transactional renderer that reconciles immutable VNodes into one Android ViewGroup.