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

Method computeVisualFrameInRoot

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

Source from the content-addressed store, hash-verified

1969void ViewNode::updateIsLazyLayout(ViewTransactionScope& viewTransactionScope) {
1970 setIsLazyLayout(viewTransactionScope,
1971 !managesChildFrames() &&
1972 (_flags[kPrefersLazyLayoutFlag] ||
1973 (_lazyLayoutData != nullptr && _lazyLayoutData->onMeasureCallback != nullptr)));
1974}
1975
1976void ViewNode::reinsertChildrenInYogaContainer(ViewTransactionScope& viewTransactionScope) {
1977 auto allChildren = copyChildren();
1978 for (const auto& childViewNode : allChildren) {

Callers 2

TESTFunction · 0.80
writeViewNodeMethod · 0.80

Calls 2

PointClass · 0.50
FrameClass · 0.50

Tested by 1

TESTFunction · 0.64