Back to project page webimageloader.
The source code is released under:
Apache License
If you think the Android project webimageloader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.webimageloader; /* w ww. j av a 2s . c o m*/ import android.graphics.Bitmap; public class Constants { public static final int DEFAULT_CONNECTION_TIMEOUT = 10 * 1000; // 10 sec public static final int DEFAULT_READ_TIMEOUT = 15 * 1000; // 15 sec public static final long DEFAULT_MAX_AGE = 3 * 24 * 60 * 60 * 1000; // Three days public static final long MAX_AGE_INFINITY = 0; public static final long MAX_AGE_NOT_FORCED = -1; public static final int DEFAULT_DISK_THREADS = 1; public static final int DEFAULT_NETWORK_THREADS = 2; public static final Bitmap.CompressFormat DEFAULT_COMPRESS_FORMAT = Bitmap.CompressFormat.JPEG; public static final int DEFAULT_COMPRESS_QUALITY = 75; private Constants() {} }