Java android.support.v4.view MotionEventCompat fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.view MotionEventCompat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.view MotionEventCompat.

The text is from its open source code.

Field

intACTION_MASK
Synonym for MotionEvent#ACTION_MASK .
intACTION_POINTER_DOWN
Synonym for MotionEvent#ACTION_POINTER_DOWN .
intACTION_POINTER_UP
Synonym for MotionEvent#ACTION_POINTER_UP .
intACTION_HOVER_MOVE
Synonym for MotionEvent#ACTION_HOVER_MOVE .
intACTION_SCROLL
Synonym for MotionEvent#ACTION_SCROLL .
intACTION_POINTER_INDEX_MASK
Synonym for MotionEvent#ACTION_POINTER_INDEX_MASK .
intACTION_POINTER_INDEX_SHIFT
Synonym for MotionEvent#ACTION_POINTER_INDEX_SHIFT .

Method

intfindPointerIndex(MotionEvent event, int pointerId)
Call MotionEvent#findPointerIndex(int) .
intgetActionIndex(MotionEvent event)
Call MotionEvent#getAction , returning only the pointer index portion
intgetActionMasked(MotionEvent event)
Call MotionEvent#getAction , returning only the #ACTION_MASK portion.
intgetPointerId(MotionEvent event, int pointerIndex)
Call MotionEvent#getPointerId(int) .
floatgetX(MotionEvent event, int pointerIndex)
Call MotionEvent#getX(int) .
floatgetY(MotionEvent event, int pointerIndex)
Call MotionEvent#getY(int) .