Lines Matching defs:frame

139 	virtual	void			SetFrame(BRect frame);
158 virtual void SetFrame(BRect frame);
439 ActivityView::HistoryLayoutItem::SetFrame(BRect frame)
441 fFrame = frame;
494 ActivityView::LegendLayoutItem::SetFrame(BRect frame)
496 fFrame = frame;
553 ActivityView::ActivityView(BRect frame, const char* name,
555 : BView(frame, name, resizingMode,
939 BRect frame = _HistoryFrame();
940 frame.OffsetTo(B_ORIGIN);
942 if (fOffscreen != NULL && frame == fOffscreen->Bounds())
949 fOffscreen = new(std::nothrow) BBitmap(frame, B_BITMAP_ACCEPTS_VIEWS,
957 BView* view = new BView(frame, NULL, B_FOLLOW_NONE, B_SUBPIXEL_PRECISE);
1088 BRect frame = _LegendColorFrameAt(legendFrame, i);
1089 if (frame.Contains(dropPoint)) {
1092 Invalidate(frame);
1219 BRect frame = Bounds();
1223 frame.bottom = legendFrame.top - 1;
1226 frame.InsetBy(2, 2);
1228 return frame;
1261 BRect frame = Bounds();
1262 frame.bottom -= kDraggerSize;
1263 frame.top = frame.bottom - height;
1265 return frame;
1270 ActivityView::_LegendFrameAt(BRect frame, int32 index) const
1277 frame.right = frame.left + floorf(frame.Width() / 2) - 5;
1279 frame.left = frame.right - floorf(frame.Width() / 2) + 5;
1284 float height = floorf((frame.Height() - 5) / rows);
1286 frame.top = frame.top + 5 + row * height;
1287 frame.bottom = frame.top + height - 1;
1289 return frame;
1294 ActivityView::_LegendColorFrameAt(BRect frame, int32 index) const
1296 frame = _LegendFrameAt(frame, index);
1297 frame.InsetBy(1, 1);
1298 frame.right = frame.left + frame.Height();
1300 return frame;
1337 BRect frame = _HistoryFrame();
1338 BRect outerFrame = frame.InsetByCopy(-2, -2);
1340 // draw the outer frame
1347 frame.OffsetTo(B_ORIGIN);
1350 view->FillRect(frame, B_SOLID_LOW);
1360 if (frame.IntegerWidth() <= 10)
1363 uint32 width = frame.IntegerWidth() - 10;
1381 view->StrokeLine(BPoint(frame.left, frame.top + frame.Height() / 2),
1382 BPoint(frame.right, frame.top + frame.Height() / 2));
1487 BRect frame = _LegendFrameAt(legendFrame, i);
1499 float y = frame.top + ceilf(fontHeight.ascent);
1506 float possibleLabelWidth = frame.right - colorBox.right - 12 - width;
1513 DrawString(text.String(), BPoint(frame.right - width, y));
1518 Parent()->ViewColor(), 0, BPoint(frame.right - width, y));