Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed Oct 8, 2018
1 parent 59d3667 commit 9c66539
Showing 1 changed file with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
import android.graphics.Paint;
import android.graphics.RectF;
import android.os.Build;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.LinearInterpolator;

import androidx.annotation.AttrRes;
import androidx.annotation.ColorInt;
import androidx.annotation.FloatRange;
Expand All @@ -40,11 +46,6 @@
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.annotation.StyleRes;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.LinearInterpolator;

/**
* Circular progress bar
Expand Down Expand Up @@ -73,20 +74,20 @@ public final class CircularProgressBar extends View {
private final ValueAnimator mIndeterminateSweepAnimator = new ValueAnimator();
private final Paint mForegroundStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG);
private final Paint mBackgroundStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG);
private int mDefaultSize;
private float mMaximum;
private float mProgress;
private float mStartAngle;
private float mIndeterminateStartAngle;
private float mIndeterminateSweepAngle;
private float mIndeterminateOffsetAngle;
private float mIndeterminateMinimumAngle;
private float mForegroundStrokeCapAngle;
private boolean mIndeterminate;
private boolean mAnimateProgress;
private boolean mDrawBackgroundStroke;
private boolean mIndeterminateGrowMode;
private boolean mVisible;
private int mDefaultSize = 0;
private float mMaximum = 0f;
private float mProgress = 0f;
private float mStartAngle = 0f;
private float mIndeterminateStartAngle = 0f;
private float mIndeterminateSweepAngle = 0f;
private float mIndeterminateOffsetAngle = 0f;
private float mIndeterminateMinimumAngle = 0f;
private float mForegroundStrokeCapAngle = 0f;
private boolean mIndeterminate = false;
private boolean mAnimateProgress = false;
private boolean mDrawBackgroundStroke = false;
private boolean mIndeterminateGrowMode = false;
private boolean mVisible = false;

public CircularProgressBar(@NonNull final Context context) {
super(context);
Expand Down

0 comments on commit 9c66539

Please sign in to comment.