Home
last modified time | relevance | path

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

/haiku/src/preferences/screensaver/
H A DScreenCornerSelector.cpp187 BRect centerRect = _CenterFrame(innerFrame); in _DrawStop() local
190 rect.left = centerRect.left + (centerRect.Width() - size) / 2; in _DrawStop()
191 rect.top = centerRect.top + (centerRect.Height() - size) / 2; in _DrawStop()
192 if (rect.left < centerRect.left || rect.top < centerRect.top) { in _DrawStop()
193 size = centerRect.Height(); in _DrawStop()
194 rect.top = centerRect.top; in _DrawStop()
195 rect.left = centerRect.left + (centerRect.Width() - size) / 2; in _DrawStop()
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1248 BRect centerRect(fManager->CenterRect()); in AllAttached() local
1252 centerRect.OffsetBy(frame.left, frame.top); in AllAttached()
1255 fIconView->ConvertToParent(&centerRect); in AllAttached()
1257 fCenter = centerRect; in AllAttached()
1908 BRect centerRect(fManager->CenterRect()); in AnimateIcon() local
1921 off = roundf((centerRect.Width() - rect.Width()) / 2); in AnimateIcon()
1926 off = roundf((centerRect.Width() - endRect.Width()) / 2); in AnimateIcon()
1930 centerRect.OffsetBy(bounds.left, 0); in AnimateIcon()
1934 destRect.OffsetTo(centerRect.left, 0); in AnimateIcon()
1937 off = roundf((centerRect.Width() - destRect.Width()) / 2); in AnimateIcon()