Home
last modified time | relevance | path

Searched full:time (Results 1 – 25 of 122) sorted by relevance

12345

/lvgl-latest/src/misc/
Dlv_anim.c67 a->time = 500; in lv_anim_init()
123 playtime = a->time - a->act_time; in lv_anim_get_playtime()
130 playtime += (a->repeat_delay + a->time + in lv_anim_get_playtime()
197 uint32_t time = (d * 1000) / speed; in lv_anim_speed_to_time() local
199 if(time == 0) { in lv_anim_speed_to_time()
200 time++; in lv_anim_speed_to_time()
203 return time; in lv_anim_speed_to_time()
214 int32_t step = lv_map(a->act_time, 0, a->time, 0, LV_ANIM_RESOLUTION); in lv_anim_path_linear()
229 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_in()
243 uint32_t t = lv_map(a->act_time, 0, a->time, 0, LV_BEZIER_VAL_MAX); in lv_anim_path_ease_out()
[all …]
Dlv_anim.h87 int32_t time; /**< Animation time in ms*/ member
88 int32_t act_time; /**< Current time in animation. Set to negative to make delay.*/
150 a->time = duration; in lv_anim_set_time()
245 * @param time the duration of the playback animation in milliseconds. 0: disable playback
247 static inline void lv_anim_set_playback_time(lv_anim_t * a, uint32_t time) in lv_anim_set_playback_time() argument
249 a->playback_time = time; in lv_anim_set_playback_time()
323 * Get the time used to play the animation.
325 * @return the play time in milliseconds.
406 * Calculate the time of an animation with a given speed and the start and end values
410 * @return the required time [ms] for the animation with the given parameters
Dlv_timer.c65 * @return the time after which it must be called again
137 idle_last = idle_last > 100 ? 0 : 100 - idle_last; /*But we need idle time*/ in lv_timer_handler()
296 * Execute timer if its remaining time is zero
330 * Find out how much time remains before a timer must be run.
332 * @return the time remaining, or 0 if it needs to be run again
336 /*Check if at least 'period' time elapsed*/ in lv_timer_time_remaining()
Dlv_anim_timeline.h49 …* @param start_time the time the animation started on the timeline, note that start_time will o…
57 * @return total time spent in animation timeline.
82 * Get the time used to play the animation timeline.
84 * @return total time spent in animation timeline.
/lvgl-latest/docs/overview/
Dimage.md29 …s a result, they are not as resource-friendly as images linked at compile time. However, they are …
89 If you are generating an image at run-time, you can craft an image variable to display it using LVG…
107 Another (possibly simpler) option to create and display an image at run-time is to use the [Canvas]…
258 …it can decode one line of the image without decoding the whole image, you can save memory and time.
285 Sometimes it takes a lot of time to open an image.
295 The size of the cache can be changed at run-time with `lv_img_cache_set_size(entry_num)`.
302 If you want or need to override LVGL's measurement, you can manually set the *time to open* value i…
304 Every cache entry has a *"life"* value. Every time an image is opened through the cache, the *life*…
305 When a cached image is used, its *life* value is increased by the *time to open* value to make it m…
312 …'s responsibility to be sure there is enough RAM to cache even the largest images at the same time.
Danimation.md42 /*Time to wait before starting the animation [ms]*/
58 lv_anim_set_playback_time(&a, time);
78 You can apply multiple different animations on the same variable at the same time.
95 ## Speed vs time
96 By default, you set the animation time directly. But in some cases, setting the animation speed is …
98 The `lv_anim_speed_to_time(speed, start, end)` function calculates the required time in millisecond…
112 …ing `lv_anim_timeline_add(at, start_time, &a)`. `start_time` is the start time of the animation on…
Dstyle.md34 An object can be in a combination of states such as being focused and pressed at the same time. Thi…
198 …SED | LV_STATE_CHECKED` The indicator part when the object is pressed and checked at the same time.
261 - the time of the transition
266 …ting a 500 ms transition time in the default state means that when the object goes to the default …
267 Setting a 100 ms transition time in the pressed state causes a 100 ms transition when going to the …
Dtimer.md54 ## Measure idle time
56 …an get the idle percentage time of `lv_timer_handler` with `lv_timer_get_idle()`. Note that, it do…
57 … and call `lv_timer_handler` in a timer, as it won't actually measure the time the OS spends in an…
Dobject.md95 In LVGL, objects can be created and deleted dynamically at run time. It means only the currently cr…
123 You can use `lv_obj_del_delayed(obj, 1000)` to delete an object after some time. The delay is expre…
160 A new screen can be loaded with animation by using `lv_scr_load_anim(scr, transition_type, time, de…
169 …creen will become active (returned by `lv_scr_act()`) when the animation starts after `delay` time.
/lvgl-latest/src/hal/
Dlv_hal_indev.h35 /*Long press time in milliseconds.
36 *Time to send `LV_EVENT_LONG_PRESSSED`)*/
40 *Time between `LV_EVENT_LONG_PRESSED_REPEAT*/
120 /**< Long press time in milliseconds*/
127 /** Run time data of input devices
168 uint32_t pr_timestamp; /**< Pressed time stamp*/
169 uint32_t longpr_rep_timestamp; /**< Long press repeat time stamp*/
203 * Update the driver in run time.
Dlv_hal_disp.h121 /** OPTIONAL: Called after every refresh cycle to tell the rendering and flushing time + the
123 void (*monitor_cb)(struct _lv_disp_drv_t * disp_drv, uint32_t time, uint32_t px);
194 uint32_t last_activity_time; /**< Last time when there was activity on this display*/
235 * Update the driver in run time.
/lvgl-latest/src/core/
Dlv_obj_style.h47 uint16_t time; member
186 * @param time time of fade
189 void lv_obj_fade_in(struct _lv_obj_t * obj, uint32_t time, uint32_t delay);
194 * @param time time of fade
197 void lv_obj_fade_out(struct _lv_obj_t * obj, uint32_t time, uint32_t delay);
Dlv_indev.c92 /*Save the last activity time*/ in lv_indev_read_timer_cb()
423 *for the next time*/ in indev_keypad_proc()
477 /*Long press time has elapsed?*/ in indev_keypad_proc()
486 /*Long press repeated time has elapsed?*/ in indev_keypad_proc()
644 /*Long press repeated time has elapsed?*/ in indev_encoder_proc()
872 /*Save the time when the obj pressed to count long press time.*/ in indev_proc_press()
918 /*If there is no scrolling then check for long press time*/ in indev_proc_press()
920 /*Call the ancestor's event handler about the long press if enough time elapsed*/ in indev_proc_press()
928 /*Save the long press time stamp for the long press repeat handler*/ in indev_proc_press()
935 /*Call the ancestor's event handler about the long press repeat if enough time elapsed*/ in indev_proc_press()
Dlv_disp.c217 * @param time time of the animation
221 void lv_scr_load_anim(lv_obj_t * new_scr, lv_scr_load_anim_t anim_type, uint32_t time, uint32_t del… in lv_scr_load_anim() argument
267 if(time == 0 && delay == 0) { in lv_scr_load_anim()
278 lv_anim_set_time(&a_new, time); in lv_scr_load_anim()
284 lv_anim_set_time(&a_old, time); in lv_scr_load_anim()
370 * Get elapsed time since last user activity on a display (e.g. click)
Dlv_disp.h126 * @param time time of the animation
130 void lv_scr_load_anim(lv_obj_t * scr, lv_scr_load_anim_t anim_type, uint32_t time, uint32_t delay, …
133 * Get elapsed time since last user activity on a display (e.g. click)
/lvgl-latest/scripts/
Djpg_to_sjpg.py8 import math, os, sys, time
31 start_time = time.time()
131 time_taken = (time.time() - start_time)
Dstyle_api_gen.py333 … are widget specific, e.g. animation time could be the E.g. blink time of the cursor on the text a…
337 …c': "The animation time in milliseconds. Its meaning is widget specific. E.g. blink time of the cu…
/lvgl-latest/src/extra/libs/png/
Dlodepng.h37 to disable code sections, which can give faster compile time and smaller binary.
419 /*The information of a Time chunk in PNG.*/
505 /*time chunk (tIME)*/
506 unsigned time_defined; /*set to 1 to make the encoder generate a tIME chunk*/
507 LodePNGTime time; member
541 sRGB chunk: optional. May not appear at the same time as iCCP.
549 iCCP chunk: optional. May not appear at the same time as sRGB.
1196 tIME: modification time
1335 colortype and bitdepth, text chunks, time chunk, the color key, the palette, the
1895 *) 18 jan 2008: support for tIME and pHYs chunks added to encoder and decoder.
/lvgl-latest/src/widgets/
Dlv_textarea.h48 …uint16_t pwd_show_time; /*Time to show characters in password mode before change them to '*'*/
205 * @param time show time in milliseconds. 0: hide immediately.
207 void lv_textarea_set_password_show_time(lv_obj_t * obj, uint16_t time);
310 * @return show time in milliseconds. 0: hide immediately.
Dlv_label.c962 if(act_time < a.time) { in lv_label_refr_text()
976 lv_anim_set_playback_time(&a, a.time); in lv_label_refr_text()
997 if(act_time < a.time) { in lv_label_refr_text()
1011 lv_anim_set_playback_time(&a, a.time); in lv_label_refr_text()
1063 else if(act_time < a.time) { in lv_label_refr_text()
1090 else if(act_time < a.time) { in lv_label_refr_text()
/lvgl-latest/env_support/cmsis-pack/
DREADME.md92 /*Default transition time in [ms]*/
109 /*Use a custom tick source that tells the elapsed time in milliseconds.
121 #define LV_TICK_CUSTOM_INCLUDE "Arduino.h" /*Header for the system time function*/
122 …e LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/
Dlv_cmsis_pack.txt28 #include <time.h>
101 /* only arm compilers will use microLib that doesn't implement time() */
104 _ARMABI time_t time(time_t * time)
Dlv_conf_cmsis.h76 /*Default display refresh period. LVG will redraw changed areas with this period time*/
83 /*Use a custom tick source that tells the elapsed time in milliseconds.
95 #define LV_TICK_CUSTOM_INCLUDE "Arduino.h" /*Header for the system time function*/
96 …e LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/
574 /*Default transition time in [ms]*/
/lvgl-latest/demos/music/
Dlv_demo_music_list.c168 char time[32]; in add_list_btn() local
169 lv_snprintf(time, sizeof(time), "%"LV_PRIu32":%02"LV_PRIu32, t / 60, t % 60); in add_list_btn()
206 lv_label_set_text(time_label, time); in add_list_btn()
/lvgl-latest/
Dlv_conf_template.h80 /*Default display refresh period. LVG will redraw changed areas with this period time*/
86 /*Use a custom tick source that tells the elapsed time in milliseconds.
90 #define LV_TICK_CUSTOM_INCLUDE "Arduino.h" /*Header for the system time function*/
91 …e LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/
585 /*Default transition time in [ms]*/

12345