List of usage examples for android.view MotionEvent ACTION_POINTER_ID_MASK
int ACTION_POINTER_ID_MASK
To view the source code for android.view MotionEvent ACTION_POINTER_ID_MASK.
Click Source Link
From source file:Main.java
@SuppressWarnings("deprecation") @TargetApi(VERSION_CODES.ECLAIR)/*from w w w .j a va2 s .com*/ private static int getPointerIndexEclair(int action) { return (action & MotionEvent.ACTION_POINTER_ID_MASK) >> MotionEvent.ACTION_POINTER_ID_SHIFT; }