Lines Matching defs:itemFrame
213 BRect itemFrame(0, 0, Bounds().right, -1);
216 itemFrame.bottom = itemFrame.top + ceilf(item->Height()) - 1;
218 if (itemFrame.Intersects(updateRect))
219 DrawItem(item, itemFrame);
221 itemFrame.top = itemFrame.bottom + 1;
1235 BRect itemFrame = ItemFrame(index);
1237 if (itemFrame.top < bounds.top)
1238 ScrollTo(itemFrame.LeftTop());
1239 else if (itemFrame.bottom > bounds.bottom)
1240 ScrollTo(BPoint(0, itemFrame.bottom - bounds.Height()));
1247 BRect itemFrame = ItemFrame(CurrentSelection(0));
1249 if (itemFrame.top < Bounds().top
1250 || itemFrame.Height() > Bounds().Height())
1251 ScrollBy(0, itemFrame.top - Bounds().top);
1252 else if (itemFrame.bottom > Bounds().bottom)
1253 ScrollBy(0, itemFrame.bottom - Bounds().bottom);