With this change after an lv_timer_del(disp->refr_timer); disp->refr_timer = NULL;
the user can call _lv_disp_refr_timer(NULL); anywhere to sync rendering with VSYNC or the TE signal.
lv_timer_handler() and _lv_disp_refr_timer() can not run at the same time.
When the event is bubbling, use lv_event_get_current_target
to get the obj that needs to be processed
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
* fix some errors in bidi algorithm when displaying arabic
* fix some errors in bidi algorithm when displaying arabic
* fix format error
Co-authored-by: liuxinh <liuxinh@landicorp.com>
Some platforms define uint32_t as "unsigned long" rather than "unsigned int".
The %d format specifier is mismatched and the C99 format macros are the only
portable way to handle these types.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(color): move LV_UDIV255 to lv_math.h
since lv_math.h is better place for the computation function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(color): replace the inifite loop with LV_ASSERT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(arc) format code
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(Kconfig) add missing LV_BUILD_EXAMPLES configuration
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(fsdrv): remove the seek call in fs_open (#2736)
since the file should be located at zero after open
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* docs(os) add example and clarify some poinits
* fix(draw border):border draw error if border width > radius (#2739)
* fix(label) consider base dir lv_label_get_letter_pos in special cases
related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193
* improve lv_conf_internal_gen.py for better Kconfig support
Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: guoweilkd <guowei15@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>