Home
last modified time | relevance | path

Searched refs:sl (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_tlsf.c529 int fl, sl; in mapping_insert() local
533 sl = tlsf_cast(int, size) / (SMALL_BLOCK_SIZE / SL_INDEX_COUNT); in mapping_insert()
537 sl = tlsf_cast(int, size >> (fl - SL_INDEX_COUNT_LOG2)) ^ (1 << SL_INDEX_COUNT_LOG2); in mapping_insert()
541 *sli = sl; in mapping_insert()
557 int sl = *sli; in search_suitable_block() local
563 unsigned int sl_map = control->sl_bitmap[fl] & (~0U << sl); in search_suitable_block()
577 sl = tlsf_ffs(sl_map); in search_suitable_block()
578 *sli = sl; in search_suitable_block()
581 return control->blocks[fl][sl]; in search_suitable_block()
585 static void remove_free_block(control_t * control, block_header_t * block, int fl, int sl) in remove_free_block() argument
[all …]
/lvgl-3.7.0/src/core/
Dlv_indev_scroll.c85 lv_coord_t sl = lv_obj_get_scroll_left(scroll_obj); in _lv_indev_scroll_handler() local
86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler()
157 lv_coord_t sl = lv_obj_get_scroll_left(scroll_obj); in _lv_indev_scroll_throw_handler() local
160 …ter.scroll_throw_vect.x = elastic_diff(scroll_obj, proc->types.pointer.scroll_throw_vect.x, sl, sr, in _lv_indev_scroll_throw_handler()
194 lv_coord_t sl = lv_obj_get_scroll_left(scroll_obj); in _lv_indev_scroll_throw_handler() local
196 if(sl > 0 || sr > 0) { in _lv_indev_scroll_throw_handler()
197 if(sl < 0) { in _lv_indev_scroll_throw_handler()
198 lv_obj_scroll_by(scroll_obj, sl, 0, LV_ANIM_ON); in _lv_indev_scroll_throw_handler()
330 lv_coord_t sl = lv_obj_get_scroll_left(obj_act); in find_scroll_obj() local
344 if((sl > 0 || sr > 0) && in find_scroll_obj()
[all …]
Dlv_obj_scroll.c468 lv_coord_t sl = lv_obj_get_scroll_left(obj); in lv_obj_get_scrollbar_area() local
484 (sm == LV_SCROLLBAR_MODE_AUTO && (sl > 0 || sr > 0)) || in lv_obj_get_scrollbar_area()
557 lv_coord_t content_w = obj_w + sl + sr; in lv_obj_get_scrollbar_area()
645 lv_coord_t sl = lv_obj_get_scroll_left(obj); in lv_obj_readjust_scroll() local
649 if(sr < 0 && sl > 0) { in lv_obj_readjust_scroll()
650 sr = LV_MIN(sl, -sr); in lv_obj_readjust_scroll()
656 if(sl < 0 && sr > 0) { in lv_obj_readjust_scroll()
657 sr = LV_MIN(sr, -sl); in lv_obj_readjust_scroll()
658 lv_obj_scroll_by(obj, sl, 0, anim_en); in lv_obj_readjust_scroll()
750 lv_coord_t sl = lv_obj_get_scroll_left(parent); in scroll_area_into_view() local
[all …]
Dlv_obj.c426 lv_coord_t sl = lv_obj_get_scroll_left(parent); in lv_obj_constructor() local
431 obj->coords.x1 = parent->coords.x1 + lv_obj_get_style_pad_left(parent, LV_PART_MAIN) - sl; in lv_obj_constructor()
774 lv_coord_t sl = lv_obj_get_scroll_left(obj); in lv_obj_event() local
786 if(!((lv_obj_get_scroll_dir(obj) & LV_DIR_HOR) && (sl > 0 || sr > 0))) in lv_obj_event()
793 if(!((lv_obj_get_scroll_dir(obj) & LV_DIR_HOR) && (sl > 0 || sr > 0))) in lv_obj_event()