androidx.ui.testutils

Top-level functions summary

PointerInputChange
down(id: Int = 0, timestamp: Timestamp = 0L.millisecondsToTimestamp(), x: Float = 0f, y: Float = 0f)

Extension functions summary

For kotlin.Function3
List<PointerInputChange>
PointerInputHandler.invokeOverAllPasses(pointerInputChanges: PointerInputChange, size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx))

List<PointerInputChange>
PointerInputHandler.invokeOverAllPasses(pointerInputChanges: List<PointerInputChange>, size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx))

List<PointerInputChange>
PointerInputHandler.invokeOverAllPasses(vararg pointerInputChanges: PointerInputChange, size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx))

List<PointerInputChange>
PointerInputHandler.invokeOverPasses(pointerInputChanges: List<PointerInputChange>, vararg pointerEventPasses: PointerEventPass, size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx))

For PointerInputChange
PointerInputChange
PointerInputChange.consume(dx: Float = 0f, dy: Float = 0f, downChange: Boolean = false)

PointerInputChange
PointerInputChange.moveBy(duration: Duration, dx: Float = 0f, dy: Float = 0f)

PointerInputChange
PointerInputChange.moveTo(timestamp: Timestamp, x: Float = 0f, y: Float = 0f)

PointerInputChange

Top-level functions

down

fun down(
    id: Int = 0,
    timestamp: Timestamp = 0L.millisecondsToTimestamp(),
    x: Float = 0f,
    y: Float = 0f
): PointerInputChange

Extension functions

consume

fun PointerInputChange.consume(
    dx: Float = 0f,
    dy: Float = 0f,
    downChange: Boolean = false
): PointerInputChange

invokeOverAllPasses

fun PointerInputHandler.invokeOverAllPasses(
    pointerInputChanges: PointerInputChange,
    size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx)
): List<PointerInputChange>

invokeOverAllPasses

fun PointerInputHandler.invokeOverAllPasses(
    pointerInputChanges: List<PointerInputChange>,
    size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx)
): List<PointerInputChange>

invokeOverAllPasses

fun PointerInputHandler.invokeOverAllPasses(
    vararg pointerInputChanges: PointerInputChange,
    size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx)
): List<PointerInputChange>

invokeOverPasses

fun PointerInputHandler.invokeOverPasses(
    pointerInputChanges: List<PointerInputChange>,
    vararg pointerEventPasses: PointerEventPass,
    size: IntPxSize = IntPxSize(Int.MAX_VALUE.ipx, Int.MAX_VALUE.ipx)
): List<PointerInputChange>

moveBy

fun PointerInputChange.moveBy(
    duration: Duration,
    dx: Float = 0f,
    dy: Float = 0f
): PointerInputChange

moveTo

fun PointerInputChange.moveTo(
    timestamp: Timestamp,
    x: Float = 0f,
    y: Float = 0f
): PointerInputChange