Searched refs:tryRect (Results 1 – 1 of 1) sorted by relevance
283 BRect tryRect = centeredRect; in _FindBestPlacement() local295 _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 …]