Searched defs:mBitmap (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Gallery3D/src/com/cooliris/media/
H A DBitmapTexture.java23 final Bitmap mBitmap; field in class:BitmapTexture
26 mBitmap = bitmap;
31 return mBitmap;
H A DRotateBitmap.java24 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 DTexture.java35 Bitmap mBitmap; field in class:Texture
48 if (mBitmap != null) {
49 mBitmap.recycle();
50 mBitmap = null;
H A DPhotographs.java81 private final Bitmap mBitmap; field in class:Photographs.SetWallpaperThread
87 mBitmap = bitmap;
96 mContext.setWallpaper(mBitmap);
H A DWallpaper.java79 private final Bitmap mBitmap; field in class:Wallpaper.SetWallpaperThread
85 mBitmap = bitmap;
94 mContext.setWallpaper(mBitmap);
H A DCanvasTexture.java37 private Bitmap mBitmap = null; field in class:CanvasTexture
94 Bitmap bitmap = mBitmap;
138 mBitmap = bitmap;
H A DCropImage.java98 private Bitmap mBitmap; field in class:CropImage
247 mBitmap = (Bitmap) extras.getParcelable("data");
257 if (mBitmap == null) {
268 mBitmap = UriTexture.createFromUri(this, mItem.mContentUri, 1024, 1024, 0, null);
271 mBitmap = UriTexture.createFromUri(this, target.toString(), 1024, 1024, 0, null);
282 if (mBitmap != null && rotation != 0f) {
283 mBitmap = Util.rotate(mBitmap, rotation);
287 if (mBitmap == null) {
317 mImageView.setImageBitmapResetBase(mBitmap, tru
[all...]
/packages/apps/Camera/src/com/android/camera/ui/
H A DResourceTexture.java31 private Bitmap mBitmap; field in class:ResourceTexture
40 if (mBitmap != null) return mBitmap;
41 mBitmap = BitmapFactory.decodeResource(mContext.getResources(), mResId);
42 setSize(mBitmap.getWidth(), mBitmap.getHeight());
44 if (Util.isPowerOf2(mWidth) && Util.isPowerOf2(mHeight)) return mBitmap;
46 Bitmap oldBitmap = mBitmap;
47 mBitmap = generateGLCompatibleBitmap(mWidth, mHeight);
48 Canvas canvas = new Canvas(mBitmap);
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java24 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 DCropImage.java84 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...]
H A DViewImage.java1196 Bitmap mBitmap; field in class:BitmapCache.Entry
1202 mBitmap = null;
1230 return e.mBitmap;
1263 if (best.mBitmap != null) {
1264 best.mBitmap.recycle();
1268 best.mBitmap = bitmap;
1274 if (e.mBitmap != null) {
1275 e.mBitmap.recycle();
1292 if (e.mBitmap == b) {
H A DGridViewSpecial.java968 // drawn to mBitmap. mBitmap is later used in onDraw() of GridViewSpecial.
970 private Bitmap mBitmap; field in class:ImageBlockManager.ImageBlock
983 mBitmap = Bitmap.createBitmap(mBlockWidth, mBlockHeight,
985 mCanvas = new Canvas(mBitmap);
1003 mBitmap.recycle();
1004 mBitmap = null;
1071 if (mBitmap == null) return; // This block has been recycled.
1113 canvas.drawBitmap(mBitmap, xPos, yPos, null);
1126 canvas.drawBitmap(mBitmap, srcRec
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFastBitmapDrawable.java26 private Bitmap mBitmap; field in class:FastBitmapDrawable
31 mBitmap = b;
33 mWidth = mBitmap.getWidth();
34 mHeight = mBitmap.getHeight();
42 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, null);
79 mBitmap = b;
81 mWidth = mBitmap.getWidth();
82 mHeight = mBitmap.getHeight();
89 return mBitmap;
H A DDragView.java42 private Bitmap mBitmap; field in class:DragView
78 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true);
87 setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight());
101 float width = mBitmap.getWidth();
106 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint);
112 mBitmap.recycle();
H A DWallpaperChooser.java51 private Bitmap mBitmap; field in class:WallpaperChooser
225 if (mBitmap != null) {
226 mBitmap.recycle();
232 mBitmap = b;
/packages/apps/Browser/src/com/android/browser/
H A DMeshTracker.java157 private Bitmap mBitmap; field in class:MeshTracker
174 mBitmap = bm;
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkWidgetService.java257 if (res.mBitmap != null) {
258 views.setImageViewBitmap(R.id.image, res.mBitmap);
285 Bitmap mBitmap; field in class:BookmarkWidgetService.RenderResult
371 res.mBitmap = Bitmap.createScaledBitmap(orig, WIDTH, HEIGHT, true);
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/
H A DSlideshow.java68 private Bitmap mBitmap; field in class:Slideshow
86 if (mBitmap != null) {
87 mRect = getRectToFitBitmap(mBitmap.getWidth(), mBitmap.getHeight(), width, height);
124 if (mBitmap != null) {
135 c.drawBitmap(mBitmap, mRect, mFrameRect, paint);
148 mBitmap = mQueuedBitmap;
158 c.drawBitmap(mBitmap, mRect, mFrameRect, paint);
186 if (mBitmap == null) {
187 mBitmap
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DMonthView.java130 private Bitmap mBitmap; field in class:MonthView
527 if (mBitmap != null) {
528 mBitmap.recycle();
550 if (mBitmap != null) {
551 canvas.drawBitmap(mBitmap, mBitmapRect, mBitmapRect, null);
632 // Create a bitmap with the same format as mBitmap (should be Bitmap.Config.ARGB_8888)
633 Bitmap bitmap = Bitmap.createBitmap(width, height, mBitmap.getConfig());
1002 if (((mBitmap == null)
1003 || mBitmap.isRecycled()
1004 || (mBitmap
[all...]
H A DCalendarView.java194 private Bitmap mBitmap; field in class:CalendarView
767 if ((mBitmap == null || mBitmap.getHeight() < mBitmapHeight) && width > 0 &&
769 if (mBitmap != null) {
770 mBitmap.recycle();
772 mBitmap = Bitmap.createBitmap(width, mBitmapHeight, Bitmap.Config.RGB_565);
773 mCanvas = new Canvas(mBitmap);
1276 if (mBitmap != null) {
1308 canvas.drawBitmap(mBitmap, src, dest, null);
3196 if (mBitmap !
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java822 private Bitmap mBitmap; field in class:MusicUtils.FastBitmapDrawable
824 mBitmap = b;
828 canvas.drawBitmap(mBitmap, 0, 0, null);

Completed in 288 milliseconds