MotionEventCompat

public final class MotionEventCompat
extends Object

java.lang.Object
   ↳ androidx.core.view.MotionEventCompat


Helper for accessing features in MotionEvent.

Summary

Constants

int ACTION_HOVER_ENTER

This constant is deprecated. Use MotionEvent.ACTION_HOVER_ENTER directly.

int ACTION_HOVER_EXIT

This constant is deprecated. Use MotionEvent.ACTION_HOVER_EXIT directly.

int ACTION_HOVER_MOVE

This constant is deprecated. Use MotionEvent.ACTION_HOVER_MOVE directly.

int ACTION_MASK

This constant is deprecated. Use MotionEvent.ACTION_MASK directly.

int ACTION_POINTER_DOWN

This constant is deprecated. Use MotionEvent.ACTION_POINTER_DOWN directly.

int ACTION_POINTER_INDEX_MASK

This constant is deprecated. Use MotionEvent.ACTION_POINTER_INDEX_MASK directly.

int ACTION_POINTER_INDEX_SHIFT

This constant is deprecated. Use MotionEvent.ACTION_POINTER_INDEX_SHIFT directly.

int ACTION_POINTER_UP

This constant is deprecated. Use MotionEvent.ACTION_POINTER_UP directly.

int ACTION_SCROLL

This constant is deprecated. Use MotionEvent.ACTION_SCROLL directly.

int AXIS_BRAKE

This constant is deprecated. Use MotionEvent.AXIS_BRAKE directly.

int AXIS_DISTANCE

This constant is deprecated. Use MotionEvent.AXIS_DISTANCE directly.

int AXIS_GAS

This constant is deprecated. Use MotionEvent.AXIS_GAS directly.

int AXIS_GENERIC_1

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_1 directly.

int AXIS_GENERIC_10

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_10 directly.

int AXIS_GENERIC_11

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_11 directly.

int AXIS_GENERIC_12

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_12 directly.

int AXIS_GENERIC_13

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_13 directly.

int AXIS_GENERIC_14

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_14 directly.

int AXIS_GENERIC_15

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_15 directly.

int AXIS_GENERIC_16

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_16 directly.

int AXIS_GENERIC_2

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_2 directly.

int AXIS_GENERIC_3

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_3 directly.

int AXIS_GENERIC_4

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_4 directly.

int AXIS_GENERIC_5

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_5 directly.

int AXIS_GENERIC_6

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_6 directly.

int AXIS_GENERIC_7

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_7 directly.

int AXIS_GENERIC_8

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_8 directly.

int AXIS_GENERIC_9

This constant is deprecated. Use MotionEvent.AXIS_GENERIC_9 directly.

int AXIS_HAT_X

This constant is deprecated. Use MotionEvent.AXIS_HAT_X directly.

int AXIS_HAT_Y

This constant is deprecated. Use MotionEvent.AXIS_HAT_Y directly.

int AXIS_HSCROLL

This constant is deprecated. Use MotionEvent.AXIS_HSCROLL directly.

int AXIS_LTRIGGER

This constant is deprecated. Use MotionEvent.AXIS_LTRIGGER directly.

int AXIS_ORIENTATION

This constant is deprecated. Use MotionEvent.AXIS_ORIENTATION directly.

int AXIS_PRESSURE

This constant is deprecated. Use MotionEvent.AXIS_PRESSURE directly.

int AXIS_RELATIVE_X

Synonym for MotionEvent.AXIS_RELATIVE_X.