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

Method isLazyLayout

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

Source from the content-addressed store, hash-verified

1707 } else if (_attributesApplier.getBoundAttributes() != nullptr &&
1708 _attributesApplier.getBoundAttributes()->getMeasureDelegate() != nullptr) {
1709 VALDI_TRACE("Valdi.onMeasureNode.delegate");
1710 measuredSize = _attributesApplier.getBoundAttributes()->getMeasureDelegate()->measure(
1711 *this, measureWidth, widthMode, measureHeight, heightMode);
1712 } else if (_lazyLayoutData != nullptr) {
1713 measuredSize = Size(_lazyLayoutData->estimatedWidth, _lazyLayoutData->estimatedHeight);
1714 } else {

Callers 2

TESTFunction · 0.80
ygDirtiedCallbackFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64