Home
last modified time | relevance | path

Searched refs:startPointRect_ (Results 1 - 4 of 4) sorted by relevance

/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_move_drag_test.cpp51 static inline Rect startPointRect_ = {0, 0, 0, 0}; member in OHOS::Rosen::WindowMoveDragTest
62 startPointRect_ = {0, 0, 0, 0}; in SetUpTestCase()
129 ASSERT_TRUE(Utils::RectEqualToRect(window_->GetRect(), startPointRect_)); in DoMoveOrDrag()
156 startPointRect_ = window_->GetRect(); in HWTEST_F()
157 startPointX_ = startPointRect_.posX_ - static_cast<int32_t>(hotZone_ * POINT_HOTZONE_RATIO); in HWTEST_F()
158 startPointY_ = startPointRect_.posY_ + static_cast<int32_t>(startPointRect_.height_ * POINT_HOTZONE_RATIO); in HWTEST_F()
177 startPointRect_ = window_->GetRect(); in HWTEST_F()
178 startPointX_ = startPointRect_.posX_ - static_cast<int32_t>(hotZone_ * POINT_HOTZONE_RATIO); in HWTEST_F()
179 startPointY_ = startPointRect_ in HWTEST_F()
[all...]
/foundation/window/window_manager/utils/include/
H A Dwm_common_inner.h219 Rect startPointRect_; member
227 startPointRect_ = {0, 0, 0, 0}; in MoveDragProperty()
238 startPointRect_(startPointRect), startRectExceptFrame_(startRectExceptFrame), in MoveDragProperty()
251 if (!parcel.WriteInt32(startPointRect_.posX_) || !parcel.WriteInt32(startPointRect_.posY_) ||
252 !parcel.WriteUint32(startPointRect_.width_) || !parcel.WriteUint32(startPointRect_.height_)) {
287 info->startPointRect_ = startPointRect; in Unmarshalling()
304 startPointRect_ = property->startPointRect_; in CopyFrom()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Ddrag_controller.cpp359 const auto& startPointRect = moveDragProperty_->startPointRect_; in CalculateNewWindowRect()
404 Rect newRect = moveDragProperty_->startPointRect_; in HandleDragEvent()
433 int32_t targetX = moveDragProperty_->startPointRect_.posX_ + (posX - startPointPosX); in HandleMoveEvent()
434 int32_t targetY = moveDragProperty_->startPointRect_.posY_ + (posY - startPointPosY); in HandleMoveEvent()
436 const Rect& oriRect = moveDragProperty_->startPointRect_; in HandleMoveEvent()
/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp3056 moveDragProperty_->startPointRect_ = GetRect(); in ReadyToMoveOrDragWindow()

Completed in 9 milliseconds