| java.lang.Object | 
    
    
        
            | ↳ | lineageos.hardware.TouchscreenGesture | 
    
Class Overview
Touchscreen gestures API
 A device may implement several touchscreen gestures for use while
 the display is turned off, such as drawing alphabets and shapes.
 These gestures can be interpreted by userspace to activate certain
 actions and launch certain apps, such as to skip music tracks,
 to turn on the flashlight, or to launch the camera app.
 This *should always* be supported by the hardware directly.
 A lot of recent touch controllers have a firmware option for this.
 This API provides support for enumerating the gestures
 supported by the touchscreen.
 A TouchscreenGesture is referenced by it's identifier and carries an
 associated name (up to the user to translate this value).
 
Summary
| [Expand] Inherited Constants | 
|---|
|  From interface
android.os.Parcelable 
  
   
    
    
    
    
        | int | CONTENTS_FILE_DESCRIPTOR |  |  
        | int | PARCELABLE_ELIDE_DUPLICATES |  |  
        | int | PARCELABLE_WRITE_RETURN_VALUE |  |  | 
| Fields | 
|---|
    
      
          | public
          
          final
          int | id |  | 
      
    
      
          | public
          
          final
          int | keycode |  | 
      
    
      
          | public
          
          final
          String | name |  | 
      
    
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() |  
        | boolean | equals(Object arg0) |  
        | void | finalize() |  
        | final
            
            
            Class<?> | getClass() |  
        | int | hashCode() |  
        | final
            
            
            void | notify() |  
        | final
            
            
            void | notifyAll() |  
        | String | toString() |  
        | final
            
            
            void | wait(long arg0, int arg1) |  
        | final
            
            
            void | wait(long arg0) |  
        | final
            
            
            void | wait() |  | 
|  From interface
  android.os.Parcelable 
  
   
    
    
	 
    
        | abstract
            
            
            
            
            int | describeContents() |  
        | abstract
            
            
            
            
            void | writeToParcel(Parcel arg0, int arg1) |  | 
 
Fields
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      TouchscreenGesture
      (int id, String name, int keycode)
    
      
    
      
    
      
  
    
    | Parameters | 
|---|
      
        | id | int | 
      
        | name | String | 
      
        | keycode | int | 
    
     
 
Public Methods
 
    
      
        public 
         
         
         
         
        int
      
      describeContents
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        void
      
      writeToParcel
      (Parcel parcel, int flags)
    
      
    
      
    
      
  
    
    | Parameters | 
|---|
      
        | parcel | Parcel | 
      
        | flags | int |