标签:play get isp pre create display base init metrics
/**
* Create drawable from a bitmap, setting initial target density based on
* the display metrics of the resources.
*/
public BitmapDrawable(Resources res, Bitmap bitmap) {
this(new BitmapState(bitmap), res);
mBitmapState.mTargetDensity = mTargetDensity;
}
标签:play get isp pre create display base init metrics
原文地址:http://www.cnblogs.com/jianglijs/p/7454570.html