// Path: app/src/main/java/com/wulinpeng/daiylreader/read/event/OnChapterLoadEvent.java
// public class OnChapterLoadEvent {
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/read/event/RecycleBitmapEvent.java
// public class RecycleBitmapEvent {
// }


import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Path;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.Region;
import android.graphics.drawable.GradientDrawable;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.view.WindowManager;
import android.widget.Scroller;
import android.widget.Toast;
import com.wulinpeng.daiylreader.R;
import com.wulinpeng.daiylreader.read.event.OnChapterLoadEvent;
import com.wulinpeng.daiylreader.read.event.RecycleBitmapEvent;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import wulinpeng.com.framework.base.util.UiUtils;
        values[1] = 2 * k / (k * k + 1);
        values[3] = values[1];
        values[4] = -values[0];
        values[8] = 1;

        float b = mBzControl1.y - mBzControl1.x * k;
        Matrix matrix = new Matrix();
        matrix.setValues(values);
        matrix.preTranslate(0, -b);
        matrix.postTranslate(0, b);

        return matrix;
    }

    public void computeScroll() {
        super.computeScroll();
        if (mScroller.computeScrollOffset()) {
            float x = mScroller.getCurrX();
            float y = mScroller.getCurrY();
            mTouch.x = x;
            mTouch.y = y;
            //必须重绘调用onDraw方法
            postInvalidate();
        }
    }

    private void startAnimation(int delayMillis) {
        int dx, dy;

        if (mCornerX > 0) {
// Path: app/src/main/java/com/wulinpeng/daiylreader/read/event/OnChapterLoadEvent.java
// public class OnChapterLoadEvent {
// }
// 
// Path: app/src/main/java/com/wulinpeng/daiylreader/read/event/RecycleBitmapEvent.java
// public class RecycleBitmapEvent {
// }


// Path: app/src/main/java/com/wulinpeng/daiylreader/read/ui/ReadView.java
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Path;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.Region;
import android.graphics.drawable.GradientDrawable;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.view.WindowManager;
import android.widget.Scroller;
import android.widget.Toast;
import com.wulinpeng.daiylreader.R;
import com.wulinpeng.daiylreader.read.event.OnChapterLoadEvent;
import com.wulinpeng.daiylreader.read.event.RecycleBitmapEvent;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import wulinpeng.com.framework.base.util.UiUtils;

        values[1] = 2 * k / (k * k + 1);
        values[3] = values[1];
        values[4] = -values[0];
        values[8] = 1;

        float b = mBzControl1.y - mBzControl1.x * k;
        Matrix matrix = new Matrix();
        matrix.setValues(values);
        matrix.preTranslate(0, -b);
        matrix.postTranslate(0, b);

        return matrix;
    }

    public void computeScroll() {
        super.computeScroll();
        if (mScroller.computeScrollOffset()) {
            float x = mScroller.getCurrX();
            float y = mScroller.getCurrY();
            mTouch.x = x;
            mTouch.y = y;
            //必须重绘调用onDraw方法
            postInvalidate();
        }
    }

    private void startAnimation(int delayMillis) {
        int dx, dy;

        if (mCornerX > 0) {
            dx = -(int) (mWidth + mTouch.x);