Lines Matching defs:bitmap
31 * Loader for the bitmap of a photo.
53 Bitmap bitmap = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri),
55 if (bitmap != null) {
56 bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM);
58 return bitmap;
70 public void deliverResult(Bitmap bitmap) {
74 if (bitmap != null) {
75 onReleaseResources(bitmap);
79 mBitmap = bitmap;
84 super.deliverResult(bitmap);
90 if (oldBitmap != null && oldBitmap != bitmap && !oldBitmap.isRecycled()) {
125 public void onCanceled(Bitmap bitmap) {
126 super.onCanceled(bitmap);
128 // At this point we can release the resources associated with 'bitmap'
130 onReleaseResources(bitmap);
143 // At this point we can release the resources associated with 'bitmap'
155 protected void onReleaseResources(Bitmap bitmap) {
156 if (bitmap != null && !bitmap.isRecycled()) {
157 bitmap.recycle();