Home
last modified time | relevance | path

Searched refs:startRectExceptCorner (Results 1 – 3 of 3) sorted by relevance

/foundation/window/window_manager/wmserver/src/
Ddrag_controller.cpp299 const auto& startRectExceptCorner = moveDragProperty_->startRectExceptCorner_; in GetHotZoneRect() local
301 if ((startPointPosX > startRectExceptCorner.posX_ && in GetHotZoneRect()
302 (startPointPosX < startRectExceptCorner.posX_ + in GetHotZoneRect()
303 static_cast<int32_t>(startRectExceptCorner.width_))) && in GetHotZoneRect()
304 (startPointPosY > startRectExceptCorner.posY_ && in GetHotZoneRect()
305 (startPointPosY < startRectExceptCorner.posY_ + in GetHotZoneRect()
306 static_cast<int32_t>(startRectExceptCorner.height_)))) { in GetHotZoneRect()
309 … hotZoneRect = startRectExceptCorner; // drag type: left_top/right_top/left_bottom/right_bottom in GetHotZoneRect()
/foundation/window/window_manager/utils/include/
Dwm_common_inner.h212 Rect startPointRect, Rect startRectExceptFrame, Rect startRectExceptCorner) in MoveDragProperty()
217 startRectExceptCorner_(startRectExceptCorner) {} in MoveDragProperty()
263 Rect startRectExceptCorner = { parcel.ReadInt32(), parcel.ReadInt32(), in Unmarshalling() local
267 info->startRectExceptCorner_ = startRectExceptCorner; in Unmarshalling()
/foundation/window/window_manager/wm/src/
Dwindow_impl.cpp2487 const auto& startRectExceptCorner = moveDragProperty_->startRectExceptCorner_; in UpdateDragType() local
2488 if (startPointPosX > startRectExceptCorner.posX_ && in UpdateDragType()
2489 (startPointPosX < startRectExceptCorner.posX_ + in UpdateDragType()
2490 static_cast<int32_t>(startRectExceptCorner.width_))) { in UpdateDragType()
2492 } else if (startPointPosY > startRectExceptCorner.posY_ && in UpdateDragType()
2493 (startPointPosY < startRectExceptCorner.posY_ + in UpdateDragType()
2494 static_cast<int32_t>(startRectExceptCorner.height_))) { in UpdateDragType()
2496 …} else if ((startPointPosX <= startRectExceptCorner.posX_ && startPointPosY <= startRectExceptCorn… in UpdateDragType()
2497 …(startPointPosX >= startRectExceptCorner.posX_ + static_cast<int32_t>(startRectExceptCorner.width_… in UpdateDragType()
2498 …startPointPosY >= startRectExceptCorner.posY_ + static_cast<int32_t>(startRectExceptCorner.height_… in UpdateDragType()
[all …]