List of usage examples for android.view MotionEvent transform
public final void transform(Matrix matrix)
From source file:Main.java
private static MotionEvent transformEventNew(MotionEvent e, Matrix m) { MotionEvent newEvent = MotionEvent.obtain(e); newEvent.transform(m); return newEvent; }
From source file:Main.java
public static MotionEvent transformEvent(final MotionEvent e, final Matrix m) { final MotionEvent newEvent = MotionEvent.obtain(e); newEvent.transform(m); return newEvent; }
From source file:Main.java
@TargetApi(Build.VERSION_CODES.HONEYCOMB) private static MotionEvent transformEventNew(final MotionEvent e, final Matrix m) { final MotionEvent newEvent = MotionEvent.obtain(e); newEvent.transform(m); return newEvent; }