/haiku/src/kits/interface/ |
H A D | HaikuControlLook.cpp | 1949 BRegion region(rect); 1952 region.Exclude(rect); 1954 view->FillRegion(®ion); 1992 BRegion region(rect); 1995 region.Exclude(rect); 1997 view->FillRegion(®ion); 3297 // constrain clipping region to corner 3334 // constrain clipping region to corner 3377 // constrain clipping region to corner 3426 // constrain clipping region t [all...] |
H A D | TextView.cpp | 592 BRegion region; local 593 GetTextRegion(fSelStart, fSelEnd, ®ion); 594 if (region.Contains(where)) { 596 fTrackingMouse->selectionRect = region.Frame(); 991 BRegion region; local 992 GetTextRegion(fSelStart, fSelEnd, ®ion); 993 if (region.Contains(fWhere)) 2094 // return an empty region if the range is invalid 2110 // this is a one-line region 4903 BRegion region; local [all...] |
H A D | ColumnListView.cpp | 1980 BRegion region(rect & fStatusView->Frame().InsetByCopy(-2, -2)); 1981 ConstrainClippingRegion(®ion); 4527 // New item is somewhere in the current region. Scroll everything 4535 } // otherwise, this is below the currently visible region 4548 // Constrain the clipping region so everything is clipped out so no
|
/haiku/src/add-ons/control_look/FlatControlLook/ |
H A D | FlatControlLook.cpp | 1206 BRegion region(rect); 1209 region.Exclude(rect); 1211 view->FillRegion(®ion); 1249 BRegion region(rect); 1252 region.Exclude(rect); 1254 view->FillRegion(®ion);
|
/haiku/src/add-ons/control_look/BeControlLook/ |
H A D | BeControlLook.cpp | 1848 BRegion region(rect); 1851 region.Exclude(rect); 1853 view->FillRegion(®ion); 1891 BRegion region(rect); 1894 region.Exclude(rect); 1896 view->FillRegion(®ion);
|
/haiku/src/servers/app/drawing/interface/local/ |
H A D | AccelerantHWInterface.h | 72 virtual void FillRegion(/*const*/ BRegion& region, 74 virtual void InvertRegion(/*const*/ BRegion& region); 104 virtual void _CopyBackToFront(/*const*/ BRegion& region); 117 void _RegionToRectParams(/*const*/ BRegion* region,
|
H A D | AccelerantHWInterface.cpp | 1222 AccelerantHWInterface::FillRegion(/*const*/ BRegion& region, argument 1228 // convert the region 1230 _RegionToRectParams(®ion, &count); 1248 AccelerantHWInterface::InvertRegion(/*const*/ BRegion& region) argument 1253 // convert the region 1255 _RegionToRectParams(®ion, &count); 1554 AccelerantHWInterface::_CopyBackToFront(/*const*/ BRegion& region) argument 1560 int32 count = region.CountRects(); 1563 rects[i] = region.RectAtInt(i); 1573 return HWInterface::_CopyBackToFront(region); 1589 _RegionToRectParams( BRegion* region, uint32* count) const argument [all...] |
/haiku/src/servers/app/ |
H A D | WorkspacesView.cpp | 315 // TODO: would be nice to get the real update region here 332 // We draw from top down and cut the window out of the clipping region 361 BRegion region(frame), expose; 362 Window()->MarkContentDirty(region, expose);
|
H A D | Window.h | 123 void GetFullRegion(BRegion* region); 124 void GetBorderRegion(BRegion* region); 125 void GetContentRegion(BRegion* region); 143 BRegion& region); 177 // managing a region pool 184 inline void RecycleRegion(BRegion* region) argument 185 { fRegionPool.Recycle(region); } 187 void CopyContents(BRegion* region, 319 void _ShiftPartOfRegion(BRegion* region, 345 // the visible region i [all...] |
H A D | Window.cpp | 197 // start from full region (as if the window was fully visible) 199 // clip to region still available on screen 208 Window::GetFullRegion(BRegion* region) argument 214 GetBorderRegion(region); 215 region->Include(fFrame); 220 Window::GetBorderRegion(BRegion* region) argument 227 *region = decorator->GetFootprint(); 229 region->MakeEmpty(); 234 Window::GetContentRegion(BRegion* region) argument 243 *region 463 CopyContents(BRegion* region, int32 xOffset, int32 yOffset) argument 697 GetEffectiveDrawingRegion(View* view, BRegion& region) argument 1750 _ShiftPartOfRegion(BRegion* region, BRegion* regionToShift, int32 xOffset, int32 yOffset) argument [all...] |
H A D | View.h | 201 BRegion& region,
|
H A D | View.cpp | 645 BRegion* region = fWindow->GetRegion(); 646 if (region) { 647 region->Set(oldVisibleBounds & newVisibleBounds); 648 fWindow->CopyContents(region, x, y); 650 region->Set(oldVisibleBounds); 652 region->Exclude((clipping_rect)newVisibleBounds); 655 fWindow->RecycleRegion(region); 698 // the dirty region is just the difference of 782 // remember old bounds for tracking dirty region 809 // find the dirty region a 1301 AddTokensForViewsInRegion(BPrivate::PortLink& link, BRegion& region, BRegion* windowContentClipping) argument [all...] |
H A D | ServerWindow.cpp | 2128 // if this view is hidden, it has no visible region 2135 BRegion region(fCurrentDrawingRegion); 2136 fCurrentView->ScreenToLocalTransform().Apply(®ion); 2137 fLink.AttachRegion(region); 2148 // region for the current draw state, 2149 // but an *empty* region is actually valid! 2156 // we are supposed to set the clipping region 2157 BRegion region; local 2158 if (rectCount > 0 && link.ReadRegion(®ion) < B_OK) 2165 region 2284 BRegion region; local 3002 BRegion region; local 3016 BRegion region; local 3426 BRegion region; local 3698 BRegion region; local 3952 BRegion region; local [all...] |
H A D | Desktop.h | 244 void MarkDirty(BRegion& region) argument 245 { return MarkDirty(region, region); }
|
H A D | Desktop.cpp | 1489 // the dirty region starts with the visible area of the window being moved 1504 // construct the region that is possible to be blitted 1509 // newDirtyRegion == the windows old visible region 1511 // include the the new visible region of the window being 1512 // moved into the dirty region (for now) 1522 // in the dirty region, exclude the parts that we 1561 // The dirty region for the inside of the window is constructed by the window itself in 1564 // Track the dirty region outside the window in case it is shrunk in "previouslyOccupiedRegion" 1566 // Track the region that was drawn in previous update sessions, so we can compute the newly 1567 // exposed areas by excluding this from the update region 3886 BRegion* region = (BRegion*)previousRegions.ItemAt(i); local [all...] |
/haiku/src/preferences/keymap/ |
H A D | KeyboardLayoutView.cpp | 803 BRegion region(rect); 804 region.Exclude(bottomLeft); 805 view->ConstrainClippingRegion(®ion); 820 // reset the clipping region
|
/haiku/src/system/boot/loader/ |
H A D | elf.cpp | 263 RegionType* region; local 269 region = &image->data_region; 275 region = &image->text_region; 279 region->start = ROUNDDOWN(header.p_vaddr, B_PAGE_SIZE); 280 region->size = ROUNDUP(header.p_memsz + (header.p_vaddr % B_PAGE_SIZE), 282 region->delta = -region->start; 285 B_PRIu64 ", delta = %" B_PRIx64 "\n", i, (uint64)region->start, 286 (uint64)region->size, (int64)(AddrType)region 346 RegionType* region; local [all...] |
/haiku/src/apps/deskbar/ |
H A D | StatusView.cpp | 1358 /*! Draggable region that is asynchronous so that dragging does not block 1457 // draw drag region highlighted if tracking mouse 1560 TDragRegion::SwitchModeForRegion(BPoint where, BRegion region, argument 1563 if (!region.Contains(where)) { 1564 // not our region 1774 /*! Draggable region that is asynchronous so that resizing does not block. 1817 // draw drag region highlighted if tracking mouse
|
/haiku/src/system/kernel/ |
H A D | elf.cpp | 515 dump_elf_region(struct elf_region *region, const char *name) argument 517 kprintf(" %s.id %" B_PRId32 "\n", name, region->id); 518 kprintf(" %s.start %#" B_PRIxADDR "\n", name, region->start); 519 kprintf(" %s.size %#" B_PRIxSIZE "\n", name, region->size); 520 kprintf(" %s.delta %ld\n", name, region->delta); 1908 // construct a nice name for the region we have to create below 1985 // clean garbage brought by mmap (the region behind the file, 1998 // the above region doesn't already comprise the memory size, too. 2260 elf_region *region; local 2307 region [all...] |
/haiku/src/system/boot/platform/riscv/ |
H A D | mmu.cpp | 265 MemoryRegion* region; local 266 for (region = sRegions; region != NULL; region = region->next) { 268 .isRead = (region->protection & B_READ_AREA) != 0, 269 .isWrite = (region->protection & B_WRITE_AREA) != 0, 270 .isExec = (region->protection & B_EXECUTE_AREA) != 0 272 MapRange(region->virtAdr, region 333 MemoryRegion* region = sRegions; local 377 MemoryRegion* region = sRegions; local 393 MemoryRegion* region = sRegions; local [all...] |
/haiku/src/apps/launchbox/ |
H A D | PadView.cpp | 173 BRegion region; 174 GetClippingRegion(®ion); 175 if (!region.Contains(where))
|
/haiku/src/kits/media/ |
H A D | BufferConsumer.cpp | 68 BBufferConsumer::RegionToClipData(const BRegion* region, int32* _format, argument 74 status_t status = BBufferProducer::clip_region_to_shorts(region,
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBMediaNode.cpp | 1202 TRACE("state %d, region %d, channel %d, audio %d\n", 2234 BDiscreteParameter *region = pref->MakeDiscreteParameter( local 2245 AddRegionItems(region);
|
/haiku/headers/os/interface/ |
H A D | View.h | 234 void GetClippingRegion(BRegion* region) const; 235 virtual void ConstrainClippingRegion(BRegion* region);
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.cpp | 357 Painter::ConstrainClipping(const BRegion* region) argument 359 fClippingRegion = region; 360 fBaseRenderer.set_clipping_region(const_cast<BRegion*>(region)); 361 fValidClipping = region->Frame().IsValid() && fAttached; 1461 Painter::FillRegion(const BRegion* region) const 1465 BRegion copy(*region); 1477 Painter::FillRegion(const BRegion* region, const BGradient& gradient) argument 1481 BRegion copy(*region); 1497 BRegion region(r); 1498 region [all...] |