Lines Matching defs:dragRect
7622 BRect dragRect(GetDragRect(index));
7626 if (dragRect.Width() < kTransparentDragThreshold.x
7627 && dragRect.Height() < kTransparentDragThreshold.y) {
7628 dragBitmap = MakeDragBitmap(dragRect, clickPoint, index, offset);
7632 dragBitmap = MakeDragBitmap(dragRect, clickPoint, index, offset);
7638 DragMessage(&message, dragRect);
7648 BPoseView::MakeDragBitmap(BRect dragRect, BPoint clickedPoint,
7659 if (!inner.Intersects(dragRect))
7662 inner = inner & dragRect;
7671 if (inner.left > dragRect.left) {
7672 inner.left = std::max(inner.left - 32, dragRect.left);
7675 if (inner.right < dragRect.right) {
7676 inner.right = std::min(inner.right + 32, dragRect.right);
7679 if (inner.top > dragRect.top) {
7680 inner.top = std::max(inner.top - 32, dragRect.top);
7683 if (inner.bottom < dragRect.bottom) {
7684 inner.bottom = std::min(inner.bottom + 32, dragRect.bottom);