List of usage examples for android.view MotionEvent ACTION_POINTER_3_UP
int ACTION_POINTER_3_UP
To view the source code for android.view MotionEvent ACTION_POINTER_3_UP.
Click Source Link
From source file:com.idrv.coach.ui.view.LoopViewPager.java
@Override public boolean onTouchEvent(MotionEvent ev) { switch (MotionEventCompat.getActionMasked(ev)) { case MotionEvent.ACTION_DOWN: case MotionEvent.ACTION_MOVE: case MotionEventCompat.ACTION_POINTER_DOWN: mHandler.removeMessages(AUTO_SCROLL_MESSAGE); break;/* ww w .ja v a 2 s . c o m*/ case MotionEvent.ACTION_UP: case MotionEvent.ACTION_POINTER_UP: case MotionEvent.ACTION_POINTER_2_UP: case MotionEvent.ACTION_POINTER_3_UP: case MotionEvent.ACTION_CANCEL: mHandler.removeMessages(AUTO_SCROLL_MESSAGE); mHandler.sendEmptyMessageDelayed(AUTO_SCROLL_MESSAGE, delayTimeInMills); break; default: break; } return super.onTouchEvent(ev); }