Searched refs:region (Results 1 - 25 of 146) sorted by last modified time

123456

/haiku-fatelf/headers/os/game/
H A DDirectWindow.h103 status_t GetClippingRegion(BRegion *region,
/haiku-fatelf/src/system/kernel/
H A Delf.cpp517 dump_elf_region(struct elf_region *region, const char *name) argument
519 kprintf(" %s.id %" B_PRId32 "\n", name, region->id);
520 kprintf(" %s.start %#" B_PRIxADDR "\n", name, region->start);
521 kprintf(" %s.size %#" B_PRIxSIZE "\n", name, region->size);
522 kprintf(" %s.delta %ld\n", name, region->delta);
2077 // construct a nice name for the region we have to create below
2136 // clean garbage brought by mmap (the region behind the file,
2147 // the above region doesn't already comprise the memory size, too.
2374 elf_region *region; local
2406 region
[all...]
/haiku-fatelf/src/kits/interface/
H A DTextView.cpp616 BRegion region; local
617 GetTextRegion(fSelStart, fSelEnd, &region);
618 if (region.Contains(where)) {
620 fTrackingMouse->selectionRect = region.Frame();
1023 BRegion region; local
1024 GetTextRegion(fSelStart, fSelEnd, &region);
1025 if (region.Contains(fWhere))
2205 // return an empty region if the range is invalid
2220 // this is a one-line region
4861 BRegion region; local
[all...]
/haiku-fatelf/src/servers/app/drawing/
H A DAccelerantHWInterface.cpp1150 AccelerantHWInterface::FillRegion(/*const*/ BRegion& region, argument
1156 // convert the region
1158 _RegionToRectParams(&region, &count);
1176 AccelerantHWInterface::InvertRegion(/*const*/ BRegion& region) argument
1181 // convert the region
1183 _RegionToRectParams(&region, &count);
1433 AccelerantHWInterface::_CopyBackToFront(/*const*/ BRegion& region) argument
1439 int32 count = region.CountRects();
1442 rects[i] = region.RectAtInt(i);
1452 return HWInterface::_CopyBackToFront(region);
1468 _RegionToRectParams( BRegion* region, uint32* count) const argument
[all...]
H A DHWInterface.cpp339 HWInterface::InvalidateRegion(BRegion& region) argument
341 int32 count = region.CountRects();
343 status_t result = Invalidate(region.RectAt(i));
400 BRegion region((BRect)area);
402 region.Exclude((clipping_rect)_CursorFrame());
404 _CopyBackToFront(region);
418 HWInterface::_CopyBackToFront(/*const*/ BRegion& region) argument
425 int32 count = region.CountRects();
427 clipping_rect r = region.RectAtInt(i);
H A DHWInterface.h119 virtual void FillRegion(/*const*/ BRegion& region, argument
121 virtual void InvertRegion(/*const*/ BRegion& region) {} argument
161 virtual status_t InvalidateRegion(BRegion& region);
168 virtual void _CopyBackToFront(/*const*/ BRegion& region);
175 // BView::Draw() is called (if the cursor is within that views clipping region),
H A DAccelerantHWInterface.h67 virtual void FillRegion(/*const*/ BRegion& region,
69 virtual void InvertRegion(/*const*/ BRegion& region);
99 virtual void _CopyBackToFront(/*const*/ BRegion& region);
109 void _RegionToRectParams(/*const*/ BRegion* region,
/haiku-fatelf/src/kits/locale/
H A DLocaleRoster.cpp297 char region[5]; local
299 TimeZone::getRegion(zoneID, region, 5, icuStatus);
304 timeZones->AddString("region", region);
/haiku-fatelf/src/kits/media/
H A DBufferProducer.cpp32 BRegion* region)
40 region);
31 ClipDataToRegion(int32 format, int32 size, const void* data, BRegion* region) argument
/haiku-fatelf/src/system/boot/loader/
H A Delf.cpp241 RegionType* region; local
247 region = &image->data_region;
253 region = &image->text_region;
257 region->start = ROUNDDOWN(header.p_vaddr, B_PAGE_SIZE);
258 region->size = ROUNDUP(header.p_memsz + (header.p_vaddr % B_PAGE_SIZE),
260 region->delta = -region->start;
263 (uint64)region->start, (uint64)region->size,
264 (int64)(AddrType)region
324 RegionType* region; local
[all...]
/haiku-fatelf/src/tests/kits/game/direct_window_info_test/
H A Ddwinfo.cpp58 BRegion region; local
79 region.Set(info->window_bounds);
80 region.PrintToStream();
82 region.MakeEmpty();
84 region.Include(info->clip_list[i]);
87 region.PrintToStream();
/haiku-fatelf/src/tests/kits/interface/
H A DClippingPlusRedraw.cpp97 BRegion region(BRect(200, 100, 250, 150));
98 ConstrainClippingRegion(&region);
H A DSetDiskModeTest.cpp60 BRegion region; local
61 region.Include(BRect(10, 10, 40, 40));
62 region.Include(BRect(30, 30, 100, 50));
63 view->ConstrainClippingRegion(&region);
/haiku-fatelf/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp166 BRegion region(frame);
168 region.Exclude(frame);
169 view->FillRegion(&region);
411 BRegion region(frame);
414 region.Exclude(r);
415 view->ConstrainClippingRegion(&region);
/haiku-fatelf/src/tests/kits/interface/layout/widget_layout_test/
H A DView.cpp446 // compute the clipping region
447 BRegion region(Bounds());
449 region.Exclude(child->Frame());
451 if (region.Frame().IsValid()) {
452 // set the clipping region
453 container->ConstrainClippingRegion(&region);
464 // revert the clipping region
465 region.Set(Bounds());
466 container->ConstrainClippingRegion(&region);
/haiku-fatelf/src/tests/servers/app/async_drawing/
H A Dmain.cpp25 BRegion region; local
26 GetClippingRegion(&region);
28 int32 count = region.CountRects();
30 message.AddRect("rect", region.RectAt(i));
34 void AsyncRedraw(BRegion& region) argument
40 ConstrainClippingRegion(&region);
45 ConstrainClippingRegion(&region);
92 BRegion region; local
96 region.Include(rect);
97 fView->AsyncRedraw(region);
[all...]
/haiku-fatelf/src/tests/servers/app/constrain_clipping_region/
H A Dmain.cpp22 BRegion region; local
23 region.Include(BRect(20, 20, 40, 40));
24 region.Include(BRect(30, 30, 80, 80));
25 ConstrainClippingRegion(&region);
56 BRegion region; local
57 region.Include(BRect(20, 20, 40, 40));
58 region.Include(BRect(30, 30, 80, 80));
59 ConstrainClippingRegion(&region);
88 BRegion region; local
89 region
134 BRegion region; local
188 BRegion region; local
226 BRegion region; local
[all...]
/haiku-fatelf/src/tests/servers/app/drawing_debugger/
H A DDrawingDebugger.cpp22 int32 rectCount = region->CountRects();
24 BRect interestingRect = region->RectAt(i);
/haiku-fatelf/src/tests/servers/app/newClipping/
H A DLayer.h70 virtual bool alter_visible_for_children(BRegion &region);
H A DMyView.cpp201 void MyView::CopyRegion(BRegion *region, int32 xOffset, int32 yOffset) argument
204 int32 count = region->CountRects();
210 nodes[i].init(region->RectAt(i), count);
214 BRect a = region->RectAt(i);
216 BRect b = region->RectAt(k);
H A DMyView.h19 void CopyRegion(BRegion *region, int32 xOffset, int32 yOffset);
H A DWinBorder.cpp53 bool WinBorder::alter_visible_for_children(BRegion &region) argument
55 region.Exclude(&fDecRegion);
H A DWinBorder.h16 virtual bool alter_visible_for_children(BRegion &region);
/haiku-fatelf/src/tests/servers/app/newerClipping/
H A DDesktop.cpp353 // the dirty region starts with the visible area of the window being moved
361 // construct the region that is possible to be blitted
367 // include the the new visible region of the window being
368 // moved into the dirty region (for now)
446 // region anymore, so we need to remember
466 // when the window was hidden, the dirty region
572 Desktop::MarkDirty(BRegion* region) argument
574 if (region->CountRects() == 0)
578 // send redraw messages to all windows intersecting the dirty region
579 _TriggerWindowRedrawing(region);
[all...]
H A DDesktop.h92 void MarkDirty(BRegion* region);

Completed in 151 milliseconds

123456