SkiaRootForTest



The marker interface to be implemented by the desktop root backing the composition. To be used in tests.

Summary

Public functions

Unit
processPointerInput(
    timeMillis: Long,
    pointers: List<TestPointerInputEventData>
)

Process pointer event

android

Inherited functions

From androidx.compose.ui.node.RootForTest
Unit

Force accessibility to be enabled for testing.

android
open Unit

Requests another layout (measure + placement) pass be performed for any nodes that need it.

android
Boolean

Send this KeyEvent to the focused component in this Owner.

android
Unit

Set the time interval between sending accessibility events in milliseconds.

android

Inherited properties

From androidx.compose.ui.node.RootForTest
Density

Current device density.

android
SemanticsOwner

Semantics owner for this root.

android
TextInputService

This property is deprecated. Use PlatformTextInputModifierNode instead.

android

Public functions

processPointerInput

fun processPointerInput(
    timeMillis: Long,
    pointers: List<TestPointerInputEventData>
): Unit

Process pointer event

timeMillis time when the pointer event occurred pointers state of all pointers