/packages/apps/Gallery/src/com/android/camera/ |
H A D | RotateBitmap.java | 24 private Bitmap mBitmap; field in class:RotateBitmap 28 mBitmap = bitmap; 33 mBitmap = bitmap; 46 return mBitmap; 50 mBitmap = bitmap; 60 int cx = mBitmap.getWidth() / 2; 61 int cy = mBitmap.getHeight() / 2; 75 return mBitmap.getWidth(); 77 return mBitmap.getHeight(); 83 return mBitmap [all...] |
H A D | CropImage.java | 84 private Bitmap mBitmap; field in class:CropImage 121 mBitmap = (Bitmap) extras.getParcelable("data"); 133 if (mBitmap == null) { 143 mBitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED); 147 if (mBitmap == null) { 178 mImageView.setImageBitmapResetBase(mBitmap, true); 188 : mBitmap; 191 if (b != mBitmap && b != null) { 193 mBitmap.recycle(); 194 mBitmap [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | BitmapLoader.java | 46 private Bitmap mBitmap; field in class:BitmapLoader 52 mBitmap = future.get(); 54 if (mBitmap != null) { 55 GalleryBitmapPool.getInstance().put(mBitmap); 56 mBitmap = null; 60 if (future.isCancelled() && mBitmap == null) { 64 mState = mBitmap == null ? STATE_ERROR : STATE_LOADED; 67 onLoadComplete(mBitmap); 87 if (mBitmap != null) { 88 GalleryBitmapPool.getInstance().put(mBitmap); [all...] |
H A D | TiledScreenNail.java | 52 private Bitmap mBitmap; field in class:TiledScreenNail 58 mBitmap = bitmap; 103 if (mBitmap != null) GalleryBitmapPool.getInstance().put(mBitmap); 105 mBitmap = newer.mBitmap; 107 newer.mBitmap = null; 115 if (mBitmap != null) return; 140 if (mBitmap != null) { 141 GalleryBitmapPool.getInstance().put(mBitmap); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FastBitmapDrawable.java | 28 private Bitmap mBitmap; field in class:FastBitmapDrawable 36 mBitmap = b; 38 mWidth = mBitmap.getWidth(); 39 mHeight = mBitmap.getHeight(); 49 canvas.drawBitmap(mBitmap, null, r, mPaint); 97 mBitmap = b; 99 mWidth = mBitmap.getWidth(); 100 mHeight = mBitmap.getHeight(); 107 return mBitmap;
|
H A D | WallpaperChooserDialogFragment.java | 57 private Bitmap mBitmap = null; field in class:WallpaperChooserDialogFragment 293 if (mBitmap != null) { 294 mBitmap.recycle(); 299 mBitmap = b; 303 mBitmap = null; 323 Bitmap mBitmap; field in class:WallpaperChooserDialogFragment.WallpaperDrawable 328 mBitmap = bitmap; 329 if (mBitmap == null) 331 mIntrinsicWidth = mBitmap.getWidth(); 332 mIntrinsicHeight = mBitmap [all...] |
H A D | DragView.java | 38 private Bitmap mBitmap; field in class:DragView 110 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height); 169 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight()); 189 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); 193 float sX = (mBitmap.getWidth() * 1.0f) / mCrossFadeBitmap.getWidth(); 194 float sY = (mBitmap.getHeight() * 1.0f) / mCrossFadeBitmap.getHeight(); 253 lp.width = mBitmap.getWidth(); 254 lp.height = mBitmap.getHeight();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FastBitmapDrawable.java | 28 private Bitmap mBitmap; field in class:FastBitmapDrawable 36 mBitmap = b; 38 mWidth = mBitmap.getWidth(); 39 mHeight = mBitmap.getHeight(); 49 canvas.drawBitmap(mBitmap, null, r, mPaint); 97 mBitmap = b; 99 mWidth = mBitmap.getWidth(); 100 mHeight = mBitmap.getHeight(); 107 return mBitmap;
|
H A D | DragView.java | 38 private Bitmap mBitmap; field in class:DragView 110 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height); 169 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight()); 189 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); 193 float sX = (mBitmap.getWidth() * 1.0f) / mCrossFadeBitmap.getWidth(); 194 float sY = (mBitmap.getHeight() * 1.0f) / mCrossFadeBitmap.getHeight(); 253 lp.width = mBitmap.getWidth(); 254 lp.height = mBitmap.getHeight();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | Buffer.java | 29 private Bitmap mBitmap; field in class:Buffer 38 mBitmap = cache.getBitmapCopy(bitmap, BitmapCache.PREVIEW_CACHE); 42 mAllocation = Allocation.createFromBitmap(rs, mBitmap, 49 if (mBitmap == null || bitmap == null) { 52 if (mBitmap.getWidth() == bitmap.getWidth() 53 && mBitmap.getHeight() == bitmap.getHeight()) { 60 Canvas canvas = new Canvas(mBitmap); 65 return mBitmap; 74 mAllocation.copyTo(mBitmap); 92 if (cache.cache(mBitmap)) { [all...] |
H A D | RenderingRequest.java | 31 private Bitmap mBitmap = null; field in class:RenderingRequest 123 if (mBitmap == null || mImagePreset == null 139 return mBitmap; 143 mBitmap = bitmap;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationListCopy.java | 37 private Bitmap mBitmap; field in class:ConversationListCopy 51 if (mBitmap == null) { 54 canvas.drawBitmap(mBitmap, 0, 0, null); 72 mBitmap = Bitmap.createBitmap(v.getWidth(), v.getHeight(), Config.ARGB_8888); 73 v.draw(new Canvas(mBitmap)); 76 // mBitmap will just be null, and this won't draw, which is fine 84 if (mBitmap != null) { 85 mBitmap.recycle(); 86 mBitmap = null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | MtpThumbnailTileView.java | 36 private Bitmap mBitmap; field in class:MtpThumbnailTileView 71 mBitmap = (Bitmap)result; 72 setImageBitmap(mBitmap); 101 if (mBitmap != null) { 102 MtpBitmapFetch.recycleThumbnail(mBitmap); 103 mBitmap = null;
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
H A D | BitmapJobDrawable.java | 40 private Bitmap mBitmap; field in class:BitmapJobDrawable 55 if (mBitmap != null) { 56 GalleryBitmapPool.getInstance().put(mBitmap); 57 mBitmap = null; 72 mBitmap = bitmap; 86 if (mBitmap != null) { 91 canvas.drawBitmap(mBitmap, 0, 0, mPaint); 101 if (mBitmap == null || bounds.isEmpty()) { 109 int dwidth = mBitmap.getWidth(); 110 int dheight = mBitmap [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationWebView.java | 40 private Bitmap mBitmap; field in class:ConversationWebView 69 if (mBitmap == null) { 72 mBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.RGB_565); 73 mCanvas = new Canvas(mBitmap); 76 mBitmap = null; 82 if (mBitmap != null) { 91 canvas.drawBitmap(mBitmap, x, y, null /* paint */); 108 if (mBitmap != null) { 109 mBitmap = null;
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | AutoThumbnailDrawable.java | 53 private Bitmap mBitmap; field in class:AutoThumbnailDrawable 84 if (b == mBitmap) { 87 if (mBitmap != null) { 88 sBitmapPool.put(mBitmap); 90 mBitmap = b; 99 mBitmap = null; 110 if (mBitmap != null) { 114 canvas.drawBitmap(mBitmap, 0, 0, mPaint); 122 if (mBitmap == null || mBounds.isEmpty()) { 130 int dwidth = mBitmap [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | UploadedTexture.java | 32 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap 62 protected Bitmap mBitmap; field in class:UploadedTexture 135 if (mBitmap == null) { 136 mBitmap = onGetBitmap(); 137 int w = mBitmap.getWidth() + mBorder * 2; 138 int h = mBitmap.getHeight() + mBorder * 2; 143 return mBitmap; 147 Assert.assertTrue(mBitmap != null); 148 onFreeBitmap(mBitmap); 149 mBitmap [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/ |
H A D | UploadedTexture.java | 32 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap 62 protected Bitmap mBitmap; field in class:UploadedTexture 135 if (mBitmap == null) { 136 mBitmap = onGetBitmap(); 137 int w = mBitmap.getWidth() + mBorder * 2; 138 int h = mBitmap.getHeight() + mBorder * 2; 143 return mBitmap; 147 Assert.assertTrue(mBitmap != null); 148 onFreeBitmap(mBitmap); 149 mBitmap [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | IconView.java | 48 private Bitmap mBitmap; field in class:IconView 159 mBitmap = bitmap; 200 if (mBitmap != null) { 206 m.setRectToRect(new RectF(0, 0, mBitmap.getWidth(), mBitmap.getHeight()), 209 float scaleWidth = mBitmapBounds.width() / (float) mBitmap.getWidth(); 210 float scaleHeight = mBitmapBounds.height() / (float) mBitmap.getHeight(); 212 float dx = (mBitmapBounds.width() - (mBitmap.getWidth() * scale)) / 2f; 213 float dy = (mBitmapBounds.height() - (mBitmap.getHeight() * scale)) / 2f; 220 canvas.drawBitmap(mBitmap, [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | AttachmentDrawable.java | 48 private ReusableBitmap mBitmap; field in class:AttachmentDrawable 150 if (mBitmap != null && !onlyRenditionChange) { 151 mBitmap.releaseReference(); 152 // System.out.println("view.bind() decremented ref to old bitmap: " + mBitmap); 153 mBitmap = null; 203 if (mBitmap != null) { 205 .calculateCroppedSrcRect(mBitmap.getLogicalWidth(), mBitmap.getLogicalHeight(), 211 final int orientation = mBitmap.getOrientation(); 216 new Rect(0, 0, mBitmap [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | ImageRecord.java | 40 private final Bitmap mBitmap; field in class:ImageRecord 43 mBitmap = Preconditions.checkNotNull(bitmap); 49 image.setImageBitmap(mBitmap);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorHueView.java | 48 Bitmap mBitmap; field in class:ColorHueView 84 mBitmap = Bitmap.createBitmap(256, 2, Bitmap.Config.ARGB_8888); 85 mTmpBuff = new int[mBitmap.getWidth() * mBitmap.getHeight()]; 93 int w = mBitmap.getWidth(); 94 int h = mBitmap.getHeight(); 108 mBitmap.setPixels(mTmpBuff, 0, w, 0, 0, w, h); 177 canvas.drawBitmap(mBitmap, null, mRect, mPaint);
|
H A D | ColorSVRectView.java | 60 Bitmap mBitmap; field in class:ColorSVRectView 85 mBitmap = Bitmap.createBitmap(64, 46, Bitmap.Config.ARGB_8888); 95 int w = mBitmap.getWidth(); 96 int h = mBitmap.getHeight(); 107 mBitmap.setPixels(buff, 0, w, 0, 0, w, h); 127 canvas.drawBitmap(mBitmap, null, mRect, mPaint1);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | KenBurnsActivity.java | 78 private Bitmap mBitmap; field in class:KenBurnsActivity 171 if (mBitmap != null) { 172 return mBitmap; 193 mBitmap = bitmap; 324 mBitmap = (Bitmap) getLastNonConfigurationInstance(); 356 if (mBitmap != null) { 357 mBitmap.recycle(); 358 mBitmap = null; 367 return mBitmap;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MmsThumbnailPresenter.java | 79 imageLoaded.mBitmap); 81 ((SlideViewInterface)mView).setImage(null, imageLoaded.mBitmap);
|