Lines Matching refs:frame
162 BLayoutUtils::AlignInFrame(BRect frame, BSize maxSize, BAlignment alignment) in AlignInFrame() argument
165 if (maxSize.width < frame.Width() in AlignInFrame()
167 frame.left += (int)((frame.Width() - maxSize.width) in AlignInFrame()
169 frame.right = frame.left + maxSize.width; in AlignInFrame()
171 if (maxSize.height < frame.Height() in AlignInFrame()
173 frame.top += (int)((frame.Height() - maxSize.height) in AlignInFrame()
175 frame.bottom = frame.top + maxSize.height; in AlignInFrame()
178 return frame; in AlignInFrame()
184 BLayoutUtils::AlignInFrame(BView* view, BRect frame) in AlignInFrame() argument
191 if (maxSize.width < frame.Width() in AlignInFrame()
193 frame.OffsetBy(floorf((frame.Width() - maxSize.width) in AlignInFrame()
195 frame.right = frame.left + maxSize.width; in AlignInFrame()
201 view->GetHeightForWidth(frame.Width(), &minHeight, &maxHeight, in AlignInFrame()
203 frame.bottom = frame.top + std::max(frame.Height(), minHeight); in AlignInFrame()
206 frame = AlignInFrame(frame, maxSize, alignment); in AlignInFrame()
207 view->MoveTo(frame.LeftTop()); in AlignInFrame()
208 view->ResizeTo(frame.Size()); in AlignInFrame()
290 BRect frame = view->Frame(); in _GetLayoutTreeDump() local
301 indent.String(), frame.left, frame.top, frame.right, frame.bottom, in _GetLayoutTreeDump()
337 BRect frame = item->Frame(); in _GetLayoutTreeDump() local
353 indent.String(), frame.left, frame.top, frame.right, frame.bottom, in _GetLayoutTreeDump()