|Home · All Classes · Main Classes · Deprecated|
Defines a style for a MSwipeRecognizerStyle class.
This class defines the default threshold values that are used by swipe gesture recognizers.
An angle threshold which is used to check if the pointer was moved horizontally or vertically. If the angle of swipe is equal to 0,90,180 or 270 degrees with epsilon equal to angleSnappingThreshold, then the final swipe angle is snapped to the closest of 0,90,180 or 270 degree angles.
An angle threshold which is used to check if the pointer was moved consistently after the gesture was recognized. If the pointer skewed its movement by more than angleThreshold from the angle that was initially recognized the gesture is canceled.
A distance threshold which is used to check if the pointer was moved far enough to recognize tap&hold gesture.
The jitterThreshold is a movement value used to avoid canceling gesture because of jitter effect when user removes his finger from the screen. When that happens the screen driver can sometimes report rapidly changing positions of the pointer and that could be interpreted as a change of direction.
A time threshold which is used to check if the pointer was moved fast enough to recognize tap&hold gesture.
|Copyright © 2010 Nokia Corporation||Generated on Thu Feb 24 06:02:53 2011 (PDT)