// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LoadedFrom.java
// public enum LoadedFrom {
//     MEMORY,
//     DISK,
//     NETWORK
// }


import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import com.theartofdev.fastimageloader.LoadedFrom;
import static android.graphics.Color.GREEN;
import static android.graphics.Color.RED;
import static android.graphics.Color.WHITE;
import static android.graphics.Color.YELLOW;
// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"

package com.theartofdev.fastimageloader.target;




/**
 * Helper methods for Target Drawable or Image View code.
 */
public final class TargetHelper {

    /**
     * Used to paint debug indicator
     */
    private static Paint mDebugPaint;

    /**
     * Paint used to draw download progress
     */
    private static Paint mProgressPaint;

    /**
     * If to show indicator if the image was loaded from MEMORY/DISK/NETWORK.
     */
    public static boolean debugIndicator;

    /**
     * The density of the current
     */
    public static float mDensity;

    private TargetHelper() {
    }

    /**
     * draw indicator on where the image was loaded from.<br>
     * Green - memory, Yellow - disk, Red - network.
     */
// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LoadedFrom.java
// public enum LoadedFrom {
//     MEMORY,
//     DISK,
//     NETWORK
// }


// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/target/TargetHelper.java
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import com.theartofdev.fastimageloader.LoadedFrom;
import static android.graphics.Color.GREEN;
import static android.graphics.Color.RED;
import static android.graphics.Color.WHITE;
import static android.graphics.Color.YELLOW;

// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"

package com.theartofdev.fastimageloader.target;




/**
 * Helper methods for Target Drawable or Image View code.
 */
public final class TargetHelper {

    /**
     * Used to paint debug indicator
     */
    private static Paint mDebugPaint;

    /**
     * Paint used to draw download progress
     */
    private static Paint mProgressPaint;

    /**
     * If to show indicator if the image was loaded from MEMORY/DISK/NETWORK.
     */
    public static boolean debugIndicator;

    /**
     * The density of the current
     */
    public static float mDensity;

    private TargetHelper() {
    }

    /**
     * draw indicator on where the image was loaded from.<br>
     * Green - memory, Yellow - disk, Red - network.
     */
    public static void drawDebugIndicator(Canvas canvas, LoadedFrom loadedFrom, int width, int height) {