/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_private.h | 140 * @param time animation time 141 * @param delay delay time before loading the screen 143 void lv_demo_smartwatch_home_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t delay); 148 * @param time animation time 149 * @param delay delay time before loading the screen 151 void lv_demo_smartwatch_settings_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t dela… 156 * @param time animation time 157 * @param delay delay time before loading the screen 159 void lv_demo_smartwatch_control_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t delay… 164 * @param time animation time [all …]
|
D | lv_demo_smartwatch_notifications.h | 45 * @param time animation time 46 * @param delay delay time before loading the screen 48 void lv_demo_smartwatch_notifications_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t… 62 * @param time the notification time 64 void lv_demo_smartwatch_show_notification(int app_id, const char * message, const char * time);
|
D | lv_demo_smartwatch.h | 73 * @param time animation time 74 * @param delay delay time before loading the screen 76 void lv_demo_smartwatch_home_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t delay); 114 * Update time on the default watchface 172 * @param time the notification time 174 void lv_demo_smartwatch_show_notification(int app_id, const char * message, const char * time);
|
/lvgl-latest/src/misc/ |
D | lv_anim.h | 150 uint32_t pause_time; /**<The time when the animation was paused*/ 151 …uint32_t pause_duration; /**<The amount of the time the animation must stay pause… 155 … * time animation timer executes), indicates this animation needs to be updated. */ 220 * @param ms the pause time in milliseconds 358 * Get the time used to play the animation. 360 * @return the play time in milliseconds. 444 * Store the speed as a special value which can be used as time in animations. 445 * It will be converted to time internally based on the start and end values. 447 * and let LVGL convert the speed to time based on the actual values. 448 * LIMITATION: the max time stored this way can be 10,000 ms. [all …]
|
D | lv_anim.c | 29 /**In an anim. time this bit indicates that the value is speed, and not time*/ 242 uint32_t time = (d * 1000) / speed; in lv_anim_speed_to_time() local 244 time = time == 0 ? 1 : time; in lv_anim_speed_to_time() 246 return time; in lv_anim_speed_to_time() 492 /*It was a simple time*/ in lv_anim_resolve_speed() 497 uint32_t time = (d * 100) / speed; /*Speed is in 10 units per sec*/ in lv_anim_resolve_speed() local 501 return LV_CLAMP(min_time * 10, time, max_time * 10); in lv_anim_resolve_speed() 574 /*The animation will run now for the first time. Call `start_cb`*/ in anim_timer() 608 /*Restore the original time to see is there is over time. in anim_timer() 612 /*If the time is elapsed the animation is ready*/ in anim_timer() [all …]
|
/lvgl-latest/tests/micropy_test/ |
D | __init__.py | 24 import time 75 self.watchdog_timer = time.time() 234 time.sleep(0.002) 241 td.watchdog_timer = time.time() 247 td.watchdog_timer = time.time() 256 td.watchdog_timer = time.time() 283 test_data.watchdog_timer = time.time() 288 (time.time() - test_data.watchdog_timer) * 1000 <= 20000 and
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieExpressions.cpp | 56 static const char* EXP_TIME = "time"; 305 //sampleImage(point, radius = [.5, .5], postEffect=true, t=time) in _buildLayer() 693 auto time = jerry_value_as_number(args[0]); in _nearestKey() local 694 auto frameNo = exp->comp->frameAtTime(time); in _nearestKey() 735 auto time = jerry_value_as_number(args[0]); in _valueAtTime() local 736 auto frameNo = exp->comp->frameAtTime(time); in _valueAtTime() 758 auto time = jerry_value_as_number(args[0]); in _velocityAtTime() local 759 auto frameNo = exp->comp->frameAtTime(time); in _velocityAtTime() 792 auto time = jerry_value_as_number(args[0]); in _speedAtTime() local 793 auto frameNo = exp->comp->frameAtTime(time); in _speedAtTime() [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | animation.rst | 7 Animations allow you to define the way something should move or change over time, and 11 appearance, size or location over time. But because it is --- at its core --- a 12 generic change-over-time manager, complete with a variety of optional event 17 specified time period. It allows you to specify what object it applies to (the 21 This variation over time can be linear (default), it can be on a path (curve) that 52 The number of Animations that can be playing at the same time for a given object with 54 be playing at the same time is limited only by available RAM and CPU time for: 102 /* Time to wait before starting the Animation [ms] */ 118 lv_anim_set_reverse_duration(&anim_template, time); 174 Speed vs Time [all …]
|
D | timer.rst | 83 You can modify these Timer parameters at any time during its life: 120 Measuring Idle Time 123 You can get the idle percentage time of :cpp:func:`lv_timer_handler` with 124 :cpp:func:`lv_timer_get_idle`. Note that it does not measure the idle time of 127 does not actually measure the time the OS spends in an idle thread. 129 If you are using an OS and wish to get the time the CPU is spending in an idle 133 fetches the percent of CPU time spent in the OS's idle thread. An example of such
|
D | image.rst | 54 resource-friendly as images linked at compile time. However, they are 137 If you are generating an image at run-time, you can craft an image 154 run-time is to use the :ref:`Canvas <lv_canvas>` Widget. 505 Sometimes it takes a lot of time to open an image. Continuously decoding 527 The size of cache can be changed at run-time with 548 Every cache entry has a *"life"* value. Every time an image is opened 565 to cache even the largest images at the same time.
|
/lvgl-latest/src/widgets/calendar/ |
D | lv_calendar.c | 41 static lv_calendar_date_t gregorian_get_last_month_time(lv_calendar_date_t * time); 42 static lv_calendar_date_t gregorian_get_next_month_time(lv_calendar_date_t * time); 460 static lv_calendar_date_t gregorian_get_last_month_time(lv_calendar_date_t * time) in gregorian_get_last_month_time() argument 463 if(time->month == 1) { in gregorian_get_last_month_time() 465 last_month_time.year = time->year - 1; in gregorian_get_last_month_time() 468 last_month_time.month = time->month - 1; in gregorian_get_last_month_time() 469 last_month_time.year = time->year; in gregorian_get_last_month_time() 474 static lv_calendar_date_t gregorian_get_next_month_time(lv_calendar_date_t * time) in gregorian_get_next_month_time() argument 477 if(time->month == 12) { in gregorian_get_next_month_time() 479 next_month_time.year = time->year + 1; in gregorian_get_next_month_time() [all …]
|
D | lv_calendar_chinese.h | 46 * @param gregorian to obtain the gregorian time for the name 52 …* Get the chinese time of the gregorian time (reference: https://www.cnblogs.com/liyang31tg/p/4123… 53 * @param gregorian_time need to convert to chinese time in gregorian time 54 * @param chinese_time the chinese time convert from gregorian time
|
/lvgl-latest/docs/ |
D | build.py | 22 of re-writing writing `conf.py` and a `header.rst` each time docs 49 tasks by shortening the turn-around time between doc modification 53 run time to a run time that is workable for rapidly repeating doc 83 Generation time depends on the number of `.rst` files that 87 | Docs Changed | Time | Typical Time to Browser Refresh | 119 Skips generating API pages (this saves about 70% of build time). 121 turn-around time between doc modifications and seeing final results. 140 `.rst` files to `temp_directory` when they are updated to save time 193 print('Current time: ' + str(t1)) 201 # This saves a huge amount of time during long document projects. [all …]
|
/lvgl-latest/src/drivers/wayland/ |
D | lv_wayland.c | 34 #include <time.h> 280 * @param time Timestamp of the event (unused) 282 static void graphic_obj_frame_done(void * data, struct wl_callback * cb, uint32_t time) in graphic_obj_frame_done() argument 287 LV_UNUSED(time); in graphic_obj_frame_done() 461 uint32_t time, wl_fixed_t sx, wl_fixed_t sy) in pointer_handle_motion() argument 466 LV_UNUSED(time); in pointer_handle_motion() 477 uint32_t serial, uint32_t time, uint32_t button, in pointer_handle_button() argument 484 LV_UNUSED(time); in pointer_handle_button() 647 uint32_t time, uint32_t axis, wl_fixed_t value) in pointer_handle_axis() argument 652 LV_UNUSED(time); in pointer_handle_axis() [all …]
|
/lvgl-latest/docs/details/base-widget/ |
D | event.rst | 124 - :cpp:enumerator:`LV_EVENT_SHORT_CLICKED`: Widget was pressed for a short period of time, and the… 125 …time, and then released without scrolling, for the first time in a click streak. A click streak re… 126 …D`: Widget was pressed for a short period of time, and then released without scrolling, for the se… 127 …ED`: Widget was pressed for a short period of time, and then released without scrolling, for the t… 216 - notify a label to refresh its text according to one or more variables (e.g. current time)
|
D | obj.rst | 210 In LVGL, Widgets can be created and deleted dynamically at run time. It 250 some time. The delay is expressed in milliseconds. 333 with it, only one of those Screens is considered "Active" at any given time. That 335 Screen and its child Widgets will ever be shown on a display at one time. 358 :cpp:expr:`lv_screen_load_anim(scr, transition_type, time, delay, auto_del)`. The 371 the animation starts after ``delay`` time. All inputs are disabled 549 - :cpp:enumerator:`LV_EVENT_SHORT_CLICKED` Widget was pressed for a short period of time, t… 550 …:`LV_EVENT_SINGLE_CLICKED` Sent for first short click within a small distance and short time. 551 …r:`LV_EVENT_DOUBLE_CLICKED` Sent for second short click within small distance and short time. 552 …or:`LV_EVENT_TRIPLE_CLICKED` Sent for third short click within small distance and short time.
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | document.h | 1206 \note Linear time complexity. 1223 \note Linear time complexity. 1245 // This will generate -Wexit-time-destructors in clang, but that's 1283 \note Linear time complexity. 1297 \note Linear time complexity. 1308 \note Linear time complexity. 1320 \note Linear time complexity. 1335 \note Linear time complexity. 1355 \note Linear time complexity. 1385 \note Amortized Constant time complexity. [all …]
|
/lvgl-latest/demos/benchmark/ |
D | lv_demo_benchmark.h | 37 * - If `LV_SYSMON_GET_IDLE` is not modified it's measured based on the time spent in 44 * - Render time: LVGL spent this much time with rendering only. It's not aware of task yielding, 45 * but simply the time difference between the start and end of the rendering is measured 47 * - Flush time: It's the sum of 48 * - the time spent in the `flush_cb` and 49 * - the time spent with waiting for flush ready.
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_home.c | 99 lv_obj_t * time = lv_spangroup_create(date_and_time); in lv_demo_high_res_home() local 100 lv_obj_add_style(time, &c->fonts[FONT_HEADING_XXL], 0); in lv_demo_high_res_home() 101 lv_obj_add_style(time, &c->styles[STYLE_COLOR_BASE][STYLE_TYPE_TEXT], 0); in lv_demo_high_res_home() 102 lv_spangroup_new_span(time); in lv_demo_high_res_home() 103 lv_span_t * minute = lv_spangroup_new_span(time); in lv_demo_high_res_home() 104 lv_subject_add_observer_obj(&c->th, theme_observer_accent_span_cb, time, minute); in lv_demo_high_res_home() 105 lv_subject_add_observer_obj(&c->subject_groups.time.group, time_observer_cb, time, c); in lv_demo_high_res_home()
|
/lvgl-latest/src/indev/ |
D | lv_indev.c | 37 /*Long press time in milliseconds. 38 *Time to send `LV_EVENT_LONG_PRESSED`)*/ 42 *Time between `LV_EVENT_LONG_PRESSED_REPEAT*/ 243 /*Save the last activity time*/ in lv_indev_read() 779 *for the next time*/ in indev_keypad_proc() 831 /*Long press time has elapsed?*/ in indev_keypad_proc() 840 /*Long press repeated time has elapsed?*/ in indev_keypad_proc() 1003 /*Long press repeated time has elapsed?*/ in indev_encoder_proc() 1239 /*Save the time when the obj pressed to count long press time.*/ in indev_proc_press() 1317 /*If there is no scrolling then check for long press time*/ in indev_proc_press() [all …]
|
D | lv_indev.h | 164 * Set long press time to indev 166 * @param long_press_time time long press time in ms 171 * Set long press repeat time to indev 173 * @param long_press_repeat_time long press repeat time in ms 312 * Get the counter for consecutive clicks within a short distance and time.
|
/lvgl-latest/docs/intro/add-lvgl-to-your-project/ |
D | connecting_lvgl.rst | 31 6. Drive LVGL time-related tasks by calling :cpp:func:`lv_timer_handler` every few 47 LVGL needs awareness of what time it is (i.e. elapsed time in milliseconds) for 48 all of its tasks for which time is a factor: refreshing displays, reading user 111 not dependent on anything that consumes an unknown amount of time. For an example of 113 because the execution time of :c:func:`lv_timer_handler` varies from call to call and
|
/lvgl-latest/docs/details/debugging/ |
D | profiler.rst | 47 #include <time.h> 86 /* Use the microsecond time stamp provided by Arduino */ 165 …the mouse to move the focus and click on functions on the timeline to observe their execution time. 230 Function execution time displayed as 0s in Perfetto 233 If the function execution time is lower than the precision of the timestamps, this situation can oc… 241 2. Optimize the execution time of log printing functions, such as increasing the serial port baud r…
|
/lvgl-latest/src/others/sysmon/ |
D | lv_sysmon_private.h | 43 uint32_t render_elaps_sum; /*Contains the flush time too*/ 57 uint32_t render_avg_time; /**< Pure rendering time without flush time*/ 58 uint32_t flush_avg_time; /**< Pure flushing time without rendering time*/
|
/lvgl-latest/src/core/ |
D | lv_obj_style.h | 171 * @param time time of fade 174 void lv_obj_fade_in(lv_obj_t * obj, uint32_t time, uint32_t delay); 179 * @param time time of fade 182 void lv_obj_fade_out(lv_obj_t * obj, uint32_t time, uint32_t delay);
|