Code example for MotionEvent.PointerCoords

        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(). 
Stop searching for code, let great code find you!  Add Codota to your java IDE