Search in sources :

Example 1 with ViewScaleType

use of com.smartandroid.sa.zUImageLoader.core.assist.ViewScaleType in project SmartAndroidSource by jaychou2012.

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.smartandroid.sa.zUImageLoader.core.decode.ImageDecodingInfo) ViewScaleType(com.smartandroid.sa.zUImageLoader.core.assist.ViewScaleType)

Aggregations

ViewScaleType (com.smartandroid.sa.zUImageLoader.core.assist.ViewScaleType)1 ImageDecodingInfo (com.smartandroid.sa.zUImageLoader.core.decode.ImageDecodingInfo)1