private void reset() {
            mIsRunning = false;
            mLastFlingY = 0;
            removeCallbacks(this);
        }
The duration to close time

@param duration
ptr-lib/src/in/srain/cube/views/ptr/PtrFrameLayout.java