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

Method applicationDidResume

valdi/src/valdi/android/NativeBridge.cpp:1395–1404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1393 break;
1394 case ScrollEventTypeOnDragEnding: {
1395 auto adjustedPointDirectionDependentContentOffset =
1396 viewNode->onDragEnding(pointDirectionDependentContentOffset,
1397 pointDirectionDependentUnclampedContentOffset,
1398 pointDirectionDependentVelocity);
1399 if (adjustedPointDirectionDependentContentOffset) {
1400 out = convertPointToPackedPixels(adjustedPointDirectionDependentContentOffset.value(),
1401 pointScale);
1402 }
1403 } break;
1404 default:
1405 ValdiAndroid::JavaEnv::getUnsafeEnv()->ThrowNew(
1406 ValdiAndroid::JavaEnv::getCache().getValdiExceptionClass().getClass(),
1407 "Invalid scroll event type");

Callers 1

createMethod · 0.45

Calls 1

getRuntimeManagerWrapperFunction · 0.85

Tested by

no test coverage detected