Home
last modified time | relevance | path

Searched refs:posY_ (Results 1 - 25 of 164) sorted by relevance

1234567

/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_test_utils.cpp157 resRect.posY_ = limitDisplayRect_.posY_ + static_cast<int32_t>((limitDisplayRect_.height_ - defaultH) / half); in GetDefaultFloatingRect()
172 std::min(std::max(rect.posY_, maxPosRemain), static_cast<int32_t>(displayRect_.height_) - maxPosRemain), in CalcLimitedRect()
185 rect.posY_, in GetFloatingLimitedRect()
199 resRect.posY_ = rect.posY_; in GetDecorateRect()
273 int y = limitDisplayRect_.posY_ + ((limitDisplayRect_.height_ - h) / half); in InitTileWindowRects()
294 bool res = ((l.posX_ == r.posX_) && (l.posY_ == r.posY_) && (l.width_ == r.width_) && (l.height_ == r.height_)); in RectEqualTo()
297 "Expect: %{public}d %{public}d %{public}d %{public}d", l.posX_, l.posY_, in RectEqualTo()
[all...]
H A Dwindow_move_drag_test.cpp158 startPointY_ = startPointRect_.posY_ + static_cast<int32_t>(startPointRect_.height_ * POINT_HOTZONE_RATIO); in HWTEST_F()
179 startPointY_ = startPointRect_.posY_ - static_cast<int32_t>(hotZone_ * POINT_HOTZONE_RATIO); in HWTEST_F()
200 startPointY_ = startPointRect_.posY_ + in HWTEST_F()
223 startPointY_ = startPointRect_.posY_ + static_cast<int32_t>(startPointRect_.height_ * POINT_HOTZONE_RATIO); in HWTEST_F()
245 startPointY_ = startPointRect_.posY_ - static_cast<int32_t>(hotZone_ * POINT_HOTZONE_RATIO); in HWTEST_F()
266 startPointY_ = startPointRect_.posY_ + in HWTEST_F()
287 startPointY_ = startPointRect_.posY_ - static_cast<int32_t>(hotZone_ * POINT_HOTZONE_RATIO); in HWTEST_F()
307 startPointY_ = startPointRect_.posY_ + in HWTEST_F()
328 startPointY_ = startPointRect_.posY_ + in HWTEST_F()
349 startPointY_ = startPointRect_.posY_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_irregular_filler.cpp28 posY_ = lineIdx; in InitPos()
40 int32_t prevRow = posY_; in Fill()
44 // (posY_ > prevRow) implies that the previous row has been filled in Fill()
47 if (UpdateLength(len, targetLen, row, posY_, params.mainGap)) { in Fill()
51 MeasureItem(params, idx, posX_, posY_, false); in Fill()
59 if (UpdateLength(len, targetLen, posY_, lastRow + 1, params.mainGap)) { in Fill()
60 return { len, posY_, idx }; in Fill()
75 MeasureItem(params, idx, posX_, posY_, false); in FillToTarget()
110 int32_t row = posY_; in FillOne()
136 posY_ in FillOne()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp90 node->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_); in Reorder()
175 requestRect.posX_, requestRect.posY_, requestRect.width_, requestRect.height_); in PerformWindowLayout()
226 if (rect.posY_ < limitRect.posY_) { in LimitDividerInDisplayRegion()
227 rect.posY_ = limitRect.posY_; in LimitDividerInDisplayRegion()
228 } else if (rect.posY_ + static_cast<int32_t>(rect.height_) > in LimitDividerInDisplayRegion()
229 limitRect.posY_ + static_cast<int32_t>(limitRect.height_)) { in LimitDividerInDisplayRegion()
230 rect.posY_ = limitRect.posY_ in LimitDividerInDisplayRegion()
[all...]
H A Dwindow_layout_policy.cpp58 windowRect.posY_ = std::max(windowRect.posY_, displayRect.posY_); in LimitWindowToBottomRightCorner()
68 if (windowRect.posY_ + static_cast<int32_t>(windowRect.height_) > in LimitWindowToBottomRightCorner()
69 displayRect.posY_ + static_cast<int32_t>(displayRect.height_)) { in LimitWindowToBottomRightCorner()
70 windowRect.posY_ = displayRect.posY_ + static_cast<int32_t>(displayRect.height_) - in LimitWindowToBottomRightCorner()
76 node->GetWindowId(), windowRect.posX_, windowRect.posY_, windowRect.width_, windowRect.height_); in LimitWindowToBottomRightCorner()
89 newDisplayGroupRect.posY_ = std::min(displayGroupRect_.posY_, ele in UpdateDisplayGroupRect()
[all...]
H A Ddrag_controller.cpp105 property->GetWindowRect().posY_ + property->GetHitOffset().y}; in FinishDrag()
148 point.y = property->GetWindowRect().posY_ + property->GetHitOffset().y; in GetHitPoint()
266 posY += displayRect.posY_; in ConvertPointerPosToDisplayGroupPos()
320 (startPointPosY > startRectExceptCorner.posY_ && in GetHotZoneRect()
321 (startPointPosY < startRectExceptCorner.posY_ + in GetHotZoneRect()
345 (rect.posY_ < limitRect.posY_) || in CheckWindowRect()
346 (rect.posY_ > static_cast<int32_t>(limitRect.posY_ + limitRect.height_ - titleBarHeight))) { in CheckWindowRect()
348 windowProperty_->GetWindowId(), rect.posX_, rect.posY_, rec in CheckWindowRect()
[all...]
H A Ddisplay_zoom_controller.cpp53 zoomInfo_.pivotY = rect.posY_ + zoomTrans.pivotY_ * rect.height_; in SetAnchorAndScale()
203 int32_t deltaYMax = displayInfo->GetOffsetY() - zoomRect.posY_; in UpdateZoomTranslateInfo()
204 int32_t deltaYMin = displayInfo->GetOffsetY() + displayInfo->GetHeight() - zoomRect.posY_ in UpdateZoomTranslateInfo()
224 rect.posY_ + lastZoomTrans.pivotY_ * rect.height_, 0 }; in CalcuAnimateZoomTrans()
234 rect.posY_ + animateTrans.pivotY_ * rect.height_, 0 }; in CalcuAnimateZoomTrans()
242 finalZoomTrans.pivotY_ = (0 - rect.posY_) * 1.0 / rect.height_; in CalcuAnimateZoomTrans()
265 zoomTrans.pivotY_ = (zoomInfo_.pivotY - rect.posY_) * 1.0 / rect.height_; in CalcuZoomTransByZoomInfo()
280 rect.posY_ + lastZoomTrans.pivotY_ * rect.height_, 0 }; in CalcuZoomTrans()
297 finalZoomTrans.pivotY_ = (0 - rect.posY_) * 1.0 / rect.height_; in CalcuZoomTrans()
/foundation/window/window_manager/utils/src/
H A Dcutout_info.cpp28 parcel.WriteInt32(waterfallDisplayAreaRects_.left.posY_) && in Marshalling()
32 parcel.WriteInt32(waterfallDisplayAreaRects_.top.posY_) && in Marshalling()
36 parcel.WriteInt32(waterfallDisplayAreaRects_.right.posY_) && in Marshalling()
40 parcel.WriteInt32(waterfallDisplayAreaRects_.bottom.posY_) && in Marshalling()
66 if (!(parcel.WriteInt32(rect.posX_) && parcel.WriteInt32(rect.posY_) && in WriteBoundingRectsVector()
101 parcel.ReadInt32(waterfallDisplayAreaRects.left.posY_) && in ReadWaterfallDisplayAreaRects()
105 parcel.ReadInt32(waterfallDisplayAreaRects.top.posY_) && in ReadWaterfallDisplayAreaRects()
109 parcel.ReadInt32(waterfallDisplayAreaRects.right.posY_) && in ReadWaterfallDisplayAreaRects()
113 parcel.ReadInt32(waterfallDisplayAreaRects.bottom.posY_) && in ReadWaterfallDisplayAreaRects()
H A Daccessibility_window_info.cpp31 parcel.WriteInt32(windowRect_.posY_) && parcel.WriteBool(focused_) && parcel.WriteBool(isDecorEnable_) && in Marshalling()
41 res = parcel.WriteInt32(rect.posX_) && parcel.WriteInt32(rect.posY_) && in Marshalling()
59 parcel.ReadInt32(info->windowRect_.posY_) && parcel.ReadBool(info->focused_) && in Unmarshalling()
74 info->touchHotAreas_.push_back({.posX_ = parcel.ReadInt32(), .posY_ = parcel.ReadInt32(), in Unmarshalling()
H A Dscreen_group_info.cpp34 if (!parcel.WriteInt32(position_[i].posX_) || !parcel.WriteInt32(position_[i].posY_)) { in Marshalling()
72 if (parcel.ReadInt32(point.posX_) && parcel.ReadInt32(point.posY_)) { in InnerUnmarshalling()
H A Dunreliable_window_info.cpp25 parcel.WriteInt32(windowRect_.posY_) && parcel.WriteUint32(zOrder_) && in Marshalling()
37 parcel.ReadInt32(info->windowRect_.posY_) && parcel.ReadUint32(info->zOrder_) && in Unmarshalling()
/foundation/window/window_manager/window_scene/common/include/
H A Dsession_helper.h36 int32_t y_begin = std::max(rect1.posY_, rect2.posY_); in GetOverlap()
37 int32_t y_end = std::min(rect1.posY_ + static_cast<int32_t>(rect1.height_), in GetOverlap()
38 rect2.posY_ + static_cast<int32_t>(rect2.height_)); in GetOverlap()
48 return (r.posX_ == 0 && r.posY_ == 0 && r.width_ == 0 && r.height_ == 0); in IsEmptyRect()
55 (pointPosY > rect.posY_) && in IsPointInRect()
56 (pointPosY < (rect.posY_ + static_cast<int32_t>(rect.height_)) - 1)) { in IsPointInRect()
68 r.posY_ = rect.posY_; in TransferToWSRect()
78 r.posY_ in TransferToRect()
[all...]
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dviewport_config.h40 posY_ = y; in SetPosition()
60 return posY_; in Top()
98 posY_ == other.Top() && in operator ==()
115 config.append(" position: (" + std::to_string(posX_) + ", " + std::to_string(posY_) + ")"); in ToString()
124 int32_t posY_ = 0; member in OHOS::Ace::ViewportConfig
/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h178 return (r.posX_ == 0 && r.posY_ == 0 && r.width_ == 0 && r.height_ == 0); in IsEmptyRect()
196 int32_t y_begin = std::max(rect1.posY_, rect2.posY_); in GetOverlap()
197 int32_t y_end = std::min(rect1.posY_ + static_cast<int32_t>(rect1.height_), in GetOverlap()
198 rect2.posY_ + static_cast<int32_t>(rect2.height_)); in GetOverlap()
267 (pointPosY > targetRect.posY_) && in IsPointInTargetRect()
268 (pointPosY < (targetRect.posY_ + static_cast<int32_t>(targetRect.height_)) - 1)) { in IsPointInTargetRect()
278 (pointPosY >= targetRect.posY_) && in IsPointInTargetRectWithBound()
279 (pointPosY < (targetRect.posY_ + static_cast<int32_t>(targetRect.height_)))) { in IsPointInTargetRectWithBound()
289 (pointPosY > rectExceptCorner.posY_ in IsPointInWindowExceptCorner()
[all...]
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddm_common.h388 int32_t posY_; member
389 Point() : posX_(0), posY_(0) {}; in Point()
390 Point(int32_t posX, int32_t posY) : posX_(posX), posY_(posY) {}; in Point()
434 int32_t posY_; member
440 return (posX_ == a.posX_ && posY_ == a.posY_ && width_ == a.width_ && height_ == a.height_); in operator ==()
450 return (posX_ == 0 && posY_ == 0 && width_ == 0 && height_ == 0); in IsUninitializedRect()
455 return (posX_ >= a.posX_ && posY_ >= a.posY_ && in IsInsideOf()
456 posX_ + width_ <= a.posX_ + a.width_ && posY_ in IsInsideOf()
[all...]
/foundation/window/window_manager/previewer/include/
H A Ddm_common.h325 int32_t posY_; member
331 return (posX_ == a.posX_ && posY_ == a.posY_ && width_ == a.width_ && height_ == a.height_); in operator ==()
341 return (posX_ == 0 && posY_ == 0 && width_ == 0 && height_ == 0); in IsUninitializedRect()
346 return (posX_ >= a.posX_ && posY_ >= a.posY_ && in IsInsideOf()
347 posX_ + width_ <= a.posX_ + a.width_ && posY_ + height_ <= a.posY_ + a.height_); in IsInsideOf()
H A Dwm_common.h489 int32_t posY_; member
495 return (posX_ == a.posX_ && posY_ == a.posY_ && width_ == a.width_ && height_ == a.height_); in operator ==()
505 return (posX_ >= a.posX_ && posY_ >= a.posY_ && in IsInsideOf()
506 posX_ + width_ <= a.posX_ + a.width_ && posY_ + height_ <= a.posY_ + a.height_); in IsInsideOf()
511 return (posX_ == 0 && posY_ == 0 && width_ == 0 && height_ == 0); in IsUninitializedRect()
616 return parcel.ReadInt32(rect.posX_) && parcel.ReadInt32(rect.posY_) && in ReadParcel()
622 return parcel.WriteInt32(rect.posX_) && parcel.WriteInt32(rect.posY_) in WriteParcel()
686 int32_t posY_; global() member
[all...]
/foundation/window/window_manager/extension/window_extension/src/
H A Dwindow_extension_stub_impl.cpp72 orgRect.posY_, orgRect.width_, orgRect.height_); in SetBounds()
74 rect.posY_, rect.width_, rect.height_); in SetBounds()
78 if (rect.posX_ != orgRect.posX_ || rect.posY_ != orgRect.posY_) { in SetBounds()
79 window->MoveTo(rect.posX_, rect.posY_); in SetBounds()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h696 int32_t posY_; member
702 return (posX_ == a.posX_ && posY_ == a.posY_ && width_ == a.width_ && height_ == a.height_); in operator ==()
712 return (posX_ == 0 && posY_ == 0 && width_ == 0 && height_ == 0); in IsUninitializedRect()
717 return (posX_ >= a.posX_ && posY_ >= a.posY_ && in IsInsideOf()
718 posX_ + width_ <= a.posX_ + a.width_ && posY_ + height_ <= a.posY_ + a.height_); in IsInsideOf()
724 ss << "[" << posX_ << " " << posY_ << " " << width_ << " " << height_ << "]"; in ToString()
769 return parcel.WriteInt32(rect_.posX_) && parcel.WriteInt32(rect_.posY_) in Marshalling()
1090 int32_t posY_; global() member
[all...]
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_layout_policy_test.cpp150 displayInfo->SetOffsetY(displayRect.posY_); in CreateDisplayInfo()
254 .posY_ = displayRect.posY_, in HWTEST_F()
264 .posY_ = displayRect.posY_, in HWTEST_F()
283 .posY_ = static_cast<int32_t>(displayRect.posY_ + displayRect.height_ * 0.5), // ratio: 0.5 in HWTEST_F()
293 .posY_ = static_cast<int32_t>(displayRect.posY_ + displayRect.height_ * 0.5), // ratio: 0.5 in HWTEST_F()
313 .posY_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dutils.cpp132 { avoidArea.topRect_.posY_, avoidArea.topRect_.posY_ + avoidArea.topRect_.height_ }, in ConvertAvoidArea()
134 { avoidArea.bottomRect_.posY_, avoidArea.bottomRect_.posY_ + avoidArea.bottomRect_.height_ }); in ConvertAvoidArea()
139 return Rect(displayAvailableRect.posX_, displayAvailableRect.posY_, displayAvailableRect.width_, in ConvertDMRect2Rect()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
H A Dgrid_irregular_filler_test.cpp38 filler.posY_ = 0; in HWTEST_F()
41 EXPECT_EQ(filler.posY_, 1); in HWTEST_F()
49 EXPECT_EQ(filler.posY_, 1); in HWTEST_F()
53 filler.posY_ = 1; in HWTEST_F()
83 EXPECT_EQ(filler.posY_, 0); in HWTEST_F()
87 EXPECT_EQ(filler.posY_, 0); in HWTEST_F()
91 EXPECT_EQ(filler.posY_, 1); in HWTEST_F()
104 EXPECT_EQ(filler.posY_, 0); in HWTEST_F()
108 EXPECT_EQ(filler.posY_, 1); in HWTEST_F()
112 EXPECT_EQ(filler.posY_, in HWTEST_F()
[all...]
/foundation/window/window_manager/window_scene/interfaces/include/
H A Dws_common.h457 T posY_ = 0; member
463 return (NearEqual(posX_, a.posX_) && NearEqual(posY_, a.posY_) && in operator ==()
474 if (NearZero(posX_) && NearZero(posY_) && NearZero(width_) && NearZero(height_)) { in IsEmpty()
483 GreatOrEqual(pointY, posY_) && LessOrEqual(pointY, posY_ + height_); in IsInRegion()
491 int32_t yStart = std::max(posY_, rect.posY_); in IsOverlap()
492 int32_t yEnd = std::min(posY_ + static_cast<int32_t>(height_), in IsOverlap()
493 rect.posY_ in IsOverlap()
[all...]
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp169 moveDragProperty_.targetRect_.posY_ + originalDisplayOffsetY_, in GetTargetRect()
191 moveDragProperty_.targetRect_.posY_ + originalDisplayOffsetY_ - currentDisplayOffsetY, in GetTargetRect()
270 originalRect.posY_, in GetFullScreenToFloatingRect()
275 targetRect.posY_, targetRect.width_, targetRect.height_); in GetFullScreenToFloatingRect()
568 moveDragProperty_.originalRect_.posY_ = pointerDisplayY - pointerWindowY; in CalcMoveTargetRect()
575 moveDragProperty_.originalRect_.posY_ + trans.second, in CalcMoveTargetRect()
621 moveDragProperty_.originalRect_.posY_ = pointerItem.GetDisplayY() - pointerItem.GetWindowY(); in EventDownInit()
639 targetRect.posY_ += tranY; in CalcFreeformTargetRect()
670 int32_t posY = originalRect.posY_; in CalcFixedAspectRatioTargetRect()
859 } else if (startPointPosY > rectExceptCorner_.posY_ in UpdateDragType()
[all...]
H A Dkeyboard_session.cpp425 callingSessionRect.posY_ = oriPosYBeforeRaisedByKeyboard; in RaiseCallingSession()
437 if (isCallingSessionFloating && callingSessionRect.posY_ > statusHeight) { in RaiseCallingSession()
439 oriPosYBeforeRaisedByKeyboard = callingSessionRect.posY_; in RaiseCallingSession()
440 callingSession->SetOriPosYBeforeRaisedByKeyboard(callingSessionRect.posY_); in RaiseCallingSession()
443 newRect.posY_ = std::max(keyboardPanelRect.posY_ - newRect.height_, statusHeight); in RaiseCallingSession()
444 newRect.posY_ = std::min(oriPosYBeforeRaisedByKeyboard, newRect.posY_); in RaiseCallingSession()
471 callingSessionRestoringRect.posY_ = oriPosYBeforeRaisedByKeyboard; in RestoreCallingSession()
549 requestRect.posY_ in RelayoutKeyBoard()
[all...]

Completed in 27 milliseconds

1234567