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

Method getRecursiveChildCount

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

Source from the content-addressed store, hash-verified

572 if (needUpdate) {
573 int beforeViewIndex = *currentViewIndex;
574 int beforeViewsCount = *viewsCount;
575
576 if (hasChildWithZIndex()) {
577 auto children = sortChildrenByZIndex();
578 for (ViewNode* childViewNode : *children) {
579 childViewNode->doUpdateViewTree(viewTransactionScope,
580 currentParentView,
581 visibleInViewport,
582 limitToViewportEnabled,
583 parentViewChanged,
584 viewInflationEnabled,
585 animator,

Callers 1

TEST_PMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_PMethod · 0.64