Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
RoiSoleil committed Jun 23, 2013
1 parent c9d11c8 commit 7776d3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified bin/gifview.jar
Binary file not shown.
8 changes: 4 additions & 4 deletions src/org/roisoleil/gifview/GifView.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public class GifView extends View {

private static final int DEFAULT_MOVIEW_DURATION = 1000;
private static final int DEFAULT_MOVIE_DURATION = 1000;

private int mMovieResourceId;

Expand All @@ -31,10 +31,10 @@ public class GifView extends View {

private int mMeasuredMovieHeight;

private volatile boolean mPaused = false;

private boolean mVisible = true;

private volatile boolean mPaused = false;

public GifView(Context context) {
this(context, null);
}
Expand Down Expand Up @@ -155,7 +155,7 @@ private void updateAnimationTime() {
}
int dur = mMovie.duration();
if (dur == 0) {
dur = DEFAULT_MOVIEW_DURATION;
dur = DEFAULT_MOVIE_DURATION;
}
mCurrentAnimationTime = (int) ((now - mMovieStart) % dur);
}
Expand Down

0 comments on commit 7776d3a

Please sign in to comment.