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

Method moveViewToTree

valdi/src/valdi/runtime/Views/DeferredViewTransaction.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void DeferredViewTransaction::moveViewToTree(const Ref<View>& view, ViewNodeTree* viewNodeTree, ViewNode* viewNode) {
59 enqueue(
60 [view, viewNodeTree = strongSmallRef(viewNodeTree), viewNode = strongSmallRef(viewNode)](
61 IViewTransaction& transaction) { transaction.moveViewToTree(view, viewNodeTree.get(), viewNode.get()); });
62}
63
64void DeferredViewTransaction::insertChildView(const Ref<View>& view,
65 const Ref<View>& childView,

Callers 4

setViewToRootViewNodeMethod · 0.45
createViewMethod · 0.45
measureMethod · 0.45

Calls 2

strongSmallRefFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected