com.google.android.glass.touchpad

  • Added in API level XE12, this content contains classes to detect gestures on the touchpad.

  • The GestureDetector class is optimized to recognize touch gestures for the touchpad.

  • Various listener interfaces like BaseListener, FingerListener, OneFingerScrollListener, ScrollListener, and TwoFingerScrollListener receive detection results and specific scrolling events.

  • The Gesture enum lists the gestures detected on the touchpad.

Added in API level XE12

Contains classes to detect gestures on the touchpad.

Interfaces

GestureDetector.BaseListener Receives detection results. 
GestureDetector.FingerListener This listener reports when the detected finger count changes on the touchpad. 
GestureDetector.OneFingerScrollListener This listener receives continuous one finger horizontal scrolling events. 
GestureDetector.ScrollListener This listener receives continuous horizontal scrolling events independent of the finger count. 
GestureDetector.TwoFingerScrollListener This listener receives continuous two finger horizontal scrolling events. 

Classes

GestureDetector A gesture detector optimized to recognize touch gestures for the touchpad. 

Enums

Gesture A list of gestures detected on the touchpad.