Skip to content

Most visited

Recently visited

navigation
Added in API level 4

android.gesture

Provides classes to create, recognize, load and save gestures.

Interfaces

GestureOverlayView.OnGestureListener  
GestureOverlayView.OnGesturePerformedListener  
GestureOverlayView.OnGesturingListener  

Classes

Gesture A gesture is a hand-drawn shape on a touch screen. 
GestureLibraries  
GestureLibrary  
GestureOverlayView A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets. 
GesturePoint A timed point of a gesture stroke. 
GestureStore GestureLibrary maintains gesture examples and makes predictions on a new gesture  
GestureStroke A gesture stroke started on a touch down and ended on a touch up. 
GestureUtils Utility functions for gesture processing & analysis, including methods for:
  • feature extraction (e.g., samplers and those for calculating bounding boxes and gesture path lengths);
  • geometric transformation (e.g., translation, rotation and scaling);
  • gesture similarity comparison (e.g., calculating Euclidean or Cosine distances between two gestures). 
OrientedBoundingBox An oriented bounding box  
Prediction  
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.