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

Function resolveYogaNode

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

Source from the content-addressed store, hash-verified

75
76static auto getBackend(ViewNodeTree* tree) {
77 if (!tree) {
78 return RenderingBackendTypeUnset;
79 }
80 auto viewManagerContext = tree->getViewManagerContext();
81 if (viewManagerContext == nullptr) {
82 return RenderingBackendTypeUnset;

Callers 10

ygNodeGetFrameFunction · 0.85
removeFromParentMethod · 0.85
insertChildAtMethod · 0.85
isFlexLayoutDirtyMethod · 0.85
needsYogaMeasureFuncMethod · 0.85
getChildCountMethod · 0.85
getChildAtMethod · 0.85
updateCalculatedFrameMethod · 0.85
updateScrollStateMethod · 0.85

Calls 1

resolveRefFunction · 0.50

Tested by

no test coverage detected