AINPUT_MOTION_RANGE_X

Constants used to retrieve information about the range of motion for a particular coordinate of a motion event.

Refer to the documentation on android.view.InputDevice for more details about input sources and their correct interpretation.

@deprecated These constants are deprecated. Use {@link AMOTION_EVENT_AXIS AMOTION_EVENT_AXIS_*} constants instead.

Values

ValueMeaning
AINPUT_MOTION_RANGE_X0

x

AINPUT_MOTION_RANGE_Y1

y

AINPUT_MOTION_RANGE_PRESSURE2

pressure

AINPUT_MOTION_RANGE_SIZE3

size

AINPUT_MOTION_RANGE_TOUCH_MAJOR4

touch major

AINPUT_MOTION_RANGE_TOUCH_MINOR5

touch minor

AINPUT_MOTION_RANGE_TOOL_MAJOR6

tool major

AINPUT_MOTION_RANGE_TOOL_MINOR7

tool minor

AINPUT_MOTION_RANGE_ORIENTATION8

orientation

Meta