Searched refs:originRect (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | window_layout_policy_cascade.cpp | 737 const Rect &originRect = node->GetOriginRect(); in UpdateFloatingWindowSizeForStretchableWindow() local 738 if (originRect.height_ == 0 || originRect.width_ == 0) { in UpdateFloatingWindowSizeForStretchableWindow() 745 winRect.width_ = winRect.height_ * originRect.width_ / originRect.height_; in UpdateFloatingWindowSizeForStretchableWindow() 749 winRect.height_ = winRect.width_ * originRect.height_ / originRect.width_; in UpdateFloatingWindowSizeForStretchableWindow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_handler.cpp | 877 for (const auto& originRect : nodeId2Rect) { in CheckRectIntersect() local 878 if (originRect.second.IsInnerIntersectWithRound(dest) && in CheckRectIntersect() 879 (nodeId2Zindex[secNodeId] <= nodeId2Zindex[originRect.first]) && in CheckRectIntersect() 880 … (!NearEqual(originRect.second.Width(), 0.0) && !NearEqual(originRect.second.Height(), 0.0))) { in CheckRectIntersect() 882 "is covered by id = %{public}d.", secNodeId, originRect.first); in CheckRectIntersect()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_visitor.cpp | 1013 Drawing::Rect originRect = Drawing::Rect(x, y, width + x, height + y); in ClipHoleForSurfaceNode() local 1014 canvas_->ClipRect(originRect, Drawing::ClipOp::INTERSECT, false); in ClipHoleForSurfaceNode() 1069 Drawing::Rect originRect = Drawing::Rect(x, y, width + x, height + y); in ProcessTextureSurfaceRenderNode() local 1072 texture->DrawTextureImage(*canvas_, false, originRect); in ProcessTextureSurfaceRenderNode()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | root_view.cpp | 79 static void DivideInvalidateRect(const Rect& originRect, Rect& leftoverRect, Vector<Rect>& splitRec… in DivideInvalidateRect() argument 82 if (!mask.Intersect(originRect, leftoverRect)) { in DivideInvalidateRect() 94 if (originRect.IsContains(leftoverRect)) { in DivideInvalidateRect()
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 2975 const Rect& originRect = property_->GetOriginRect(); in UpdatePointerEventForStretchableWindow() local 2977 WindowHelper::CalculateOriginPosition(originRect, GetRect(), in UpdatePointerEventForStretchableWindow() 2981 pointerItem.SetWindowX(originPos.x - originRect.posX_); in UpdatePointerEventForStretchableWindow() 2982 pointerItem.SetWindowY(originPos.y - originRect.posY_); in UpdatePointerEventForStretchableWindow()
|