BOUNDARY_ANGLES

private val BOUNDARY_ANGLES: DoubleArray

Boundary angles (in radians) for distinguishing the direction of a fling gesture.

The direction of a fling gesture is registered as:

  • FlingDirection.DOWN if the angle is in [0.25π, 0.75π).
  • FlingDirection.UP if the angle is in [1.25π, 1.75π).
  • FlingDirection.RIGHT if the angle is in [0.75π, 1.25π).
  • FlingDirection.LEFT if the angle is in [0, 0.25π) or [1.75π, 2π).