Home
last modified time | relevance | path

Searched refs:tryRect (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticWindow.cpp283 BRect tryRect = centeredRect; in _FindBestPlacement() local
295 _OffsetRect(&tryRect, primaryDirection); in _FindBestPlacement()
297 if (!screen.Frame().Contains(tryRect)) in _FindBestPlacement()
298 _OffscreenBounceBack(&tryRect, &primaryDirection, left); in _FindBestPlacement()
300 if (!screen.Frame().Contains(tryRect)) in _FindBestPlacement()
303 tryRectList.AddItem(new BRect(tryRect)); in _FindBestPlacement()
308 tryRect = centeredRect; in _FindBestPlacement()
310 _OffsetRect(&tryRect, primaryDirection); in _FindBestPlacement()
312 if (!screen.Frame().Contains(tryRect)) in _FindBestPlacement()
313 _OffscreenBounceBack(&tryRect, &primaryDirection, right); in _FindBestPlacement()
[all …]