Lines Matching defs:bounds

1683 		BRect bounds(Bounds());
1686 if (bounds.top > lastItemTop)
1687 BView::ScrollTo(bounds.left, std::max(lastItemTop, 0.0f));
1818 // Simple optimization: if the new pose bounds is completely below
1819 // the current view bounds, we do not need to draw.
1860 // if new pose above current view bounds, cache up
1912 // were we passed the bounds of the view?
2124 BRect bounds(Bounds());
2128 srcRect = srcRect & bounds;
2132 if (srcRect.Intersects(bounds) || destRect.Intersects(bounds))
3088 BRect bounds(Bounds());
3089 BPoint center(bounds.LeftTop());
3090 center.x += bounds.Width() / 2.0;
3091 center.y += bounds.Height() / 2.0;
3138 BRect bounds(Bounds());
3184 PlacePose(pose, bounds);
3297 BRect bounds(Bounds());
3323 if (loc.y <= bounds.bottom && loc.y >= bounds.top)
3328 if (bounds.Contains(poseRect.LeftTop())
3329 || bounds.Contains(poseRect.LeftBottom())
3330 || bounds.Contains(poseRect.RightBottom())
3331 || bounds.Contains(poseRect.RightTop())) {
3482 BRect bounds = Bounds();
3483 AddPoseToList(fFilteredPoseList, true, true, pose, bounds,
3642 // on the desktop, don't allow icons outside of the view bounds
3727 BRect bounds(Bounds());
3728 bounds.InsetBy(20, 20);
3759 if (!rect.Intersects(bounds)) {
3767 loc.ConstrainTo(bounds);
3874 // the current bounds of the list
3962 BRect bounds(Bounds());
3979 if (bounds.Intersects(poseRect)) {
5728 BRect bounds = Bounds();
5731 bounds, scrollBy, true);
5920 BRect bounds = Bounds();
5921 AddPoseToList(fFilteredPoseList, true, true, pose, bounds,
6458 BRect bounds(Bounds());
6488 if (bounds.Intersects(poseRect)) {
6489 pose->Draw(poseRect, bounds, this, false);
6509 BRect bounds(Bounds());
6542 if (bounds.Intersects(poseRect))
7713 BRect bounds(Bounds());
7718 int32 startIndex = (int32)(bounds.top / fListElemHeight);
7732 if (loc.y > bounds.bottom)
7738 = FirstIndexAtOrBelow((int32)(bounds.top - IconPoseHeight()));
7788 BRect bounds(Bounds());
7798 int32 startIndex = (int32)(bounds.top / fListElemHeight);
7807 if (loc.y > bounds.bottom)
7817 (int32)(bounds.top - IconPoseHeight()));
7824 if (pose->Location(this).y > bounds.bottom)
7844 BRect bounds(Bounds());
7881 && poseRect.Intersects(bounds)) {
7918 if (poseRect.Intersects(bounds))
8116 BRect bounds(Bounds());
8117 int32 index = (int32)(bounds.bottom / fListElemHeight);
8120 if (pose == NULL && bounds.top > 0) {
8122 BView::ScrollTo(bounds.left,
8123 std::max(bounds.top - fListElemHeight, 0.0f));
8707 BRect bounds(Bounds());
8710 int32 startIndex = (int32)(bounds.top / fListElemHeight);
8723 if (loc.y > bounds.bottom)
8728 (int32)(bounds.top - IconPoseHeight()), true);
8738 if (pose->Location(this).y > bounds.bottom)
8768 BRect bounds(Bounds());
8771 int32 startIndex = (int32)(bounds.top / fListElemHeight);
8785 bounds, this, false);
8789 if (loc.y > bounds.bottom)
8794 (int32)(bounds.top - IconPoseHeight()), true);
8808 if (pose->Location(this).y > bounds.bottom)
9057 BRect bounds(Bounds());
9067 BPoint maxVal((extent.right - bounds.right) + origin.x,
9068 (extent.bottom - bounds.bottom) + origin.y);
9079 fHScrollBar->SetSteps(fListElemHeight / 2.0f, bounds.Width());
9090 fVScrollBar->SetSteps(fListElemHeight / 2.0f, bounds.Height());
9095 BRect totalExtent(extent | bounds);
9098 float proportion = bounds.Width() / totalExtent.Width();
9104 float proportion = bounds.Height() / totalExtent.Height();
9332 BRect bounds(Bounds());
9334 if (bounds.Intersects(*invalidRect)) {
9336 destRect = destRect & bounds;
9342 if (srcRect.Intersects(bounds) || destRect.Intersects(bounds))
9765 BRect bounds(Bounds());
9766 bounds.left = miny;
9767 Invalidate(bounds);
9849 BRect bounds(Bounds());
9854 int32 startIndex = (int32)(bounds.top / fListElemHeight);
9864 if (location.y > bounds.bottom)
9868 int32 startIndex = FirstIndexAtOrBelow((int32)(bounds.top
9881 if (pose->Location(this).y > bounds.bottom) {
9911 BRect bounds(menu->Bounds());
9912 bounds.InsetBy(-kMenuTrackMargin, -kMenuTrackMargin);
9913 if (bounds.Contains(location)) {
9993 BRect bounds(Bounds());
9998 int32 startIndex = (int32)(bounds.top / fListElemHeight);
10010 if (location.y > bounds.bottom)
10015 (int32)(bounds.top - IconPoseHeight()), true);
10034 if (pose->Location(this).y > bounds.bottom)
10053 BRect bounds(Bounds());
10060 BRect border(bounds);
10068 if (bounds.top > extent.top) {
10070 keepGoing = mouseLoc.y < bounds.top;
10071 if (fabs(bounds.top - mouseLoc.y) > kSlowScrollBucket)
10092 border = bounds;
10095 if (bounds.bottom < extent.bottom) {
10097 keepGoing = mouseLoc.y > bounds.bottom;
10098 if (fabs(bounds.bottom - mouseLoc.y) > kSlowScrollBucket)
10119 border = bounds;
10122 if (bounds.left > extent.left) {
10124 keepGoing = mouseLoc.x < bounds.left;
10125 if (fabs(bounds.left - mouseLoc.x) > kSlowScrollBucket)
10146 border = bounds;
10149 if (bounds.right < extent.right) {
10151 keepGoing = mouseLoc.x > bounds.right;
10152 if (fabs(bounds.right - mouseLoc.x) > kSlowScrollBucket)
10444 BRect bounds = Bounds();
10446 if (bounds.top > 0 && bounds.bottom > height)
10447 BView::ScrollTo(0, std::max(height - bounds.Height(), 0.0f));