Home
last modified time | relevance | path

Searched refs:nodeOffset (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_utils.cpp42 auto nodeOffset = childGeoNode->GetFrameOffset(); in OutOfBottomOrRightBoundary() local
45 return (nodeOffset.GetY() + offset) > hostSize.Height(); in OutOfBottomOrRightBoundary()
47 return (nodeOffset.GetX() + offset) > hostSize.Width(); in OutOfBottomOrRightBoundary()
56 auto nodeOffset = geoNode->GetFrameOffset(); in OutOfTopOrLeftBoundary() local
58 return nodeSize.Height() + nodeOffset.GetY() + offset < 0; in OutOfTopOrLeftBoundary()
60 return nodeSize.Width() + nodeOffset.GetX() + offset < 0; in OutOfTopOrLeftBoundary()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_pattern.cpp871 OffsetF nodeOffset = host->GetPositionToWindowWithTransform(); in GetTouchOffsetToNode() local
874 nodeOffset = nodeOffset * windowScale; in GetTouchOffsetToNode()
875 … OffsetF offset(windowOffset.GetX() + nodeOffset.GetX(), windowOffset.GetY() + nodeOffset.GetY()); in GetTouchOffsetToNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.cpp1705 auto nodeOffset = info.imageNode->GetTransformRelativeOffset(); in CalcDragPreviewDistanceWithPoint() local
1708 nodeOffset -= pixelMapOffset_; in CalcDragPreviewDistanceWithPoint()
1711 …return sqrt(pow(nodeOffset.GetX() - touchOffset.GetX(), 2) + pow(nodeOffset.GetY() - touchOffset.G… in CalcDragPreviewDistanceWithPoint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.cpp3287 OffsetF nodeOffset = GetPositionToWindowWithTransform(); in GetPositionToScreenWithTransform() local
3288 … OffsetF offset(windowOffset.GetX() + nodeOffset.GetX(), windowOffset.GetY() + nodeOffset.GetY()); in GetPositionToScreenWithTransform()