Lines Matching refs:dy
254 void lv_obj_scroll_by_bounded(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_e… in lv_obj_scroll_by_bounded() argument
256 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by_bounded()
286 lv_coord_t y_bounded = y_current + dy; in lv_obj_scroll_by_bounded()
296 dy = y_bounded - y_current; in lv_obj_scroll_by_bounded()
297 if(dx || dy) { in lv_obj_scroll_by_bounded()
298 lv_obj_scroll_by(obj, dx, dy, anim_en); in lv_obj_scroll_by_bounded()
302 void lv_obj_scroll_by(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_en) in lv_obj_scroll_by() argument
304 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by()
328 if(dy) { in lv_obj_scroll_by()
329 uint32_t t = lv_anim_speed_to_time((lv_disp_get_ver_res(d) * 2) >> 2, 0, dy); in lv_obj_scroll_by()
334 lv_anim_set_values(&a, -sy, -sy + dy); in lv_obj_scroll_by()
353 res = _lv_obj_scroll_by_raw(obj, dx, dy); in lv_obj_scroll_by()