Code example for MotionEvent.PointerCoords

0
        private long mDownTime;
        private long mLastTime;
        private long mCurrentTime;
         
        private PointerCoords mCoords = new PointerCoords();
        private PointerCoords mLastCoords = new PointerCoords();
        private PointerCoords mFirstCoords = new PointerCoords();
         
        /** 
         * Recycles this Pointer. You should call this method after evaluating this Pointer. 
         */ 
        public void recycle() { 
            if (!mDown) {
                mId = POINTER_ID_UNUSED;
            } 
        } 
         
        /** 
         * Returns the ID of this pointer. The ID will remain the same while the pointer isDown(). 
         */ 
        public int getId() {