/packages/apps/Camera/src/com/android/camera/ |
D | RotateBitmap.java | 24 private Bitmap mBitmap; field in RotateBitmap 28 mBitmap = bitmap; in RotateBitmap() 33 mBitmap = bitmap; in RotateBitmap() 46 return mBitmap; in getBitmap() 50 mBitmap = bitmap; in setBitmap() 60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() 61 int cy = mBitmap.getHeight() / 2; in getRotateMatrix() 75 return mBitmap.getWidth(); in getHeight() 77 return mBitmap.getHeight(); in getHeight() 83 return mBitmap.getHeight(); in getWidth() [all …]
|
D | CropImage.java | 82 private Bitmap mBitmap; field in CropImage 119 mBitmap = (Bitmap) extras.getParcelable("data"); in onCreate() 131 if (mBitmap == null) { in onCreate() 141 mBitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED); in onCreate() 145 if (mBitmap == null) { in onCreate() 176 mImageView.setImageBitmapResetBase(mBitmap, true); in startFaceDetection() 186 : mBitmap; in startFaceDetection() 189 if (b != mBitmap && b != null) { in startFaceDetection() 191 mBitmap.recycle(); in startFaceDetection() 192 mBitmap = b; in startFaceDetection() [all …]
|
D | GridViewSpecial.java | 968 private Bitmap mBitmap; field in ImageBlockManager.ImageBlock 981 mBitmap = Bitmap.createBitmap(mBlockWidth, mBlockHeight, in ImageBlock() 983 mCanvas = new Canvas(mBitmap); in ImageBlock() 1001 mBitmap.recycle(); in recycle() 1002 mBitmap = null; in recycle() 1069 if (mBitmap == null) return; // This block has been recycled. in loadImageDone() 1111 canvas.drawBitmap(mBitmap, xPos, yPos, null); in doDraw() 1124 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in doDraw()
|
D | ViewImage.java | 1188 Bitmap mBitmap; 1194 mBitmap = null; 1222 return e.mBitmap; 1255 if (best.mBitmap != null) { 1256 best.mBitmap.recycle(); 1260 best.mBitmap = bitmap; 1266 if (e.mBitmap != null) { 1267 e.mBitmap.recycle(); 1284 if (e.mBitmap == b) {
|
/packages/apps/Gallery/src/com/android/camera/ |
D | RotateBitmap.java | 24 private Bitmap mBitmap; field in RotateBitmap 28 mBitmap = bitmap; in RotateBitmap() 33 mBitmap = bitmap; in RotateBitmap() 46 return mBitmap; in getBitmap() 50 mBitmap = bitmap; in setBitmap() 60 int cx = mBitmap.getWidth() / 2; in getRotateMatrix() 61 int cy = mBitmap.getHeight() / 2; in getRotateMatrix() 75 return mBitmap.getWidth(); in getHeight() 77 return mBitmap.getHeight(); in getHeight() 83 return mBitmap.getHeight(); in getWidth() [all …]
|
D | CropImage.java | 84 private Bitmap mBitmap; field in CropImage 121 mBitmap = (Bitmap) extras.getParcelable("data"); in onCreate() 133 if (mBitmap == null) { in onCreate() 143 mBitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED); in onCreate() 147 if (mBitmap == null) { in onCreate() 178 mImageView.setImageBitmapResetBase(mBitmap, true); in startFaceDetection() 188 : mBitmap; in startFaceDetection() 191 if (b != mBitmap && b != null) { in startFaceDetection() 193 mBitmap.recycle(); in startFaceDetection() 194 mBitmap = b; in startFaceDetection() [all …]
|
D | GridViewSpecial.java | 970 private Bitmap mBitmap; field in ImageBlockManager.ImageBlock 983 mBitmap = Bitmap.createBitmap(mBlockWidth, mBlockHeight, in ImageBlock() 985 mCanvas = new Canvas(mBitmap); in ImageBlock() 1003 mBitmap.recycle(); in recycle() 1004 mBitmap = null; in recycle() 1071 if (mBitmap == null) return; // This block has been recycled. in loadImageDone() 1113 canvas.drawBitmap(mBitmap, xPos, yPos, null); in doDraw() 1126 canvas.drawBitmap(mBitmap, srcRect, dstRect, null); in doDraw()
|
D | ViewImage.java | 1190 Bitmap mBitmap; 1196 mBitmap = null; 1224 return e.mBitmap; 1257 if (best.mBitmap != null) { 1258 best.mBitmap.recycle(); 1262 best.mBitmap = bitmap; 1268 if (e.mBitmap != null) { 1269 e.mBitmap.recycle(); 1286 if (e.mBitmap == b) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FastBitmapDrawable.java | 26 private Bitmap mBitmap; field in FastBitmapDrawable 29 mBitmap = b; in FastBitmapDrawable() 34 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, null); in draw() 52 return mBitmap.getWidth(); in getIntrinsicWidth() 57 return mBitmap.getHeight(); in getIntrinsicHeight() 62 return mBitmap.getWidth(); in getMinimumWidth() 67 return mBitmap.getHeight(); in getMinimumHeight() 71 return mBitmap; in getBitmap()
|
D | DragView.java | 42 private Bitmap mBitmap; field in DragView 78 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true); in DragView() 87 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight()); in onMeasure() 101 float width = mBitmap.getWidth(); in onDraw() 106 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); in onDraw() 112 mBitmap.recycle(); in onDetachedFromWindow()
|
D | WallpaperChooser.java | 49 private Bitmap mBitmap; field in WallpaperChooser 218 if (mBitmap != null) { in onPostExecute() 219 mBitmap.recycle(); in onPostExecute() 225 mBitmap = b; in onPostExecute()
|
/packages/apps/Launcher/src/com/android/launcher/ |
D | FastBitmapDrawable.java | 26 private Bitmap mBitmap; field in FastBitmapDrawable 29 mBitmap = b; in FastBitmapDrawable() 34 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, null); in draw() 52 return mBitmap.getWidth(); in getIntrinsicWidth() 57 return mBitmap.getHeight(); in getIntrinsicHeight() 62 return mBitmap.getWidth(); in getMinimumWidth() 67 return mBitmap.getHeight(); in getMinimumHeight() 71 return mBitmap; in getBitmap()
|
D | WallpaperChooser.java | 48 private Bitmap mBitmap; field in WallpaperChooser 218 if (mBitmap != null) { in onPostExecute() 219 mBitmap.recycle(); in onPostExecute() 225 mBitmap = b; in onPostExecute()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | MonthView.java | 144 private Bitmap mBitmap; field in MonthView 503 if (mBitmap != null) { in onDetachedFromWindow() 504 mBitmap.recycle(); in onDetachedFromWindow() 526 if (mBitmap != null) { in onDraw() 527 canvas.drawBitmap(mBitmap, mBitmapRect, mBitmapRect, null); in onDraw() 609 Bitmap bitmap = Bitmap.createBitmap(width, height, mBitmap.getConfig()); in createBitmap() 887 Bitmap bitmap = Bitmap.createBitmap(width, height, mBitmap.getConfig()); in createEventBitmap() 1050 if (((mBitmap == null) in drawingCalc() 1051 || mBitmap.isRecycled() in drawingCalc() 1052 || (mBitmap.getHeight() != height) in drawingCalc() [all …]
|
D | CalendarView.java | 175 private Bitmap mBitmap; field in CalendarView 723 if ((mBitmap == null || mBitmap.getHeight() < mBitmapHeight) && width > 0 && in remeasure() 725 if (mBitmap != null) { in remeasure() 726 mBitmap.recycle(); in remeasure() 728 mBitmap = Bitmap.createBitmap(width, mBitmapHeight, Bitmap.Config.RGB_565); in remeasure() 729 mCanvas = new Canvas(mBitmap); in remeasure() 1223 if (mBitmap != null) { in onDraw() 1255 canvas.drawBitmap(mBitmap, src, dest, null); in drawCalendarView() 3071 if (mBitmap != null) { in onDetachedFromWindow() 3072 mBitmap.recycle(); in onDetachedFromWindow() [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | MusicUtils.java | 728 private Bitmap mBitmap; field in MusicUtils.FastBitmapDrawable 730 mBitmap = b; in FastBitmapDrawable() 734 canvas.drawBitmap(mBitmap, 0, 0, null); in draw()
|