/**
* Copy/Paste of com.squareup.picasso.RequestHandler.createBitmapOptions()...
*/
static BitmapFactory.Options createBitmapOptions(Request data) {
final boolean justBounds = data.hasSize();
final boolean hasConfig = data.config != null;
BitmapFactory.Options options = null;
if (justBounds || hasConfig) {
options = new BitmapFactory.Options();
options.inJustDecodeBounds = justBounds;
if (hasConfig) {
options.inPreferredConfig = data.config;
}
}
return options;
}
ThumbnailRequestHandler.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:aos-Video
作者:
评论列表
文章目录