MCPcopy Create free account
hub / github.com/Samsung/rlottie / LottieViewTest

Method LottieViewTest

example/lottieviewtest.cpp:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42{
43public:
44 LottieViewTest(EvasApp *app, Strategy st, double timeout) {
45 mStartTime = std::chrono::high_resolution_clock::now();
46 mStrategy = st;
47 mApp = app;
48
49 if (timeout > 0) {
50 ecore_timer_add(timeout, onTestDone, mApp);
51 }
52 // work around for 60fps
53 ecore_animator_frametime_set(1.0f/120.0f);
54 }
55
56 void show(int numberOfImage) {
57 auto resource = EvasApp::jsonFiles(std::string(DEMO_DIR));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected