Home
last modified time | relevance | path

Searched refs:diffY (Results 1 - 5 of 5) sorted by relevance

/foundation/window/window_manager/wmserver/src/
H A Ddrag_controller.cpp362 int32_t diffY = posY - startPointPosY; in CalculateNewWindowRect() local
383 if (diffY > static_cast<int32_t>(startPointRect.height_ - minHeight)) { in CalculateNewWindowRect()
384 diffY = static_cast<int32_t>(startPointRect.height_ - minHeight); in CalculateNewWindowRect()
386 newRect.posY_ += diffY; in CalculateNewWindowRect()
387 newRect.height_ = static_cast<uint32_t>(static_cast<int32_t>(newRect.height_) - diffY); 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()
392 newRect.height_ = static_cast<uint32_t>(static_cast<int32_t>(newRect.height_) + diffY); in CalculateNewWindowRect()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/event_bubble/
H A Devent_bubble_tdd_test.cpp1425 int16_t diffY = 100; in EventBubbleTest017() local
1427 int16_t startY = rect.GetTop() + rect.GetHeight() - diffY; in EventBubbleTest017()
1428 int16_t endY = rect.GetTop() + diffY; in EventBubbleTest017()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_layout_algorithm.cpp216 auto diffY = std::max((menuSize.Height() - buttonSize.Height()) / 2.0f, 0.0f); in LayoutChild() local
217 buttonOffset = isReverse ? OffsetF(menuOffset.GetX(), menuOffset.GetY() + diffY) : in LayoutChild()
218 OffsetF(menuOffset.GetX() + menuSize.Width() - buttonSize.Width(), menuOffset.GetY() + diffY); in LayoutChild()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dtouch_drawing_manager.cpp115 auto diffY = currentPt_.GetY() - lastPt_.GetY(); in RecordLabelsInfo() local
117 yVelocity_ = diffY / diffTime; in RecordLabelsInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_pattern.cpp602 auto diffY = circleCenter_.GetY() - offset.GetY(); in AtMousePanArea() local
603 return diffX * diffX + diffY * diffY <= distanceCircle * distanceCircle; in AtMousePanArea()

Completed in 10 milliseconds