Searched refs:bitmap (Results 51 - 75 of 295) sorted by relevance

1234567891011>>

/haiku/src/apps/mediaplayer/
H A DVideoView.cpp78 if (const BBitmap* bitmap = GetBitmap()) {
81 _DrawBitmap(bitmap);
170 VideoView::SetBitmap(const BBitmap* bitmap) argument
172 VideoTarget::SetBitmap(bitmap);
173 // Attention: Don't lock the window, if the bitmap is NULL. Otherwise
177 if (!bitmap || LockLooperWithTimeout(10000) != B_OK)
182 || (bitmap->Flags() & B_BITMAP_WILL_OVERLAY) != 0) {
186 status_t ret = SetViewOverlay(bitmap, bitmap->Bounds(),
200 if (bitmap
391 _DrawBitmap(const BBitmap* bitmap) argument
[all...]
/haiku/src/apps/mediaplayer/support/
H A DStackBlurFilter.h44 void Filter(BBitmap* bitmap, double radius);
/haiku/src/preferences/media/
H A DMediaIcons.h38 BBitmap* bitmap);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DReplyBuilder.cpp73 uint32 bitmap = 0; local
75 bitmap |= 1 << FATTR4_CHANGE;
77 bitmap |= 1 << FATTR4_SIZE;
79 fReply->Stream().AddUInt(bitmap);
H A DRequestInterpreter.cpp48 uint32 bitmap = fRequest->Stream().GetUInt(); local
51 if ((bitmap & (1 << FATTR4_CHANGE)) != 0)
53 if ((bitmap & (1 << FATTR4_SIZE)) != 0)
/haiku/src/servers/app/drawing/
H A DBitmapBuffer.h12 BitmapBuffer(ServerBitmap* bitmap);
H A DOverlay.cpp61 Overlay::Overlay(HWInterface& interface, ServerBitmap* bitmap, argument
80 _AllocateBuffer(bitmap);
82 TRACE("overlay: created %p, bitmap %p\n", this, bitmap);
110 Overlay::Resume(ServerBitmap* bitmap) argument
119 status_t status = _AllocateBuffer(bitmap);
129 Overlay::Suspend(ServerBitmap* bitmap, bool needTemporary) argument
154 Overlay::_AllocateBuffer(ServerBitmap* bitmap) argument
156 fOverlayBuffer = fHWInterface.AllocateOverlayBuffer(bitmap->Width(),
157 bitmap
[all...]
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dvnidpool.h13 uint32 *bitmap; member in struct:vnidpool
H A Dvnidpool.c13 /* primary type for the bitmap */
16 #define BM_BYTE(p, vnid) (p->bitmap[(vnid % p->bmsize) / sizeof(BMT)])
35 p->bitmap = (BMT *)(p + 1);
37 memset(p->bitmap, 0, size / sizeof(BMT));
38 fprintf(stderr, "vnidpool_alloc: pool @ %p, bitmap @ %p, size %ld\n", p, p->bitmap, p->bmsize);
52 if (pool->bitmap[i])
/haiku/src/bin/
H A Dnotify.cpp209 BBitmap* bitmap = BTranslationUtils::GetBitmap(ref); local
210 if (bitmap)
211 return bitmap;
215 bitmap = new BBitmap(BRect(0, 0, (float)B_LARGE_ICON - 1,
218 kLargeIconAttribute, B_LARGE_ICON, bitmap) != B_OK) {
219 delete bitmap;
220 bitmap = NULL;
223 return bitmap;
246 BBitmap* bitmap = _GetBitmap(&fFileRef); local
247 if (bitmap) {
[all...]
/haiku/src/servers/app/
H A DCursorSet.cpp106 message.AddString("class", "bitmap");
131 // Convert cursor data to a bitmap because all cursors are internally stored
136 ObjectDeleter<BBitmap> bitmap(_CursorDataToBitmap(data));
139 status_t result = AddCursor(which, bitmap.Get(), hotspot);
196 BBitmap *bitmap = new(std::nothrow) BBitmap(message.FindRect("_frame"), local
198 if (bitmap == NULL)
201 memcpy(bitmap->Bits(), buffer,
202 min_c(bufferLength, bitmap->BitsLength()));
204 *_cursor = bitmap;
384 BBitmap *bitmap
[all...]
/haiku/src/tests/servers/app/cursor_test/
H A DCursorBitmapTest.cpp23 #include "bitmap.h"
116 BBitmap* bitmap = new BBitmap( local
118 bitmap->ImportBits(kBitmapBits, sizeof(kBitmapBits), kBitmapWidth * 4,
121 BCursor cursor(bitmap, hotspot);
/haiku/src/apps/musiccollection/
H A DMusicFileListView.h62 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); local
63 BView* bitmapView = new BView(rect, "bitmap", B_FOLLOW_NONE,
66 bitmap->Lock();
67 bitmap->AddChild(bitmapView);
83 bitmap->Unlock();
92 DragMessage(&dragMessage, bitmap, B_OP_ALPHA, pt, this);
/haiku/src/tests/kits/interface/bshelf/Container/
H A DContainerWindow.cpp148 // create background bitmap
149 BBitmap *bitmap = NULL; local
151 bitmap = BTranslationUtils :: GetBitmap('JPEG',"DropZone.jpeg"); // load bitmap from resource
153 if ( (bitmap != NULL) && (fContainerView != NULL) ) fContainerView -> SetViewBitmap(bitmap);
154 delete bitmap;
/haiku/src/kits/app/
H A DCursor.cpp91 BCursor::BCursor(const BBitmap* bitmap, const BPoint& hotspot) argument
96 if (bitmap == NULL)
99 BRect bounds = bitmap->Bounds();
100 color_space colorspace = bitmap->ColorSpace();
101 void* bits = bitmap->Bits();
102 int32 size = bitmap->BitsLength();
112 link.Attach<int32>(bitmap->BytesPerRow());
/haiku/src/tests/kits/interface/bbitmap/
H A DBBitmapTester.cpp102 BApplication app("application/x-vnd.obos.bitmap-constructor-test");
199 // create and check bitmap
200 BBitmap bitmap(testCase.bounds, testCase.space);
201 CHK(bitmap.InitCheck() == B_OK);
202 CHK(bitmap.IsValid() == true);
203 CHK(bitmap.Bits() != NULL);
204 CHK(bitmap.Bounds() == testCase.bounds);
205 CHK(bitmap.ColorSpace() == testCase.space);
206 if (bitmap.BytesPerRow() != bpr) {
207 printf("space: %x: bpr: %ld (%ld)\n", testCase.space, bitmap
[all...]
/haiku/src/kits/shared/
H A DIconView.cpp51 BBitmap* bitmap = new BBitmap(BRect(BPoint(0, 0), local
53 if (bitmap == NULL)
57 fIconBitmap = bitmap;
91 BBitmap* bitmap = new BBitmap(BRect(BPoint(0, 0), local
93 if (bitmap == NULL)
97 fIconBitmap = bitmap;
/haiku/src/libs/icon/shape/
H A DReferenceImage.cpp61 BBitmap* bitmap = new (nothrow) BBitmap(other.Style()->Bitmap()); local
62 if (bitmap == NULL)
66 SetImage(bitmap);
108 BBitmap* bitmap = dynamic_cast<BBitmap*>(BBitmap::Instantiate(archive)); local
109 if (bitmap == NULL)
111 SetImage(bitmap);
/haiku/src/apps/haikudepot/model/
H A DPackageScreenshotRepository.cpp43 PackageScreenshotRepository::LoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap) argument
45 if (bitmap == NULL)
46 debugger("expected the bitmap to be supplied");
65 *bitmap = BitmapRef(new(std::nothrow)SharedBitmap(fileIo), true);
80 BitmapRef* bitmap)
82 if (bitmap == NULL)
83 debugger("expected the bitmap to be supplied");
94 *bitmap = BitmapRef(new(std::nothrow)SharedBitmap(*data), true);
79 CacheAndLoadScreenshot(const ScreenshotCoordinate& coord, BitmapRef* bitmap) argument
/haiku/src/tests/servers/app/bitmap_bounds/
H A Dmain.cpp80 // bitmap image is drawn. Otherwise, the entire bitmap
86 // top area of the bitmap...
88 // BRect bitmap = view.OffsetByCopy(fBitmap->Bounds().LeftTop());
90 // DrawBitmap(fBitmap, bitmap, view);
94 // bitmap at the left top corner of the view
95 BRect bitmap = fBitmap->Bounds(); local
96 BRect view = bitmap.OffsetToCopy(B_ORIGIN);
98 DrawBitmap(fBitmap, bitmap, view);
/haiku/headers/private/kernel/util/
H A DRadixBitmap.h29 * The radix bitmap structure is ported from FreeBSD.
45 bitmap_t bitmap; // bitmap for the slots if we are a leaf member in union:radix_node::__anon1101
/haiku/src/add-ons/print/drivers/pcl5/
H A DPCL5.h23 virtual bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku/src/tests/servers/app/painter/
H A DBitmapView.h14 BBitmap* bitmap);
/haiku/src/add-ons/print/drivers/lpstyl/
H A DLpstyl.h34 bool NextBand(BBitmap* bitmap, BPoint* offset);
/haiku/src/apps/haikudepot/ui_generic/
H A DBitmapView.h27 void SetBitmap(SharedBitmap* bitmap,

Completed in 137 milliseconds

1234567891011>>