Share via


ViewConfiguration.ScaledAmbiguousGestureMultiplier Property

Definition

The multiplication factor for inhibiting default gestures.

public virtual float ScaledAmbiguousGestureMultiplier { [Android.Runtime.Register("getScaledAmbiguousGestureMultiplier", "()F", "GetGetScaledAmbiguousGestureMultiplierHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getScaledAmbiguousGestureMultiplier", "()F", "GetGetScaledAmbiguousGestureMultiplierHandler", ApiSince=30)>]
member this.ScaledAmbiguousGestureMultiplier : single

Property Value

Attributes

Remarks

The multiplication factor for inhibiting default gestures.

If a MotionEvent has android.view.MotionEvent#CLASSIFICATION_AMBIGUOUS_GESTURE set, then certain actions, such as scrolling, will be inhibited. However, to account for the possibility of an incorrect classification, existing gesture thresholds (e.g. scrolling touch slop and the long-press timeout) should be scaled by this factor and remain in effect.

Java documentation for android.view.ViewConfiguration.getScaledAmbiguousGestureMultiplier().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to