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

Method setTranslationX

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

Source from the content-addressed store, hash-verified

3563
3564bool ViewNode::allowsReuse() const {
3565 return !_flags[kDisallowViewReuseFlag];
3566}
3567
3568void ViewNode::setAnimationsEnabled(ViewTransactionScope& viewTransactionScope, bool animationsEnabled) {
3569 if (_flags[kAnimationsEnabled] != animationsEnabled) {
3570 _flags[kAnimationsEnabled] = animationsEnabled;

Callers 2

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36