Back to project page Android-ImageManager.
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.
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; } }