Lines Matching refs:frame
26 WorkspacesView::WorkspacesView(BRect frame, BPoint scrollingOffset, in WorkspacesView() argument
29 View(frame, scrollingOffset, name, token, resizeMode, flags), in WorkspacesView()
92 BRect frame = Bounds(); in _WorkspaceAt() local
93 LocalToScreenTransform().Apply(&frame); in _WorkspaceAt()
95 int32 width = frame.IntegerWidth() / columns; in _WorkspaceAt()
96 int32 height = frame.IntegerHeight() / rows; in _WorkspaceAt()
104 rect.OffsetBy(frame.LeftTop()); in _WorkspaceAt()
108 rect.right = frame.right; in _WorkspaceAt()
110 rect.bottom = frame.bottom; in _WorkspaceAt()
144 BRect frame = windowFrame; in _WindowFrame() local
145 frame.OffsetTo(windowPosition); in _WindowFrame()
149 frame.left = frame.left * factor; in _WindowFrame()
150 frame.right = frame.right * factor; in _WindowFrame()
153 frame.top = frame.top * factor; in _WindowFrame()
154 frame.bottom = frame.bottom * factor; in _WindowFrame()
158 frame.OffsetTo(rintf(frame.left + workspaceFrame.left), in _WindowFrame()
159 rintf(frame.top + workspaceFrame.top)); in _WindowFrame()
160 frame.right = rintf(frame.right); in _WindowFrame()
161 frame.bottom = rintf(frame.bottom); in _WindowFrame()
163 return frame; in _WindowFrame()
176 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(), in _DrawWindow() local
185 if (!workspaceFrame.Intersects(frame) in _DrawWindow()
219 if (tabFrame.left < frame.left) { in _DrawWindow()
221 tabFrame.left = frame.left; in _DrawWindow()
224 if (tabFrame.right > frame.right) { in _DrawWindow()
226 tabFrame.right = frame.right; in _DrawWindow()
233 tabFrame.bottom = frame.top - 1; in _DrawWindow()
245 drawingEngine->StrokeRect(frame, frameColor); in _DrawWindow()
247 BRect fillFrame = frame.InsetByCopy(1, 1) & workspaceFrame; in _DrawWindow()
248 frame = frame & workspaceFrame; in _DrawWindow()
249 if (!frame.IsValid()) in _DrawWindow()
269 if (title.Length() > 0 && height < frame.Height() - 2) { in _DrawWindow()
277 textOffset.x = rintf(frame.left + (frame.Width() - width) / 2); in _DrawWindow()
278 textOffset.y = rintf(frame.top + (frame.Height() - height) / 2 in _DrawWindow()
284 backgroundRegion.Exclude(frame); in _DrawWindow()
358 BRect frame = Bounds(); in _Invalidate() local
359 LocalToScreenTransform().Apply(&frame); in _Invalidate()
361 BRegion region(frame), expose; in _Invalidate()
387 BRect frame = Bounds(); in Draw() local
388 LocalToScreenTransform().Apply(&frame); in Draw()
392 drawingEngine->StrokeLine(BPoint(frame.left, frame.top), in Draw()
393 BPoint(frame.right, frame.top), ViewColor()); in Draw()
397 drawingEngine->StrokeLine(BPoint(frame.left, rect.bottom), in Draw()
398 BPoint(frame.right, rect.bottom), ViewColor()); in Draw()
403 drawingEngine->StrokeLine(BPoint(frame.left, frame.top), in Draw()
404 BPoint(frame.left, frame.bottom), ViewColor()); in Draw()
408 drawingEngine->StrokeLine(BPoint(rect.right, frame.top), in Draw()
409 BPoint(rect.right, frame.bottom), ViewColor()); in Draw()
454 BRect frame = _WindowFrame(workspaceFrame, screenFrame, window->Frame(), in MouseDown() local
456 if (frame.Contains(where) && window->Feel() != kDesktopWindowFeel in MouseDown()
459 windowFrame = frame; in MouseDown()