Searched refs:viewBounds (Results 1 - 5 of 5) sorted by relevance

/haiku/src/kits/tracker/
H A DBackgroundImage.cpp200 BRect viewBounds(view->Bounds());
212 (viewBounds.Width() - bitmapBounds.Width()) / 2,
213 (viewBounds.Height() - bitmapBounds.Height()) / 2);
220 >= BRectRatio(viewBounds)) {
221 float overlap = BRectHorizontalOverlap(viewBounds,
224 viewBounds.Width() + overlap, viewBounds.Height());
226 float overlap = BRectVerticalOverlap(viewBounds,
229 viewBounds.Width(), viewBounds
[all...]
H A DPoseView.cpp1797 BPose* pose, BRect &viewBounds, float &listViewScrollBy, bool forceDraw,
1820 if (poseBounds.top > viewBounds.bottom) {
1829 srcRect = srcRect & viewBounds;
1835 if (destRect.bottom > viewBounds.top
1838 destRect.top = viewBounds.top;
1842 // will always be true because srcRect is built from viewBounds.
1848 if (srcRect.Intersects(viewBounds)
1849 || destRect.Intersects(viewBounds)) {
1854 // the viewBounds top, it means the view is scrolled
1857 if (srcRect.top == viewBounds
1796 AddPoseToList(PoseList* list, bool visibleList, bool insertionSort, BPose* pose, BRect &viewBounds, float &listViewScrollBy, bool forceDraw, int32* indexPtr) argument
1913 BRect viewBounds; local
3588 PlacePose(BPose* pose, BRect &viewBounds) argument
3820 NextSlot(BPose* pose, BRect &poseRect, BRect viewBounds) argument
[all...]
H A DPoseView.h471 bool insertionSort, BPose* pose, BRect&viewBounds,
524 bool SlotOccupied(BRect poseRect, BRect viewBounds) const;
525 void NextSlot(BPose*, BRect&poseRect, BRect viewBounds);
/haiku/src/preferences/backgrounds/
H A DBackgroundImage.cpp271 BRect viewBounds(view->Bounds());
275 float x_ratio = viewBounds.Width() / mode.virtual_width;
276 float y_ratio = viewBounds.Height() / mode.virtual_height;
294 (viewBounds.Width() - destinationBitmapBounds.Width()) / 2,
295 (viewBounds.Height() - destinationBitmapBounds.Height())
303 >= BRectRatio(viewBounds)) {
304 float overlap = BRectHorizontalOverlap(viewBounds,
307 viewBounds.Width() + overlap, viewBounds.Height());
309 float overlap = BRectVerticalOverlap(viewBounds,
[all...]
/haiku/src/apps/pairs/
H A DPairsWindow.cpp146 BRect viewBounds = Bounds(); local
147 viewBounds.top = fMenuBar->Bounds().Height() + 1;
170 fPairsView = new PairsView(viewBounds, "PairsView", rows, cols, iconSize);

Completed in 185 milliseconds