Home
last modified time | relevance | path

Searched refs:lastRect (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/extensions/events/
H A Don_area_change_extension.h52 …void UpdateArea(const Rect& rect, const Offset& origin, const Rect& lastRect, const Offset& lastOr… in UpdateArea() argument
55 callback(lastRect, lastOrigin, rect, origin); in UpdateArea()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_interactable_view_ffi.cpp193 …[onAreaChanged](const Rect& lastRect, const Offset& lastOrigin, const Rect& rect, const Offset& or… in FfiOHOSAceFrameworkInteractableViewOnAreaChanged() argument
195 lastCjArea.width = lastRect.Width(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
196 lastCjArea.height = lastRect.Height(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
199 lastCjPosition.x = lastRect.GetOffset().GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
200 lastCjPosition.y = lastRect.GetOffset().GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
201 lastCjGlobalPosition.x = lastRect.GetOffset().GetX() + lastOrigin.GetX(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
202 lastCjGlobalPosition.y = lastRect.GetOffset().GetY() + lastOrigin.GetY(); in FfiOHOSAceFrameworkInteractableViewOnAreaChanged()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp364 auto lastRect = node->GetWindowRect(); in ComputeRectByAspectRatio() local
365 lastRect.width_ -= winFrameW; in ComputeRectByAspectRatio()
366 lastRect.height_ -= winFrameH; in ComputeRectByAspectRatio()
367 newRect = lastRect; in ComputeRectByAspectRatio()
909 const Rect& lastRect = node->GetWindowRect(); in LimitWindowPositionWhenDrag() local
930 if (oriWinRect.width_ != lastRect.width_) { in LimitWindowPositionWhenDrag()
937 if (oriWinRect.width_ != lastRect.width_) { in LimitWindowPositionWhenDrag()
945 if (oriWinRect.height_ != lastRect.height_) { in LimitWindowPositionWhenDrag()
953 if (oriWinRect.height_ != lastRect.height_) { in LimitWindowPositionWhenDrag()
H A Dwindow_controller.cpp701 Rect lastRect = property->GetWindowRect(); in ResizeRect() local
704 newRect = { rect.posX_, rect.posY_, lastRect.width_, lastRect.height_ }; in ResizeRect()
708 newRect = lastRect; in ResizeRect()
710 newRect.posX_ = lastRect.posX_; in ResizeRect()
712 newRect.posY_ = lastRect.posY_; in ResizeRect()
716 newRect = { lastRect.posX_, lastRect.posY_, rect.width_, rect.height_ }; in ResizeRect()
H A Dwindow_layout_policy_tile.cpp351 Rect lastRect = node->GetWindowRect(); in UpdateLayoutRect() local
370 UpdateSurfaceBounds(node, winRect, lastRect); in UpdateLayoutRect()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_session.cpp4176 WSRect lastRect = { left, top, width, height }; in OnSetWindowLastSafeRect() local
4177 session->SetSessionRequestRect(lastRect); in OnSetWindowLastSafeRect()