Home
last modified time | relevance | path

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

/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Ddrag_controller.cpp359 const auto& startPointRect = moveDragProperty_->startPointRect_; in CalculateNewWindowRect() local
371 if (diffX > static_cast<int32_t>(startPointRect.width_ - minWidth)) { in CalculateNewWindowRect()
372 diffX = static_cast<int32_t>(startPointRect.width_ - minWidth); in CalculateNewWindowRect()
377 if (diffX < 0 && (-diffX > static_cast<int32_t>(startPointRect.width_ - minWidth))) { in CalculateNewWindowRect()
378 diffX = -(static_cast<int32_t>(startPointRect.width_ - minWidth)); in CalculateNewWindowRect()
383 if (diffY > static_cast<int32_t>(startPointRect.height_ - minHeight)) { in CalculateNewWindowRect()
384 diffY = static_cast<int32_t>(startPointRect.height_ - minHeight); in CalculateNewWindowRect()
389 if (diffY < 0 && (-diffY > static_cast<int32_t>(startPointRect.height_ - minHeight))) { in CalculateNewWindowRect()
390 diffY = -(static_cast<int32_t>(startPointRect.height_ - minHeight)); in CalculateNewWindowRect()
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwm_common_inner.h218 Rect startPointRect, Rect startRectExceptFrame, Rect startRectExceptCorner) in MoveDragProperty()
222 startPointRect_(startPointRect), startRectExceptFrame_(startRectExceptFrame), in MoveDragProperty()
265 Rect startPointRect = { parcel.ReadInt32(), parcel.ReadInt32(), in Unmarshalling() local
271 info->startPointRect_ = startPointRect; in Unmarshalling()
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp3014 const auto& startPointRect = GetRect(); in CalculateStartRectExceptHotZone() local
3016 startRectExceptFrame.posX_ = startPointRect.posX_ + in CalculateStartRectExceptHotZone()
3018 startRectExceptFrame.posY_ = startPointRect.posY_ + in CalculateStartRectExceptHotZone()
3020 startRectExceptFrame.width_ = startPointRect.width_ - in CalculateStartRectExceptHotZone()
3022 startRectExceptFrame.height_ = startPointRect.height_ - in CalculateStartRectExceptHotZone()
3026 startRectExceptCorner.posX_ = startPointRect.posX_ + in CalculateStartRectExceptHotZone()
3028 startRectExceptCorner.posY_ = startPointRect.posY_ + in CalculateStartRectExceptHotZone()
3030 startRectExceptCorner.width_ = startPointRect.width_ - in CalculateStartRectExceptHotZone()
3032 startRectExceptCorner.height_ = startPointRect.height_ - in CalculateStartRectExceptHotZone()