Creates a masked Android MotionEvent action value for an indexed pointer.
static int pointerAction(int pointerId, int action) { return ((pointerId << 8) & 0xff00) | (action & 0xff); }