Searched refs:startPointPosY (Results 1 - 7 of 7) sorted by relevance
/foundation/window/window_manager/wmserver/src/ |
H A D | drag_controller.cpp | 311 auto startPointPosY = moveDragProperty_->startPointPosY_; in GetHotZoneRect() local 312 ConvertPointerPosToDisplayGroupPos(moveDragProperty_->targetDisplayId_, startPointPosX, startPointPosY); in GetHotZoneRect() 320 (startPointPosY > startRectExceptCorner.posY_ && in GetHotZoneRect() 321 (startPointPosY < startRectExceptCorner.posY_ + in GetHotZoneRect() 357 auto startPointPosY = moveDragProperty_->startPointPosY_; in CalculateNewWindowRect() local 358 ConvertPointerPosToDisplayGroupPos(moveDragProperty_->targetDisplayId_, startPointPosX, startPointPosY); in CalculateNewWindowRect() 362 int32_t diffY = posY - startPointPosY; in CalculateNewWindowRect() 382 if (startPointPosY <= hotZoneRect.posY_) { in CalculateNewWindowRect() 388 } else if (startPointPosY >= hotZoneRect.posY_ + static_cast<int32_t>(hotZoneRect.height_)) { in CalculateNewWindowRect() 431 auto startPointPosY in HandleMoveEvent() local [all...] |
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 853 void MoveDragController::UpdateDragType(int32_t startPointPosX, int32_t startPointPosY) in UpdateDragType() argument 859 } else if (startPointPosY > rectExceptCorner_.posY_ && in UpdateDragType() 860 (startPointPosY < rectExceptCorner_.posY_ + in UpdateDragType() 863 } else if ((startPointPosX <= rectExceptCorner_.posX_ && startPointPosY <= rectExceptCorner_.posY_) || in UpdateDragType() 865 startPointPosY >= rectExceptCorner_.posY_ + static_cast<int32_t>(rectExceptCorner_.height_))) { in UpdateDragType() 872 bool MoveDragController::IsPointInDragHotZone(int32_t startPointPosX, int32_t startPointPosY, in IsPointInDragHotZone() argument 883 !WindowHelper::IsPointInTargetRectWithBound(startPointPosX, startPointPosY, rectWithHotzone)) { in IsPointInDragHotZone() 886 startPointPosY, rectExceptFrame_)) || in IsPointInDragHotZone() 888 startPointPosY, rectExceptCorner_))) { in IsPointInDragHotZone()
|
/foundation/window/window_manager/utils/include/ |
H A D | wm_common_inner.h | 232 MoveDragProperty(int32_t startPointPosX, int32_t startPointPosY, int32_t startPointerId, int32_t targetDisplayId,
in MoveDragProperty() 235 : startPointPosX_(startPointPosX), startPointPosY_(startPointPosY), startPointerId_(startPointerId),
in MoveDragProperty()
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | move_drag_controller.h | 158 void UpdateDragType(int32_t startPointPosX, int32_t startPointPosY); 159 bool IsPointInDragHotZone(int32_t startPointPosX, int32_t startPointPosY,
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | move_drag_controller_test.cpp | 759 int32_t startPointPosY = 1; in HWTEST_F() local 760 bool res = moveDragController->IsPointInDragHotZone(startPointPosX, startPointPosY, sourceType, winRect); in HWTEST_F() 773 int32_t startPointPosY = 1; in HWTEST_F() local 774 bool res = moveDragController->IsPointInDragHotZone(startPointPosX, startPointPosY, 0, winRect); in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 2951 void WindowImpl::UpdateDragType(int32_t startPointPosX, int32_t startPointPosY) in UpdateDragType() argument 2958 } else if (startPointPosY > startRectExceptCorner.posY_ && in UpdateDragType() 2959 (startPointPosY < startRectExceptCorner.posY_ + in UpdateDragType() 2962 } else if ((startPointPosX <= startRectExceptCorner.posX_ && startPointPosY <= startRectExceptCorner.posY_) || in UpdateDragType() 2964 startPointPosY >= startRectExceptCorner.posY_ + static_cast<int32_t>(startRectExceptCorner.height_))) { in UpdateDragType() 3001 bool WindowImpl::IsPointInDragHotZone(int32_t startPointPosX, int32_t startPointPosY, int32_t sourceType) in IsPointInDragHotZone() argument 3011 !WindowHelper::IsPointInTargetRectWithBound(startPointPosX, startPointPosY, rectWithHotzone)) { in IsPointInDragHotZone() 3014 startPointPosY, moveDragProperty_->startRectExceptFrame_)) || in IsPointInDragHotZone() 3016 startPointPosY, moveDragProperty_->startRectExceptCorner_))) { in IsPointInDragHotZone() 3080 int32_t startPointPosY in ReadyToMoveOrDragWindow() local [all...] |
/foundation/window/window_manager/wm/include/ |
H A D | window_impl.h | 383 bool IsPointInDragHotZone(int32_t startPointPosX, int32_t startPointPosY, int32_t sourceType); 399 void UpdateDragType(int32_t startPointPosX, int32_t startPointPosY);
|
Completed in 13 milliseconds