// Path: stylishwidget/src/main/java/com/app/infideap/stylishwidget/util/Utils.java
// public class Utils {
//     public static float convertPixelsToDp(float px) {
//         DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();
//         float dp = px / (metrics.densityDpi / 160f);
//         return Math.round(dp);
//     }
// 
//     public static float convertDpToPixel(float dp) {
//         DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();
//         float px = dp * (metrics.densityDpi / 160f);
//         return Math.round(px);
//     }
// 
//     public static int adjustAlpha(int color, int alpha) {
//         int red = Color.red(color);
//         int green = Color.green(color);
//         int blue = Color.blue(color);
//         return Color.argb(alpha, red, green, blue);
//     }
// }


import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.os.Build;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.app.infideap.stylishwidget.R;
import com.app.infideap.stylishwidget.util.Utils;
import com.nineoldandroids.animation.AnimatorSet;
import com.nineoldandroids.animation.ObjectAnimator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
package com.app.infideap.stylishwidget.view;




/**
 * Created by Shiburagi on 13/07/2016.
 */
public class AProgressBar extends LinearLayout {
    private static final String TAG = AProgressBar.class.getSimpleName();
    private static final Object TEXTVIEW_TAG = "TEXTVIEW";
    private int id = 1;
    private int radius;
    private int padding;
    private boolean isReverse;
    private float max;
    private List<LinearLayout> progressLayouts;

// Path: stylishwidget/src/main/java/com/app/infideap/stylishwidget/util/Utils.java
// public class Utils {
//     public static float convertPixelsToDp(float px) {
//         DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();
//         float dp = px / (metrics.densityDpi / 160f);
//         return Math.round(dp);
//     }
// 
//     public static float convertDpToPixel(float dp) {
//         DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();
//         float px = dp * (metrics.densityDpi / 160f);
//         return Math.round(px);
//     }
// 
//     public static int adjustAlpha(int color, int alpha) {
//         int red = Color.red(color);
//         int green = Color.green(color);
//         int blue = Color.blue(color);
//         return Color.argb(alpha, red, green, blue);
//     }
// }


// Path: stylishwidget/src/main/java/com/app/infideap/stylishwidget/view/AProgressBar.java
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.os.Build;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.app.infideap.stylishwidget.R;
import com.app.infideap.stylishwidget.util.Utils;
import com.nineoldandroids.animation.AnimatorSet;
import com.nineoldandroids.animation.ObjectAnimator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

package com.app.infideap.stylishwidget.view;




/**
 * Created by Shiburagi on 13/07/2016.
 */
public class AProgressBar extends LinearLayout {
    private static final String TAG = AProgressBar.class.getSimpleName();
    private static final Object TEXTVIEW_TAG = "TEXTVIEW";
    private int id = 1;
    private int radius;
    private int padding;
    private boolean isReverse;
    private float max;
    private List<LinearLayout> progressLayouts;

    private List<Progress> progress;