MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPlatformType

Method getPlatformType

valdi/src/valdi/runtime/Context/ViewNode.cpp:2986–2988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2984 // the backing view, but we can at least offset the children so that they appear
2985 // at the right position. This allows the use of the margin attributes on root nodes.
2986 childrenViewOffsetX = _calculatedFrame.x;
2987 childrenViewOffsetY = _calculatedFrame.y;
2988 }
2989
2990 float childrenRtlOffsetX = isInScrollMode() ? getOrCreateScrollState().getRtlOffsetX() : 0.0f;
2991 const auto& resolvedAnimator = resolveAnimator(parentAnimator);

Callers 3

onApplyMethod · 0.45

Calls 1

getViewManagerMethod · 0.80

Tested by

no test coverage detected