|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.support.v4.view.ScaleGestureDetectorCompat
public class ScaleGestureDetectorCompat
Helper for accessing features in ScaleGestureDetector
introduced
after API level 19 (KitKat) in a backwards compatible fashion.
Method Summary | |
---|---|
static boolean |
isQuickScaleEnabled(java.lang.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(java.lang.Object scaleGestureDetector,
boolean enabled)
Set whether the associated OnScaleGestureListener should receive onScale
callbacks when the user performs a doubleTap followed by a swipe. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setQuickScaleEnabled(java.lang.Object scaleGestureDetector, boolean enabled)
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.
enabled
- true to enable quick scaling, false to disablepublic static boolean isQuickScaleEnabled(java.lang.Object scaleGestureDetector)
setQuickScaleEnabled(Object, boolean).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |