Package com.clover.sdk.internal.util
Class BitmapUtils
- java.lang.Object
-
- com.clover.sdk.internal.util.BitmapUtils
-
public class BitmapUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ALLOWED_SIZE
static String
MAX_SIZE_EXCEEDED
static String
TAG
-
Constructor Summary
Constructors Constructor Description BitmapUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
calculateInSampleSize(BitmapFactory.Options options, int reqWidth)
Bitmap
decodeSampledBitmapFromURL(String bitmapUrlString, int reqWidth)
Bitmap
decodeSampledBitmapFromURL(String bitmapUrlString, int reqWidth, Bitmap inBitmap)
-
-
-
Field Detail
-
TAG
public static final String TAG
- See Also:
- Constant Field Values
-
MAX_ALLOWED_SIZE
public static final int MAX_ALLOWED_SIZE
-
MAX_SIZE_EXCEEDED
public static final String MAX_SIZE_EXCEEDED
-
-
Method Detail
-
decodeSampledBitmapFromURL
public Bitmap decodeSampledBitmapFromURL(String bitmapUrlString, int reqWidth)
-
decodeSampledBitmapFromURL
public Bitmap decodeSampledBitmapFromURL(String bitmapUrlString, int reqWidth, Bitmap inBitmap)
-
calculateInSampleSize
public static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth)
-
-