Lines Matching defs:bitmap
32 * Loader for the bitmap of a photo.
58 if (result.bitmap != null) {
59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM);
77 Bitmap bitmap = result != null ? result.bitmap : null;
81 if (bitmap != null) {
82 onReleaseResources(bitmap);
87 mBitmap = bitmap;
98 if (oldBitmap != null && oldBitmap != bitmap && !oldBitmap.isRecycled()) {
113 result.bitmap = mBitmap;
139 // At this point we can release the resources associated with 'bitmap'
142 onReleaseResources(result.bitmap);
156 // At this point we can release the resources associated with 'bitmap'
168 protected void onReleaseResources(Bitmap bitmap) {
169 if (bitmap != null && !bitmap.isRecycled()) {
170 bitmap.recycle();