Searched refs:sb (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/core/ |
D | lv_indev_scroll.c | 90 lv_coord_t sb = lv_obj_get_scroll_bottom(scroll_obj); in _lv_indev_scroll_handler() local 91 diff_y = elastic_diff(scroll_obj, proc->types.pointer.vect.y, st, sb, LV_DIR_VER); in _lv_indev_scroll_handler() 133 lv_coord_t sb = lv_obj_get_scroll_bottom(scroll_obj); in _lv_indev_scroll_throw_handler() local 136 …ter.scroll_throw_vect.y = elastic_diff(scroll_obj, proc->types.pointer.scroll_throw_vect.y, st, sb, in _lv_indev_scroll_throw_handler() 181 lv_coord_t sb = lv_obj_get_scroll_bottom(scroll_obj); in _lv_indev_scroll_throw_handler() local 182 if(st > 0 || sb > 0) { in _lv_indev_scroll_throw_handler() 186 else if(sb < 0) { in _lv_indev_scroll_throw_handler() 187 lv_obj_scroll_by(scroll_obj, 0, -sb, LV_ANIM_ON); in _lv_indev_scroll_throw_handler() 329 lv_coord_t sb = lv_obj_get_scroll_bottom(obj_act); in find_scroll_obj() local 337 if((st > 0 || sb > 0) && in find_scroll_obj() [all …]
|
D | lv_obj_scroll.c | 467 lv_coord_t sb = lv_obj_get_scroll_bottom(obj); in lv_obj_get_scrollbar_area() local 476 (sm == LV_SCROLLBAR_MODE_AUTO && (st > 0 || sb > 0)) || in lv_obj_get_scrollbar_area() 513 lv_coord_t content_h = obj_h + st + sb; in lv_obj_get_scrollbar_area() 536 lv_coord_t sb_y = (rem * sb) / scroll_h; in lv_obj_get_scrollbar_area() 637 lv_coord_t sb = lv_obj_get_scroll_bottom(obj); in lv_obj_readjust_scroll() local 638 if(sb < 0 && st > 0) { in lv_obj_readjust_scroll() 639 sb = LV_MIN(st, -sb); in lv_obj_readjust_scroll() 640 lv_obj_scroll_by(obj, 0, sb, anim_en); in lv_obj_readjust_scroll() 715 lv_coord_t sb = lv_obj_get_scroll_bottom(parent); in scroll_area_into_view() local 716 if(sb + y_scroll < 0) y_scroll = 0; in scroll_area_into_view()
|