Skip navigation links
Mapbox Android Gestures Library 0.5.1 Reference
A B C D E G I L M O P R S U W 

A

addNewPosition(float, float) - Method in class com.mapbox.android.gestures.MoveDistancesObject
Add a new position of this pointer and recalculate distances.
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.BaseGesture
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.MultiFingerGesture
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.ProgressiveGesture
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector
 
analyzeEvent(MotionEvent) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
analyzeMovement() - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
analyzeMovement() - Method in class com.mapbox.android.gestures.MultiFingerGesture
 
analyzeMovement() - Method in class com.mapbox.android.gestures.RotateGestureDetector
 
analyzeMovement() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
analyzeMovement() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
analyzeMovement() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
AndroidGesturesManager - Class in com.mapbox.android.gestures
Entry point for all of the detectors.
AndroidGesturesManager(Context) - Constructor for class com.mapbox.android.gestures.AndroidGesturesManager
Creates a new instance of the AndroidGesturesManager.
AndroidGesturesManager(Context, boolean) - Constructor for class com.mapbox.android.gestures.AndroidGesturesManager
Creates a new instance of the AndroidGesturesManager.
AndroidGesturesManager(Context, Set<Integer>...) - Constructor for class com.mapbox.android.gestures.AndroidGesturesManager
Creates a new instance of the AndroidGesturesManager.
AndroidGesturesManager(Context, List<Set<Integer>>, boolean) - Constructor for class com.mapbox.android.gestures.AndroidGesturesManager
Creates a new instance of the AndroidGesturesManager.
AndroidGesturesManager.GestureType - Annotation Type in com.mapbox.android.gestures
 

B

BaseGesture<L> - Class in com.mapbox.android.gestures
Base class for all of the gesture detectors.
BaseGesture(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.BaseGesture
 

C

canExecute(int) - Method in class com.mapbox.android.gestures.BaseGesture
 
canExecute(int) - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
canExecute(int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
 
canExecute(int) - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
 
canExecute(int) - Method in class com.mapbox.android.gestures.RotateGestureDetector
 
canExecute(int) - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
canExecute(int) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
com.mapbox.android.gestures - package com.mapbox.android.gestures
 
Constants - Class in com.mapbox.android.gestures
 
Constants() - Constructor for class com.mapbox.android.gestures.Constants
 
context - Variable in class com.mapbox.android.gestures.BaseGesture
 

D

DEFAULT_MULTI_TAP_TIME_THRESHOLD - Static variable in class com.mapbox.android.gestures.Constants
Default time within which pointers need to leave the screen to register tap gesture.
DEFAULT_ROTATE_ANGLE_THRESHOLD - Static variable in class com.mapbox.android.gestures.Constants
Default angle change required in rotation movement to register rotate gesture./
DEFAULT_SHOVE_MAX_ANGLE - Static variable in class com.mapbox.android.gestures.Constants
Default angle between pointers (starting from horizontal line) required to abort shove gesture.
determineFocalPoint(MotionEvent) - Static method in class com.mapbox.android.gestures.Utils
Calculates the center point of the multi finger gesture.
dpToPx(float) - Static method in class com.mapbox.android.gestures.Utils
Converts DIP to PX.

E

equals(Object) - Method in class com.mapbox.android.gestures.PointerDistancePair
 

G

GESTURE_TYPE_DOUBLE_TAP - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_DOUBLE_TAP_EVENT - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_DOWN - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_FLING - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_LONG_PRESS - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_MOVE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_MULTI_FINGER_TAP - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_QUICK_SCALE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_ROTATE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SCALE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SCROLL - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SHOVE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SHOW_PRESS - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SIDEWAYS_SHOVE - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SINGLE_TAP_CONFIRMED - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
GESTURE_TYPE_SINGLE_TAP_UP - Static variable in class com.mapbox.android.gestures.AndroidGesturesManager
 
gestureStarted() - Method in class com.mapbox.android.gestures.ProgressiveGesture
 
gestureStopped() - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
gestureStopped() - Method in class com.mapbox.android.gestures.ProgressiveGesture
 
gestureStopped() - Method in class com.mapbox.android.gestures.RotateGestureDetector
 
gestureStopped() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
gestureStopped() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
gestureStopped() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
getAngleThreshold() - Method in class com.mapbox.android.gestures.RotateGestureDetector
Get the threshold angle between first and current fingers position for this detector to actually qualify it as a rotation gesture.
getCurrentEvent() - Method in class com.mapbox.android.gestures.BaseGesture
Returns most recent event in this gesture chain.
getCurrentSpan(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns the current distance between the two pointers forming the gesture in progress.
getCurrentSpan() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average distance between each of the pointers forming the gesture in progress through the focal point.
getCurrentSpanX(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns current X distance between pointers in pixels.
getCurrentSpanX() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average X distance between each of the pointers forming the gesture in progress through the focal point.
getCurrentSpanY(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns current Y distance between pointers in pixels.
getCurrentSpanY() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average Y distance between each of the pointers forming the gesture in progress through the focal point.
getCurrentX() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get current X coordinate of this pointer.
getCurrentY() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get current Y coordinate of this pointer.
getCurrFingersDiffX() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getCurrFingersDiffXY() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getCurrFingersDiffY() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getDeltaPixelSinceLast() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
getDeltaPixelSinceLast() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
getDeltaPixelsSinceStart() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Returns vertical pixel delta change since the start of the gesture.
getDeltaPixelsSinceStart() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Returns horizontal pixel delta change since the start of the gesture.
getDeltaSinceLast() - Method in class com.mapbox.android.gestures.RotateGestureDetector
Returns last rotation change difference in degrees calculated in RotateGestureDetector.OnRotateGestureListener.onRotate(RotateGestureDetector, float, float)
getDeltaSinceStart() - Method in class com.mapbox.android.gestures.RotateGestureDetector
Returns rotation change in degrees since the start of the gesture.
getDetectors() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get a list of all active gesture detectors.
getDistanceXSinceLast() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get X distance covered by this pointer since previous position.
getDistanceXSinceStart() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get X distance covered by this pointer since start position.
getDistanceYSinceLast() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get Y distance covered by this pointer since previous position.
getDistanceYSinceStart() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get Y distance covered by this pointer since start position.
getFocalPoint() - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns a center point of this gesture.
getGestureDuration() - Method in class com.mapbox.android.gestures.BaseGesture
Returns a difference in millis between MotionEvent.getDownTime() and MotionEvent.getEventTime() (most recent event's time) associated with this gesture.
getInitialX() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get X coordinate of this pointer when it was first register.
getInitialY() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get Y coordinate of this pointer when it was first register.
getLastDistanceX() - Method in class com.mapbox.android.gestures.MoveGestureDetector
Returns X distance of the focal point in pixels calculated during the last MoveGestureDetector.OnMoveGestureListener.onMove(MoveGestureDetector, float, float) call.
getLastDistanceY() - Method in class com.mapbox.android.gestures.MoveGestureDetector
Returns Y distance of the focal point in pixels calculated during the last MoveGestureDetector.OnMoveGestureListener.onMove(MoveGestureDetector, float, float) call.
getMaxShoveAngle() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Get the maximum allowed angle between fingers, measured from the horizontal line, to qualify it as a shove gesture.
getMaxShoveAngle() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Get the maximum allowed angle between fingers, measured from the vertical line, to qualify it as a sideways shove gesture.
getMoveGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get move gesture detector.
getMoveObject(int) - Method in class com.mapbox.android.gestures.MoveGestureDetector
Returns MoveDistancesObject referencing the pointer held under passed index.
getMoveThreshold() - Method in class com.mapbox.android.gestures.MoveGestureDetector
Get the delta pixel threshold required to qualify it as a move gesture.
getMultiFingerTapGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get multi finger tap gesture detector.
getMultiFingerTapMovementThreshold() - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
Get maximum movement allowed for any finger before rejecting this gesture.
getMultiFingerTapTimeThreshold() - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
Get maximum time in millis that fingers can have a contact with the screen before rejecting this gesture.
getMutuallyExclusiveGestures() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Returns a list of sets containing mutually exclusive gestures.
getPixelDeltaThreshold() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Get the delta pixel threshold required to qualify it as a shove gesture.
getPixelDeltaThreshold() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Get the delta pixel threshold required to qualify it as a sideways shove gesture.
getPointersCount() - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns the number of active pointers.
getPrevFingersDiffX() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getPrevFingersDiffXY() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getPrevFingersDiffY() - Method in class com.mapbox.android.gestures.MultiFingerDistancesObject
 
getPreviousEvent() - Method in class com.mapbox.android.gestures.BaseGesture
Returns previous event in this gesture chain.
getPreviousSpan(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns the previous distance between the two pointers forming the gesture in progress.
getPreviousSpan() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the previous average distance between each of the pointers forming the gesture in progress through the focal point.
getPreviousSpanX(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns previous X distance between pointers in pixels.
getPreviousSpanX() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the previous average X distance between each of the pointers forming the gesture in progress through the focal point.
getPreviousSpanY(int, int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Returns previous Y distance between pointers in pixels.
getPreviousSpanY() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the previous average Y distance between each of the pointers forming the gesture in progress through the focal point.
getPreviousX() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get previous X coordinate of this pointer.
getPreviousY() - Method in class com.mapbox.android.gestures.MoveDistancesObject
Get previous Y coordinate of this pointer.
getRawX(MotionEvent, int) - Static method in class com.mapbox.android.gestures.Utils
 
getRawY(MotionEvent, int) - Static method in class com.mapbox.android.gestures.Utils
 
getRequiredPointersCount() - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
getRequiredPointersCount() - Method in class com.mapbox.android.gestures.MultiFingerGesture
 
getRequiredPointersCount() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
getRotateGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get rotate gesture detector.
getScaleFactor() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
getShoveGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get shove gesture detector.
getSidewaysShoveGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get sideways shove gesture detector.
getSpanSinceStartThreshold() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Get the threshold span in pixels between initial fingers position and current needed for this detector to qualify it as a scale gesture.
getSpanThreshold() - Method in class com.mapbox.android.gestures.MultiFingerGesture
Get minimum span between any pair of finger that is required to pass motion events to this detector.
getStandardGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get gesture detector that wraps GestureDetectorCompat.
getStandardScaleGestureDetector() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Get scale gesture detector.
getStartSpan() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average distance between each of the pointers forming the gesture in progress through the focal point, when the gesture was started.
getStartSpanX() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average X distance between each of the pointers forming the gesture in progress through the focal point, when the gesture was started.
getStartSpanY() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Return the average Y distance between each of the pointers forming the gesture in progress through the focal point, when the gesture was started.

I

interrupt() - Method in class com.mapbox.android.gestures.ProgressiveGesture
Interrupt a gesture by stopping it's execution immediately.
isEnabled() - Method in class com.mapbox.android.gestures.BaseGesture
Check whether this detector accepts and analyzes motion events.
isInProgress() - Method in class com.mapbox.android.gestures.ProgressiveGesture
Check whether a gesture has started and is in progress.
isLongpressEnabled() - Method in class com.mapbox.android.gestures.StandardGestureDetector
 
isScalingOut() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Check whether user is scaling out.
isSloppyGesture() - Method in class com.mapbox.android.gestures.MultiFingerGesture
Check if we have a sloppy gesture.
isSloppyGesture() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
isSloppyGesture() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
isSloppyGesture() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 

L

listener - Variable in class com.mapbox.android.gestures.BaseGesture
Listener that will be called with gesture events/updates.

M

MoveDistancesObject - Class in com.mapbox.android.gestures
Class that holds initial, previous and current X and Y on-screen coordinates for active pointers.
MoveDistancesObject(float, float) - Constructor for class com.mapbox.android.gestures.MoveDistancesObject
 
MoveGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling move gesture.
MoveGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.MoveGestureDetector
 
MoveGestureDetector.OnMoveGestureListener - Interface in com.mapbox.android.gestures
 
MoveGestureDetector.SimpleOnMoveGestureListener - Class in com.mapbox.android.gestures
 
MultiFingerDistancesObject - Class in com.mapbox.android.gestures
Object that holds pixel current and previous distances between a pair of fingers.
MultiFingerDistancesObject(float, float, float, float) - Constructor for class com.mapbox.android.gestures.MultiFingerDistancesObject
 
MultiFingerGesture<L> - Class in com.mapbox.android.gestures
Base class for all multi finger gesture detectors.
MultiFingerGesture(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.MultiFingerGesture
 
MultiFingerTapGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling multi tap gesture.
MultiFingerTapGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.MultiFingerTapGestureDetector
 
MultiFingerTapGestureDetector.OnMultiFingerTapGestureListener - Interface in com.mapbox.android.gestures
 

O

onDoubleTap(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onDoubleTapEvent(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onDown(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onFling(MotionEvent, MotionEvent, float, float) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onLongPress(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onMove(MoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.MoveGestureDetector.OnMoveGestureListener
Called for every move change during the gesture.
onMove(MoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.MoveGestureDetector.SimpleOnMoveGestureListener
 
onMoveBegin(MoveGestureDetector) - Method in interface com.mapbox.android.gestures.MoveGestureDetector.OnMoveGestureListener
Indicates that the move gesture started.
onMoveBegin(MoveGestureDetector) - Method in class com.mapbox.android.gestures.MoveGestureDetector.SimpleOnMoveGestureListener
 
onMoveEnd(MoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.MoveGestureDetector.OnMoveGestureListener
Indicates that the move gesture ended.
onMoveEnd(MoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.MoveGestureDetector.SimpleOnMoveGestureListener
 
onMultiFingerTap(MultiFingerTapGestureDetector, int) - Method in interface com.mapbox.android.gestures.MultiFingerTapGestureDetector.OnMultiFingerTapGestureListener
 
onRotate(RotateGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.RotateGestureDetector.OnRotateGestureListener
Called for every rotation change during the gesture.
onRotate(RotateGestureDetector, float, float) - Method in class com.mapbox.android.gestures.RotateGestureDetector.SimpleOnRotateGestureListener
 
onRotateBegin(RotateGestureDetector) - Method in interface com.mapbox.android.gestures.RotateGestureDetector.OnRotateGestureListener
Indicates that the rotation gesture started.
onRotateBegin(RotateGestureDetector) - Method in class com.mapbox.android.gestures.RotateGestureDetector.SimpleOnRotateGestureListener
 
onRotateEnd(RotateGestureDetector, float, float, float) - Method in interface com.mapbox.android.gestures.RotateGestureDetector.OnRotateGestureListener
Indicates that the rotation gesture ended.
onRotateEnd(RotateGestureDetector, float, float, float) - Method in class com.mapbox.android.gestures.RotateGestureDetector.SimpleOnRotateGestureListener
 
onScale(StandardScaleGestureDetector) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener
 
onScale(StandardScaleGestureDetector) - Method in interface com.mapbox.android.gestures.StandardScaleGestureDetector.StandardOnScaleGestureListener
Called for every scale change during the gesture.
onScaleBegin(StandardScaleGestureDetector) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener
 
onScaleBegin(StandardScaleGestureDetector) - Method in interface com.mapbox.android.gestures.StandardScaleGestureDetector.StandardOnScaleGestureListener
Indicates that the scale gesture started.
onScaleEnd(StandardScaleGestureDetector, float, float) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener
 
onScaleEnd(StandardScaleGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.StandardScaleGestureDetector.StandardOnScaleGestureListener
Indicates that the scale gesture ended.
onScroll(MotionEvent, MotionEvent, float, float) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onShove(ShoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.ShoveGestureDetector.OnShoveGestureListener
Called for every shove change during the gesture.
onShove(ShoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.ShoveGestureDetector.SimpleOnShoveGestureListener
 
onShoveBegin(ShoveGestureDetector) - Method in interface com.mapbox.android.gestures.ShoveGestureDetector.OnShoveGestureListener
Indicates that the shove gesture started.
onShoveBegin(ShoveGestureDetector) - Method in class com.mapbox.android.gestures.ShoveGestureDetector.SimpleOnShoveGestureListener
 
onShoveEnd(ShoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.ShoveGestureDetector.OnShoveGestureListener
Indicates that the shove gesture ended.
onShoveEnd(ShoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.ShoveGestureDetector.SimpleOnShoveGestureListener
 
onShowPress(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onSidewaysShove(SidewaysShoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener
Called for every sideways shove change during the gesture.
onSidewaysShove(SidewaysShoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector.SimpleOnSidewaysShoveGestureListener
 
onSidewaysShoveBegin(SidewaysShoveGestureDetector) - Method in interface com.mapbox.android.gestures.SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener
Indicates that the sideways shove gesture started.
onSidewaysShoveBegin(SidewaysShoveGestureDetector) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector.SimpleOnSidewaysShoveGestureListener
 
onSidewaysShoveEnd(SidewaysShoveGestureDetector, float, float) - Method in interface com.mapbox.android.gestures.SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener
Indicates that the sideways shove gesture ended.
onSidewaysShoveEnd(SidewaysShoveGestureDetector, float, float) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector.SimpleOnSidewaysShoveGestureListener
 
onSingleTapConfirmed(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onSingleTapUp(MotionEvent) - Method in class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
onTouchEvent(MotionEvent) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Passes motion events to all gesture detectors.
onTouchEvent(MotionEvent) - Method in class com.mapbox.android.gestures.BaseGesture
 

P

PointerDistancePair - Class in com.mapbox.android.gestures
 
PointerDistancePair(Integer, Integer) - Constructor for class com.mapbox.android.gestures.PointerDistancePair
 
ProgressiveGesture<L> - Class in com.mapbox.android.gestures
Base class for all progressive gesture detectors.
ProgressiveGesture(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.ProgressiveGesture
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.ProgressiveGesture
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.RotateGestureDetector
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
provideHandledTypes() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
pxToDp(float) - Static method in class com.mapbox.android.gestures.Utils
Converts PX to DIP.
pxToMm(float, Context) - Static method in class com.mapbox.android.gestures.Utils
Converts PX to MM (millimeters).

R

removeListener() - Method in class com.mapbox.android.gestures.BaseGesture
 
removeMoveGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for move gestures.
removeMultiFingerTapGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for multi finger tap gestures.
removeRotateGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for rotate gestures.
removeShoveGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for shove gestures.
removeSidewaysShoveGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for sideways shove gestures.
removeStandardGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for all the events normally returned by the GestureDetectorCompat.
removeStandardScaleGestureListener() - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Removes a listener for scale gestures.
reset() - Method in class com.mapbox.android.gestures.MoveGestureDetector
 
reset() - Method in class com.mapbox.android.gestures.MultiFingerGesture
 
reset() - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
 
reset() - Method in class com.mapbox.android.gestures.RotateGestureDetector
 
reset() - Method in class com.mapbox.android.gestures.ShoveGestureDetector
 
reset() - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
reset() - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
 
RotateGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling rotation gesture.
RotateGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.RotateGestureDetector
 
RotateGestureDetector.OnRotateGestureListener - Interface in com.mapbox.android.gestures
Listener for rotate gesture callbacks.
RotateGestureDetector.SimpleOnRotateGestureListener - Class in com.mapbox.android.gestures
 

S

setAngleThreshold(float) - Method in class com.mapbox.android.gestures.RotateGestureDetector
Set the threshold angle between first and current fingers position for this detector to actually qualify it as a rotation gesture.
setEnabled(boolean) - Method in class com.mapbox.android.gestures.BaseGesture
Set whether this detector should accept and analyze motion events.
setEnabled(boolean) - Method in class com.mapbox.android.gestures.ProgressiveGesture
 
setIsLongpressEnabled(boolean) - Method in class com.mapbox.android.gestures.StandardGestureDetector
 
setListener(L) - Method in class com.mapbox.android.gestures.BaseGesture
 
setMaxShoveAngle(float) - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Set the maximum allowed angle between fingers, measured from the horizontal line, to qualify it as a shove gesture.
setMaxShoveAngle(float) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Set the maximum allowed angle between fingers, measured from the vertical line, to qualify it as a sideways shove gesture.
setMoveGestureListener(MoveGestureDetector.OnMoveGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for move gestures.
setMoveThreshold(float) - Method in class com.mapbox.android.gestures.MoveGestureDetector
Set the delta pixel threshold required to qualify it as a move gesture.
setMoveThresholdResource(int) - Method in class com.mapbox.android.gestures.MoveGestureDetector
Set the delta dp threshold required to qualify it as a move gesture.
setMultiFingerTapGestureListener(MultiFingerTapGestureDetector.OnMultiFingerTapGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for multi finger tap gestures.
setMultiFingerTapMovementThreshold(float) - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
Set maximum movement allowed in pixels for any finger before rejecting this gesture.
setMultiFingerTapMovementThresholdResource(int) - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
Set maximum movement allowed in dp for any finger before rejecting this gesture.
setMultiFingerTapTimeThreshold(long) - Method in class com.mapbox.android.gestures.MultiFingerTapGestureDetector
Set maximum time in millis that fingers can have a contact with the screen before rejecting this gesture.
setMutuallyExclusiveGestures(Set<Integer>...) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a number of sets containing mutually exclusive gestures.
setMutuallyExclusiveGestures(List<Set<Integer>>) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a list of sets containing mutually exclusive gestures.
setPixelDeltaThreshold(float) - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Set the delta pixel threshold required to qualify it as a shove gesture.
setPixelDeltaThreshold(float) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Set the delta pixel threshold required to qualify it as a sideways shove gesture.
setPixelDeltaThresholdResource(int) - Method in class com.mapbox.android.gestures.ShoveGestureDetector
Set the delta dp threshold required to qualify it as a shove gesture.
setPixelDeltaThresholdResource(int) - Method in class com.mapbox.android.gestures.SidewaysShoveGestureDetector
Set the delta dp threshold required to qualify it as a sideways shove gesture.
setRotateGestureListener(RotateGestureDetector.OnRotateGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for rotate gestures.
setShoveGestureListener(ShoveGestureDetector.OnShoveGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for shove gestures.
setSidewaysShoveGestureListener(SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for sideways shove gestures.
setSpanSinceStartThreshold(float) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Set the threshold span in pixels between initial fingers position and current needed for this detector to qualify it as a scale gesture.
setSpanSinceStartThresholdResource(int) - Method in class com.mapbox.android.gestures.StandardScaleGestureDetector
Set the threshold span in dp between initial fingers position and current needed for this detector to qualify it as a scale gesture.
setSpanThreshold(float) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Set minimum span in pixels between any pair of finger that is required to pass motion events to this detector.
setSpanThresholdResource(int) - Method in class com.mapbox.android.gestures.MultiFingerGesture
Set minimum span in dp between any pair of finger that is required to pass motion events to this detector.
setStandardGestureListener(StandardGestureDetector.StandardOnGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for all the events normally returned by the GestureDetectorCompat.
setStandardScaleGestureListener(StandardScaleGestureDetector.StandardOnScaleGestureListener) - Method in class com.mapbox.android.gestures.AndroidGesturesManager
Sets a listener for scale gestures.
ShoveGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling shove gesture.
ShoveGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.ShoveGestureDetector
 
ShoveGestureDetector.OnShoveGestureListener - Interface in com.mapbox.android.gestures
Listener for shove callbacks.
ShoveGestureDetector.SimpleOnShoveGestureListener - Class in com.mapbox.android.gestures
 
SidewaysShoveGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling sideways shove gesture.
SidewaysShoveGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.SidewaysShoveGestureDetector
 
SidewaysShoveGestureDetector.OnSidewaysShoveGestureListener - Interface in com.mapbox.android.gestures
Listener for sideways shove gesture callbacks.
SidewaysShoveGestureDetector.SimpleOnSidewaysShoveGestureListener - Class in com.mapbox.android.gestures
 
SimpleOnMoveGestureListener() - Constructor for class com.mapbox.android.gestures.MoveGestureDetector.SimpleOnMoveGestureListener
 
SimpleOnRotateGestureListener() - Constructor for class com.mapbox.android.gestures.RotateGestureDetector.SimpleOnRotateGestureListener
 
SimpleOnShoveGestureListener() - Constructor for class com.mapbox.android.gestures.ShoveGestureDetector.SimpleOnShoveGestureListener
 
SimpleOnSidewaysShoveGestureListener() - Constructor for class com.mapbox.android.gestures.SidewaysShoveGestureDetector.SimpleOnSidewaysShoveGestureListener
 
SimpleStandardOnGestureListener() - Constructor for class com.mapbox.android.gestures.StandardGestureDetector.SimpleStandardOnGestureListener
 
SimpleStandardOnScaleGestureListener() - Constructor for class com.mapbox.android.gestures.StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener
 
StandardGestureDetector - Class in com.mapbox.android.gestures
Detector that wraps GestureDetectorCompat.
StandardGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.StandardGestureDetector
 
StandardGestureDetector.SimpleStandardOnGestureListener - Class in com.mapbox.android.gestures
StandardGestureDetector.StandardOnGestureListener - Interface in com.mapbox.android.gestures
StandardScaleGestureDetector - Class in com.mapbox.android.gestures
Gesture detector handling scale gesture.
StandardScaleGestureDetector(Context, AndroidGesturesManager) - Constructor for class com.mapbox.android.gestures.StandardScaleGestureDetector
 
StandardScaleGestureDetector.SimpleStandardOnScaleGestureListener - Class in com.mapbox.android.gestures
 
StandardScaleGestureDetector.StandardOnScaleGestureListener - Interface in com.mapbox.android.gestures
Listener for scale gesture callbacks.

U

Utils - Class in com.mapbox.android.gestures
 
Utils() - Constructor for class com.mapbox.android.gestures.Utils
 

W

windowManager - Variable in class com.mapbox.android.gestures.BaseGesture
 
A B C D E G I L M O P R S U W 
Skip navigation links
Mapbox Android Gestures Library 0.5.1 Reference

© 2015–2019 Mapbox. All rights reserved.