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

Method getViewNodeBackingView

valdi/src/valdi/android/NativeBridge.cpp:490–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 runtime->destroyContext(context);
489 }
490}
491
492void ValdiAndroid::NativeBridge::setParentContext( // NOLINT
493 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
494 jlong contextHandle,
495 jlong parentContextHandle) {
496 auto viewNodeTree = getViewNodeTree(contextHandle);
497 auto parentViewNodeTree = getViewNodeTree(parentContextHandle);
498
499 if (viewNodeTree != nullptr) {
500 viewNodeTree->setParentTree(parentViewNodeTree);
501 }
502}
503
504jobject ValdiAndroid::NativeBridge::getViewNodeBackingView( // NOLINT
505 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
506 jlong viewNodeHandle) {
507 auto viewNode = getViewNode(viewNodeHandle);
508 if (viewNode == nullptr) {

Callers

nothing calls this directly

Calls 4

getViewNodeFunction · 0.85
releaseObjectMethod · 0.65

Tested by

no test coverage detected