public final class ScaleGestureDetectorCompat
extends Object

   ↳ androidx.core.view.ScaleGestureDetectorCompat

Helper for accessing features in ScaleGestureDetector.


Public methods

static boolean isQuickScaleEnabled(Object scaleGestureDetector)

This method is deprecated. Use isQuickScaleEnabled(ScaleGestureDetector) that takes ScaleGestureDetector instead of Object.

static boolean isQuickScaleEnabled(ScaleGestureDetector scaleGestureDetector)

Returns whether the quick scale gesture, in which the user performs a double tap followed by a swipe, should perform scaling.

static void setQuickScaleEnabled(ScaleGestureDetector scaleGestureDetector, boolean enabled)

Sets whether the associated ScaleGestureDetector.OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe.

static void setQuickScaleEnabled(Object scaleGestureDetector, boolean enabled)

This method is deprecated. Use setQuickScaleEnabled(ScaleGestureDetector, boolean) that takes ScaleGestureDetector instead of Object.

Inherited methods

Public methods