Here you can find the source of transformEventNew(MotionEvent e, Matrix m)
private static MotionEvent transformEventNew(MotionEvent e, Matrix m)
//package com.java2s; import android.graphics.Matrix; import android.view.MotionEvent; public class Main { private static MotionEvent transformEventNew(MotionEvent e, Matrix m) { MotionEvent newEvent = MotionEvent.obtain(e); newEvent.transform(m);//from w w w. jav a 2s.c om return newEvent; } }