/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FastBitmapView.java | 28 private Bitmap mBitmap; field in class:FastBitmapView 39 if (b != mBitmap){ 40 if (mBitmap != null) { 41 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); 43 mBitmap = b; 44 if (mBitmap != null) { 45 invalidate(0, 0, mBitmap.getWidth(), mBitmap.getHeight()); 54 if (mBitmap ! [all...] |
H A D | FastBitmapDrawable.java | 66 private final Bitmap mBitmap; field in class:FastBitmapDrawable 77 mBitmap = b; 85 canvas.drawBitmap(mBitmap, null, r, mPaint); 116 return mBitmap.getWidth(); 121 return mBitmap.getHeight(); 135 return mBitmap;
|
/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...] |
/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/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | ActivityTransitionBitmapHelper.java | 96 private Bitmap mBitmap; field in class:ActivityTransitionBitmapHelper.ActivityTransitionBitmapProvider 99 mBitmap = bitmap; 104 Bitmap b = mBitmap; 107 mBitmap = null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
H A D | HistogramView.java | 33 private Bitmap mBitmap; field in class:HistogramView 77 mBitmap = bitmap.copy(Bitmap.Config.ARGB_8888, true); 78 new ComputeHistogramTask().execute(mBitmap);
|
/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/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | MtpThumbnailTileView.java | 39 private Bitmap mBitmap; field in class:MtpThumbnailTileView 75 mBitmap = (Bitmap) result; 76 setImageBitmap(mBitmap); 108 if (mBitmap != null) { 109 MtpBitmapFetch.recycleThumbnail(mBitmap); 110 mBitmap = null;
|
/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 | AlbumLabelMaker.java | 91 private Bitmap mBitmap; field in class:AlbumLabelMaker.LazyLoadedBitmap 99 if (mBitmap == null) { 102 mBitmap = BitmapFactory.decodeResource( 105 return mBitmap;
|
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 | 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/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/LegacyCamera/src/com/android/camera/ |
H A D | Thumbnail.java | 51 private Bitmap mBitmap; field in class:Thumbnail 61 mBitmap = rotateImage(bitmap, orientation); 62 if (mBitmap == null) throw new IllegalArgumentException("null bitmap"); 70 return mBitmap; 113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d);
|
/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/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/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/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/Launcher3/WallpaperPicker/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/Mms/src/com/android/mms/util/ |
H A D | ThumbnailManager.java | 531 public final Bitmap mBitmap; field in class:ThumbnailManager.ImageLoaded 535 mBitmap = bitmap;
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
H A D | CircleFramedDrawable.java | 42 private final Bitmap mBitmap; field in class:CircleFramedDrawable 85 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888); 86 final Canvas canvas = new Canvas(mBitmap); 130 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | BitmapDownloader.java | 63 Bitmap mBitmap; field in class:BitmapDownloader.BitmapItem 70 mBitmap = bitmap; 120 return bitmap.mBitmap.getByteCount(); 270 Bitmap currentBitmap = bitmapItem.mBitmap; 292 Bitmap bitmap = bitmapItem.mBitmap; 314 return bitmapItem.mBitmap; 325 return bitmapItem.mBitmap; 338 return bitmapItem.mBitmap;
|