http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.5_r1/android/view/MotionEvent.java#MotionEvent.findPointerIndex%28int%29