Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
  
  
android.gesture
  Provides classes to create, recognize, load and save gestures.
  
  
    
Interfaces
    
  
  
  
  
    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 | 
        
           
          
    
         | 
      
      
    
  
  
  
  
  
 
 
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]