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

Method setIgnoreParentViewport

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

Source from the content-addressed store, hash-verified

3548 if (parent != nullptr) {
3549 parent->setHasChildWithAccessibilityId();
3550 }
3551 }
3552}
3553
3554void ViewNode::setAllowReuse(bool allowReuse) {
3555 _flags[kDisallowViewReuseFlag] = !allowReuse;
3556
3557 // A view that already exists can't be swapped for a new one here, but it must not go back into
3558 // the pool. Setting the attribute back to true doesn't re-enable pooling for that view.

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64