Package-level declarations

Types

Link copied to clipboard
data class ChildTransform(val scale: Double, val offset: DoubleOffset = DoubleOffset.Zero)

Immutable uniform transform from one placed child's local coordinates into its parent's coordinates.

Link copied to clipboard

A node that supplies an additional uniform transform for each placed direct child's effective subtree.

Link copied to clipboard

A node whose effective descendants are clipped to this node's measured bounds for painting and pointer hit testing.

Link copied to clipboard

Owner-thread reasons for deferred declaration work, independent of retained layout invalidation.

Link copied to clipboard

Distinguishes structural region evaluation from a direct argument binding.

Link copied to clipboard

Actual lazy declaration work reported only while a runtime installs an observer.

Link copied to clipboard
interface ContentWorkNode

Optional reporting of actual lazy content invocations, excluding cached child reads. The runtime installs an observer only during diagnostics and clears it before disposal or monitor close. Assignment must not evaluate content, call application code, or throw. Disabled work emits nothing.

Link copied to clipboard

Optional retained projection for resources whose committed state belongs to a node attachment. Read after the shared frame cutoff on the owner thread, without measurement or painting. Returning null declines remote support; reading this property must not mutate state or acquire resources.

Link copied to clipboard

Deferred declaration capability evaluated before frame-cache selection, without forcing measurement. The runtime evaluates pending content parent-first and reconciles its returned children before geometry. Implementations clear reasons after successful evaluation; cached child access does not count as evaluation.

Link copied to clipboard
value class DirtyMask

Immutable set of phases affected by a property change.

Link copied to clipboard

A retained pipeline phase that can be invalidated by an element update or node state change.

Link copied to clipboard
fun interface DynamicChildrenNode

Privileged retained capability that materializes only the direct children needed by the next measure pass.

Link copied to clipboard
interface FocusTargetNode

Retained capability that makes its logical component a keyboard and text-input focus target.

Link copied to clipboard
interface FrameCutoffNode

Retained capability that publishes external observations at the start of every timed or untimed session frame.

Link copied to clipboard
fun interface FrameTimeNode

Retained capability notified once for each explicitly timed host frame before cache reuse is decided.

Link copied to clipboard

Retained capability that receives keyboard events while its logical component owns focus.

Link copied to clipboard
interface LayoutNode

A node that places the direct children it measured.

Link copied to clipboard
interface LifecycleNode

A node that owns resources across attachment, detachment, and disposal.

Link copied to clipboard
interface MeasureNode

A node that determines its size from constraints and optionally measured direct children.

Link copied to clipboard

Base retained node for one active modifier description.

Link copied to clipboard
abstract class Node

Base retained node with phase invalidation only.

Link copied to clipboard

A node that emits local drawing commands after its effective descendants.

Link copied to clipboard
interface PaintNode

A node that emits local drawing commands.

Link copied to clipboard

Allows a transparent retained wrapper to forward parent-data lookup to one logical child. Layout and event modifiers remain on that child; the runtime forwards lookup without copying or executing them twice.

Link copied to clipboard

Active modifier behavior that supplies typed data to its logical parent layout.

Link copied to clipboard

Opts a pointer handler into exclusive delivery after it consumes a press.

Link copied to clipboard

Node capability that observes whether the latest pointer move hits its accumulated laid-out bounds.

Link copied to clipboard

A node that receives pointer events in its local coordinate space.

Link copied to clipboard

Optional deferred-region capability for tracking caller-owned state read by its content callback. Successful evaluations replace dependencies; cached access preserves them and removal releases them before lifecycle cleanup.

Link copied to clipboard

A node that emits screen-coordinate drawing commands after the complete retained tree.

Link copied to clipboard
interface SemanticsNode

A node that emits unresolved semantics entries.

Link copied to clipboard

Optional session-attachment lifetime for resources that cannot remain active while their retained tree is detached.

Link copied to clipboard

Retained capability consuming one tree-owned, revisioned snapshot per source.

Link copied to clipboard
interface TextInputNode

Retained capability that receives committed text and preedit events while its logical component owns focus.