ShoveGestureDetector

Gesture detector handling shove gesture.

Constructors

Link copied to clipboard
open fun ShoveGestureDetector(context: Context, gesturesManager: AndroidGesturesManager)

Types

Link copied to clipboard
Listener for shove callbacks.

Functions

Link copied to clipboard
open fun getCurrentSpan(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getCurrentSpanX(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getCurrentSpanY(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPointersCount(): Int
Link copied to clipboard
open fun getPreviousSpan(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPreviousSpanX(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPreviousSpanY(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun interrupt()
Link copied to clipboard
open fun setPixelDeltaThresholdResource(@DimenRes pixelDeltaThresholdDimen: Int)
Set the delta dp threshold required to qualify it as a shove gesture.
Link copied to clipboard
open fun setSpanThresholdResource(spanThresholdDimen: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val focalPoint: PointF
Link copied to clipboard
Link copied to clipboard
open var isEnabled: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard