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

Method setPreloadingPaused

valdi/src/valdi/runtime/Context/ViewManagerContext.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ViewManagerContext::setPreloadingPaused(bool preloadingPaused) {
60 if (_viewPreloader != nullptr) {
61 if (preloadingPaused) {
62 _viewPreloader->pausePreload();
63 } else {
64 _viewPreloader->resumePreload();
65 }
66 }
67}
68
69void ViewManagerContext::setAccessibilityEnabled(const bool accessibilityEnabled) {
70 _accessibilityEnabled = accessibilityEnabled;

Callers 4

TEST_PFunction · 0.80
RuntimeManagerWrapperMethod · 0.80

Calls 2

pausePreloadMethod · 0.80
resumePreloadMethod · 0.80

Tested by 1

TEST_PFunction · 0.64