@Override
    public void setColorFilter(ColorFilter cf) {
        boolean needRefresh = false;
        final Paint bPaint = mBackgroundPaint;
        if (bPaint.getColorFilter() != cf) {
            bPaint.setColorFilter(cf);
            needRefresh = true;
        }

        final Paint fPaint = mForegroundPaint;
        if (fPaint.getColorFilter() != cf) {
            fPaint.setColorFilter(cf);
            needRefresh = true;
        }

        if (needRefresh)
            invalidateSelf();
    }
Set the draw progress
The progress include 0~1 float
On changed, stop animation draw

@param progress Loading progress
caprice/ui/src/main/java/net/qiujuer/genius/ui/drawable/LoadingDrawable.java