Home
last modified time | relevance | path

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

/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp736 const Rect &originRect = node->GetOriginRect(); in UpdateFloatingWindowSizeForStretchableWindow() local
737 if (originRect.height_ == 0 || originRect.width_ == 0) { in UpdateFloatingWindowSizeForStretchableWindow()
738 WLOGE("invalid originRect. window id: %{public}u", node->GetWindowId()); in UpdateFloatingWindowSizeForStretchableWindow()
744 winRect.width_ = winRect.height_ * originRect.width_ / originRect.height_; in UpdateFloatingWindowSizeForStretchableWindow()
748 winRect.height_ = winRect.width_ * originRect.height_ / originRect.width_; in UpdateFloatingWindowSizeForStretchableWindow()
/foundation/arkui/ui_lite/frameworks/components/
H A Droot_view.cpp79 static void DivideInvalidateRect(const Rect& originRect, Rect& leftoverRect, Vector<Rect>& splitRects) in DivideInvalidateRect() argument
82 if (!mask.Intersect(originRect, leftoverRect)) { in DivideInvalidateRect()
89 * | | A | | originRect :A+B in DivideInvalidateRect()
94 if (originRect.IsContains(leftoverRect)) { in DivideInvalidateRect()
107 * | A | originRect :B+C in DivideInvalidateRect()
128 * +---------+ originRect :B+C in DivideInvalidateRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_handler.cpp677 for (const auto& originRect : nodeId2Rect) { in CheckRectIntersect()
678 if (originRect.second.IsInnerIntersectWithRound(dest) && in CheckRectIntersect()
679 (nodeId2Zindex[secNodeId] <= nodeId2Zindex[originRect.first])) { in CheckRectIntersect()
681 "is covered by id = %{public}d.", secNodeId, originRect.first); in CheckRectIntersect()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread_visitor.cpp952 Drawing::Rect originRect = Drawing::Rect(x, y, width + x, height + y); in ClipHoleForSurfaceNode() local
953 canvas_->ClipRect(originRect, Drawing::ClipOp::INTERSECT, false); in ClipHoleForSurfaceNode()
1008 Drawing::Rect originRect = Drawing::Rect(x, y, width + x, height + y); in ProcessTextureSurfaceRenderNode() local
1011 texture->DrawTextureImage(*canvas_, false, originRect); in ProcessTextureSurfaceRenderNode()
/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp2717 // update originRect when floating window show for the first time. in UpdateRect()
2940 const Rect& originRect = property_->GetOriginRect(); in UpdatePointerEventForStretchableWindow() local
2942 WindowHelper::CalculateOriginPosition(originRect, GetRect(), in UpdatePointerEventForStretchableWindow()
2946 pointerItem.SetWindowX(originPos.x - originRect.posX_); in UpdatePointerEventForStretchableWindow()
2947 pointerItem.SetWindowY(originPos.y - originRect.posY_); in UpdatePointerEventForStretchableWindow()

Completed in 16 milliseconds