Android Open Source - Android-ImageManager Job Options






From Project

Back to project page Android-ImageManager.

License

The source code is released under:

Copyright (c) 2011 Felipe Lima Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softwa...

If you think the Android project Android-ImageManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.felipecsl.android.imaging;
//  w w w .  j  av  a 2 s  .c om
import android.widget.ImageView;

public class JobOptions {
    public boolean roundedCorners = false;
    public boolean circle = false;
    public boolean fadeIn = false;

    // default: no scaling
    public ScaleType scaleType = ScaleType.NONE;

    public int radius = 5;
    public int requestedWidth;
    public int requestedHeight;

    // size bounds, 1024 or 2048, to avoid loading big images to imageViews
    public int bounds;

    public JobOptions() {
        this(0, 0);
    }

    public JobOptions(final ImageView imgView) {
        this(imgView.getWidth(), imgView.getHeight());
    }

    public JobOptions(final int requestedWidth, final int requestedHeight) {
        this.requestedWidth = requestedWidth;
        this.requestedHeight = requestedHeight;
    }
}




Java Source Code List

com.felipecsl.android.Utils.java
com.felipecsl.android.imaging.BitmapHttpClient.java
com.felipecsl.android.imaging.BitmapProcessor.java
com.felipecsl.android.imaging.CacheManager.java
com.felipecsl.android.imaging.CacheableDrawable.java
com.felipecsl.android.imaging.DiskLruImageCache.java
com.felipecsl.android.imaging.ImageManagerCallback.java
com.felipecsl.android.imaging.ImageManager.java
com.felipecsl.android.imaging.ImageResponseCache.java
com.felipecsl.android.imaging.ImageUtil.java
com.felipecsl.android.imaging.JobOptions.java
com.felipecsl.android.imaging.LoadedFrom.java
com.felipecsl.android.imaging.MemoryLruImageCache.java
com.felipecsl.android.imaging.ProcessorCallback.java
com.felipecsl.android.imaging.ScaleType.java
com.felipecsl.android.imaging.sample.ListAdapter.java
com.felipecsl.android.imaging.sample.MainActivity.java