Package-level declarations

Functions

Link copied to clipboard

Takes the longest animation in the set (including delay an duration) and scales the duration down to match the duration constraint if it's exceeded. All other animations are scaled by the same factor which allows to mostly keep the same composition and "feel" of the animation set while shortening its duration.

Link copied to clipboard

This checks if the camera padding is focused on a single point. If so, it indicates that the camera is in following mode, centered on the user location indicator. This is the only state when scale gestures can be executed without disrupting tracking, or when camera and puck can be fully synchronized.

Link copied to clipboard
fun normalizeBearing(currentBearing: Double, targetBearing: Double): Double

Returns a bearing change using the shortest path.