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

123456

/haiku/src/kits/interface/
H A DHaikuControlLook.cpp1949 BRegion region(rect);
1952 region.Exclude(rect);
1954 view->FillRegion(&region);
1992 BRegion region(rect);
1995 region.Exclude(rect);
1997 view->FillRegion(&region);
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 DTextView.cpp592 BRegion region; local
593 GetTextRegion(fSelStart, fSelEnd, &region);
594 if (region.Contains(where)) {
596 fTrackingMouse->selectionRect = region.Frame();
991 BRegion region; local
992 GetTextRegion(fSelStart, fSelEnd, &region);
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 DColumnListView.cpp1980 BRegion region(rect & fStatusView->Frame().InsetByCopy(-2, -2));
1981 ConstrainClippingRegion(&region);
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 DFlatControlLook.cpp1206 BRegion region(rect);
1209 region.Exclude(rect);
1211 view->FillRegion(&region);
1249 BRegion region(rect);
1252 region.Exclude(rect);
1254 view->FillRegion(&region);
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp1848 BRegion region(rect);
1851 region.Exclude(rect);
1853 view->FillRegion(&region);
1891 BRegion region(rect);
1894 region.Exclude(rect);
1896 view->FillRegion(&region);
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.h72 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 DAccelerantHWInterface.cpp1222 AccelerantHWInterface::FillRegion(/*const*/ BRegion& region, argument
1228 // convert the region
1230 _RegionToRectParams(&region, &count);
1248 AccelerantHWInterface::InvertRegion(/*const*/ BRegion& region) argument
1253 // convert the region
1255 _RegionToRectParams(&region, &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 DWorkspacesView.cpp315 // 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 DWindow.h123 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 DWindow.cpp197 // 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 DView.h201 BRegion& region,
H A DView.cpp645 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 DServerWindow.cpp2128 // if this view is hidden, it has no visible region
2135 BRegion region(fCurrentDrawingRegion);
2136 fCurrentView->ScreenToLocalTransform().Apply(&region);
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(&region) < 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 DDesktop.h244 void MarkDirty(BRegion& region) argument
245 { return MarkDirty(region, region); }
H A DDesktop.cpp1489 // 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 DKeyboardLayoutView.cpp803 BRegion region(rect);
804 region.Exclude(bottomLeft);
805 view->ConstrainClippingRegion(&region);
820 // reset the clipping region
/haiku/src/system/boot/loader/
H A Delf.cpp263 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 DStatusView.cpp1358 /*! 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 Delf.cpp515 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 Dmmu.cpp265 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 DPadView.cpp173 BRegion region;
174 GetClippingRegion(&region);
175 if (!region.Contains(where))
/haiku/src/kits/media/
H A DBufferConsumer.cpp68 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 DDVBMediaNode.cpp1202 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 DView.h234 void GetClippingRegion(BRegion* region) const;
235 virtual void ConstrainClippingRegion(BRegion* region);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp357 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...]

Completed in 245 milliseconds

123456