Search in sources :

Example 1 with ViewScaleType

use of com.nostra13.universalimageloader.core.assist.ViewScaleType in project Android-Universal-Image-Loader by nostra13.

the class LoadAndDisplayImageTask method decodeImage.

private Bitmap decodeImage(String imageUri) throws IOException {
    ViewScaleType viewScaleType = imageAware.getScaleType();
    ImageDecodingInfo decodingInfo = new ImageDecodingInfo(memoryCacheKey, imageUri, uri, targetSize, viewScaleType, getDownloader(), options);
    return decoder.decode(decodingInfo);
}
Also used : ImageDecodingInfo(com.nostra13.universalimageloader.core.decode.ImageDecodingInfo) ViewScaleType(com.nostra13.universalimageloader.core.assist.ViewScaleType)

Aggregations

ViewScaleType (com.nostra13.universalimageloader.core.assist.ViewScaleType)1 ImageDecodingInfo (com.nostra13.universalimageloader.core.decode.ImageDecodingInfo)1