androidx.ui.core.gesture.util

Classes

VelocityTracker

Computes a pointer's velocity.

Extension functions summary

For kotlin.collections.List
Boolean

Utility method that determines if any pointers are currently in bounds.

Extension functions

anyPointersInBounds

fun List<PointerInputChange>.anyPointersInBounds(bounds: IntPxSize): Boolean

Utility method that determines if any pointers are currently in bounds.

A pointer is considered in bounds if it is currently down and it's current position is within the provided bounds

Return
True if at least one pointer is in bounds.