x property

double x
final

The event's x, y and z values.

MotionType.gyroscope events : the x, y and z values represent the rotation rate angle in radians, each event being relative to the previous one.

MotionType.pointer events : the x and y values represent the pointer's position in logical pixels, each event being an absolute value. z always equals zero.

Implementation

final double x, y, z;