Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 36) sorted by relevance

12

/lvgl-latest/tests/src/test_cases/
Dtest_anim.c104 lv_anim_t * animation = lv_anim_start(&a); in test_anim_pause() local
109 lv_anim_pause(animation); in test_anim_pause()
114 lv_anim_resume(animation); in test_anim_pause()
134 lv_anim_t * animation = lv_anim_start(&a); in test_anim_pause_for() local
136 lv_anim_pause_for(animation, 20); in test_anim_pause_for()
142 lv_anim_pause_for(animation, 20); in test_anim_pause_for()
161 lv_anim_t * animation = lv_anim_start(&a); in test_anim_pause_for_resume() local
163 lv_anim_pause_for(animation, 40); in test_anim_pause_for_resume()
166 lv_anim_resume(animation); in test_anim_pause_for_resume()
/lvgl-latest/docs/details/widgets/
Danimimg.rst10 The animation image is similar to the normal 'Image' Widget. The only
12 multiple source images that supply "frames" in an animation.
33 To set the image animation images sources, use
36 Using the inner animation
39 For more advanced use cases, the animation used internally by the image can be
41 use the :ref:`Animation <animation>` functions, for example, to
42 override the animation values using the
44 on the animation completed event.
Dlottie.rst12 The Lottie animations are vector based animation. Think of it as the modern combination of SVG and …
17 The Lottie Widget is based on :ref:`lv_canvas` because in order to render the animation
18 the user needs to provide a buffer where the current animation frame is stored.
25 - :cpp:enumerator:`LV_PART_MAIN` The background of the Lottie animation. The typical background st…
46 In order to render the animation a buffer needs to be assigned to the Lottie Widget.
50 To keep the buffer size and the animation size consistent,
51 the size of the Widget (i.e. the size of the animation) is set to the dimensions of the buffer inte…
61 ``lv_example_lottie_approve.c`` contains an example animation. Instead of storing the JSON string, …
76 To create an animation from data use
82 Get the animation
[all …]
Dbar.rst27 animation time if the values set with :cpp:enumerator:`LV_ANIM_ON`.
61 animation depending on the last parameter (``LV_ANIM_ON/OFF``).
Dslider.rst54 - :cpp:expr:`lv_slider_set_value(slider, new_value, LV_ANIM_ON/OFF)` (animation time
/lvgl-latest/examples/anim/
Dindex.rst2 Start animation on an event
8 Playback animation
13 Cubic Bezier animation
18 Pause animation
/lvgl-latest/src/libs/thorvg/
DtvgCapi.cpp831 TVG_API Tvg_Result tvg_animation_set_frame(Tvg_Animation* animation, float no) in tvg_animation_set_frame() argument
833 if (!animation) return TVG_RESULT_INVALID_ARGUMENT; in tvg_animation_set_frame()
834 return (Tvg_Result) reinterpret_cast<Animation*>(animation)->frame(no); in tvg_animation_set_frame()
838 TVG_API Tvg_Result tvg_animation_get_frame(Tvg_Animation* animation, float* no) in tvg_animation_get_frame() argument
840 if (!animation || !no) return TVG_RESULT_INVALID_ARGUMENT; in tvg_animation_get_frame()
841 *no = reinterpret_cast<Animation*>(animation)->curFrame(); in tvg_animation_get_frame()
846 TVG_API Tvg_Result tvg_animation_get_total_frame(Tvg_Animation* animation, float* cnt) in tvg_animation_get_total_frame() argument
848 if (!animation || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_animation_get_total_frame()
849 *cnt = reinterpret_cast<Animation*>(animation)->totalFrame(); in tvg_animation_get_total_frame()
854 TVG_API Tvg_Paint* tvg_animation_get_picture(Tvg_Animation* animation) in tvg_animation_get_picture() argument
[all …]
Dthorvg_capi.h2441 TVG_API Tvg_Result tvg_animation_set_frame(Tvg_Animation* animation, float no);
2459 TVG_API Tvg_Paint* tvg_animation_get_picture(Tvg_Animation* animation);
2476 TVG_API Tvg_Result tvg_animation_get_frame(Tvg_Animation* animation, float* no);
2493 TVG_API Tvg_Result tvg_animation_get_total_frame(Tvg_Animation* animation, float* cnt);
2509 TVG_API Tvg_Result tvg_animation_get_duration(Tvg_Animation* animation, float* duration);
2525 TVG_API Tvg_Result tvg_animation_set_segment(Tvg_Animation* animation, float begin, float end);
2541 TVG_API Tvg_Result tvg_animation_get_segment(Tvg_Animation* animation, float* begin, float* end);
2554 TVG_API Tvg_Result tvg_animation_del(Tvg_Animation* animation);
2625 TVG_API Tvg_Result tvg_lottie_animation_override(Tvg_Animation* animation, const char* slot);
2641 TVG_API Tvg_Result tvg_lottie_animation_set_marker(Tvg_Animation* animation, const char* marker);
[all …]
DtvgSaveModule.h40 …virtual bool save(Animation* animation, Paint* bg, const string& path, uint32_t quality, uint32_t …
DtvgSaver.cpp158 Result Saver::save(unique_ptr<Animation> animation, const string& path, uint32_t quality, uint32_t … in save() argument
160 auto a = animation.release(); in save()
/lvgl-latest/src/libs/rlottie/
Dlv_rlottie.c120 …rlottie->animation = lottie_animation_from_data(create_info.rlottie_desc, create_info.rlottie_desc… in lv_rlottie_constructor()
123 rlottie->animation = lottie_animation_from_file(create_info.path); in lv_rlottie_constructor()
125 if(rlottie->animation == NULL) { in lv_rlottie_constructor()
130 rlottie->total_frames = lottie_animation_get_totalframe(rlottie->animation); in lv_rlottie_constructor()
131 rlottie->framerate = (size_t)lottie_animation_get_framerate(rlottie->animation); in lv_rlottie_constructor()
164 if(rlottie->animation) { in lv_rlottie_destructor()
165 lottie_animation_destroy(rlottie->animation); in lv_rlottie_destructor()
166 rlottie->animation = 0; in lv_rlottie_destructor()
233 rlottie->animation, in next_frame_task_cb()
Dlv_rlottie_private.h34 struct Lottie_Animation_S * animation; member
/lvgl-latest/docs/details/libs/
Drlottie.rst51 You can use animation from files or raw data (text). In either case
55 function and the animation will be scaled accordingly.
60 To create a Lottie animation from file use:
72 ``lv_example_rlottie_approve.c`` contains an example animation in raw
88 To create an animation from raw data:
98 Lottie is standard and popular format so you can find many animation
107 LVGL provides two functions to control the animation mode:
118 … LV_RLOTTIE_CTRL_PAUSE); // The specified frame will be displayed and then the animation will pause
126 The default animation mode is **play forward with loop**.
129 animation cannot make more progress without looping.
[all …]
Dsvg.rst18 If you need support SVG animation attribute parsing,
Dgif.rst41 To decode and display a GIF animation the following amount of RAM is
/lvgl-latest/examples/widgets/lottie/
Dindex.rst1 Load a Lottie animation from an array
7 Load a Lottie animation from file
/lvgl-latest/examples/libs/rlottie/
Dindex.rst1 Load a Lottie animation from raw data
7 Load a Lottie animation from a file
/lvgl-latest/docs/details/main-components/
Dindex.rst16 animation
Danimation.rst41 Because of the former, an animation on a single :cpp:type:`lv_style_t` object shared
257 passing :c:macro:`LV_ANIM_REPEAT_INFINITE`, the animation never reaches a state
272 - a running animation needs to be stopped before it is completed.
282 ``running_anim``, you can delete the running animation like this:
302 you can pause the running animation using :cpp:expr:`lv_anim_pause(animation)` and then resume it
303 using :cpp:expr:`lv_anim_resume(animation)`.
305 :cpp:expr:`lv_anim_pause_for(animation, milliseconds)`
306 is also available if you wish for the animation to resume automatically after.
/lvgl-latest/examples/widgets/animimg/
Dindex.rst7 :description: A simple example to demonstrate the use of an animation image.
/lvgl-latest/examples/widgets/label/
Dindex.rst26 Customize circular scrolling animation
/lvgl-latest/demos/music/
DREADME.md14 ## How the spectrum animation works
/lvgl-latest/docs/details/integration/bindings/
Djavascript.rst22 - `Animation <#animation>`__
35 - Fully support lvgl animation
/lvgl-latest/docs/details/base-widget/
Dobj.rst357 A new screen can be loaded with animation by using
368 screen when the animation is finished.
371 the animation starts after ``delay`` time. All inputs are disabled
372 during the screen animation.
557 …EGIN` Scrolling begins. The event parameter is a pointer to the animation of the scroll. C…
Dscroll.rst107 event parameter is ``NULL`` or an ``lv_anim_t *`` with a scroll animation
205 4. LVGL scrolls to the snap point with an animation.

12