public void update() {
        if (mZoomEnabled) {
            // Update the base matrix using the current drawable
            updateBaseMatrix(mImageView.getDrawable());
        } else {
            // Reset the Matrix...
            resetMatrix();
        }
    }
Set the zoom interpolator

@param interpolator the zoom interpolator
main/src/main/java/com/quxianggif/common/view/photoview/PhotoViewAttacher.java