ZoomGestureDetector.ZoomEvent


public abstract class ZoomGestureDetector.ZoomEvent

Known direct subclasses
ZoomGestureDetector.ZoomEvent.Begin

The beginning of a zoom gesture.

ZoomGestureDetector.ZoomEvent.End

The end of a zoom gesture.

ZoomGestureDetector.ZoomEvent.Move

The moving events of a gesture in progress.


The zoom event that contains extended info about event state.

Summary

Nested types

The beginning of a zoom gesture.

The end of a zoom gesture.

The moving events of a gesture in progress.

Public methods

final long

The event time in milliseconds of the current event being processed, in SystemClock.uptimeMillis time base.

final int

The X coordinate of the current gesture's focal point in pixels.

final int

The Y coordinate of the current gesture's focal point in pixels.

Public methods

getEventTime

Added in 1.4.0-alpha06
public final long getEventTime()

The event time in milliseconds of the current event being processed, in SystemClock.uptimeMillis time base.

getFocusX

Added in 1.4.0-alpha06
public final int getFocusX()

The X coordinate of the current gesture's focal point in pixels.

getFocusY

Added in 1.4.0-alpha06
public final int getFocusY()

The Y coordinate of the current gesture's focal point in pixels.