Lines Matching refs:frame
222 BatteryTab::DrawFocusMark(BView* owner, BRect frame)
226 float width = frame.Width() - horzOffset * 2;
227 BPoint pt1((frame.left + frame.right - width) / 2.0 + horzOffset,
228 frame.bottom - vertOffset);
229 BPoint pt2((frame.left + frame.right + width) / 2.0,
230 frame.bottom - vertOffset);
237 BatteryTab::DrawLabel(BView* owner, BRect frame)
239 BRect rect = frame;
243 if (frame.Width() > rect.Height()) {
244 rect.OffsetBy((frame.Width() - size) / 2.0f, 0.0f);
246 rect.OffsetBy(0.0f, (frame.Height() - size) / 2.0f);
291 BRect frame, int32 resizingMode, int batteryID,
294 PowerStatusView(interface, frame, resizingMode, batteryID),