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

Method enqueueLoadOperation

valdi/src/valdi/android/NativeBridge.cpp:1198–1212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196
1197 viewNodeTree->setLayoutSpecs(Valdi::Size(widthFloat, heightFloat), layoutDirection);
1198}
1199
1200void ValdiAndroid::NativeBridge::setVisibleViewport( // NOLINT
1201 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
1202 jlong runtimeHandle,
1203 jlong contextHandle,
1204 jint x,
1205 jint y,
1206 jint width,
1207 jint height,
1208 jboolean shouldUnset) {
1209 auto viewNodeTree = getViewNodeTree(contextHandle);
1210 auto* runtimeWrapper = getRuntimeWrapper(runtimeHandle);
1211
1212 if (viewNodeTree == nullptr || runtimeWrapper == nullptr) {
1213 return;
1214 }
1215

Callers 3

TEST_PFunction · 0.45
configureSupportLibsMethod · 0.45

Calls 2

getRuntimeManagerWrapperFunction · 0.85
JavaEnvClass · 0.50

Tested by 1

TEST_PFunction · 0.36