Searched refs:centerRect (Results 1 – 2 of 2) sorted by relevance
187 BRect centerRect = _CenterFrame(innerFrame); in _DrawStop() local190 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()
1248 BRect centerRect(fManager->CenterRect()); in AllAttached() local1252 centerRect.OffsetBy(frame.left, frame.top); in AllAttached()1255 fIconView->ConvertToParent(¢erRect); in AllAttached()1257 fCenter = centerRect; in AllAttached()1908 BRect centerRect(fManager->CenterRect()); in AnimateIcon() local1921 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()