Java tutorial
//package com.java2s; import android.view.MotionEvent; public class Main { public static float getY(MotionEvent event, int pindex) { return event.getY(pindex); } }