提交 9fc82f69 编写于 作者: S shuyu

v1.5.3 update buff anim repeat when touch

上级 a5989328
......@@ -110,3 +110,9 @@ dependencies {
-keep class com.shuyu.gsyvideoplayer.** { *; }
-dontwarn com.shuyu.gsyvideoplayer.**
```
## License
```
请参看IJKPlayer和AndroidVideoCache相关协议。
```
\ No newline at end of file
......@@ -23,13 +23,13 @@ import com.shuyu.gsyvideoplayer.R;
public class ENDownloadView extends View {
private static final int STATE_PRE = 0;
public static final int STATE_PRE = 0;
private static final int STATE_DOWNLOADING = 1;
public static final int STATE_DOWNLOADING = 1;
private static final int STATE_END = 2;
public static final int STATE_END = 2;
private static final int STATE_RESET = 3;
public static final int STATE_RESET = 3;
private static final int DEFAULT_LINE_COLOR = Color.WHITE;
......@@ -243,7 +243,7 @@ public class ENDownloadView extends View {
mValueAnimator.cancel();
mValueAnimator = null;
}
mCurrentState = STATE_PRE;
mCurrentState = STATE_DOWNLOADING;
mValueAnimator = ValueAnimator.ofFloat(1.f, 100.f);
mValueAnimator.setDuration(1500);
mValueAnimator.setInterpolator(new OvershootInterpolator());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册