Android MotionEvent Transform transformEventNew(MotionEvent e, Matrix m)

Here you can find the source of transformEventNew(MotionEvent e, Matrix m)

Description

transform Event New

Declaration

private static MotionEvent transformEventNew(MotionEvent e, Matrix m) 

Method Source Code

//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;
    }
}

Related

  1. transformEvent(final MotionEvent e, final Matrix m)
  2. transformEvent(MotionEvent e, Matrix m)