Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

ScaleGestureDetectorCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.ScaleGestureDetectorCompat

Class Overview

Helper for accessing features in ScaleGestureDetector introduced after API level 19 (KitKat) in a backwards compatible fashion.

Summary

Public Methods
static boolean isQuickScaleEnabled ( Object scaleGestureDetector)
Return whether the quick scale gesture, in which the user performs a double tap followed by a swipe, should perform scaling.
static void setQuickScaleEnabled ( Object scaleGestureDetector, boolean enabled)
Set whether the associated OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static boolean isQuickScaleEnabled ( Object scaleGestureDetector)

Return whether the quick scale gesture, in which the user performs a double tap followed by a swipe, should perform scaling. See setQuickScaleEnabled(Object, boolean) .

public static void setQuickScaleEnabled ( Object scaleGestureDetector, boolean enabled)

Set whether the associated OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe. Note that this is enabled by default if the app targets API 19 and newer.

Parameters
enabled true to enable quick scaling, false to disable