Home
last modified time | relevance | path

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

/lvgl-latest/src/core/
Dlv_indev_scroll.c31 static lv_coord_t elastic_diff(lv_obj_t * scroll_obj, lv_coord_t diff, lv_coord_t scroll_start, lv_…
52 lv_obj_t * scroll_obj = proc->types.pointer.scroll_obj; in _lv_indev_scroll_handler() local
54 if(scroll_obj == NULL) { in _lv_indev_scroll_handler()
55 scroll_obj = find_scroll_obj(proc); in _lv_indev_scroll_handler()
56 if(scroll_obj == NULL) return; in _lv_indev_scroll_handler()
60 lv_event_send(scroll_obj, LV_EVENT_SCROLL_BEGIN, NULL); in _lv_indev_scroll_handler()
67 lv_obj_t * parent = scroll_obj; in _lv_indev_scroll_handler()
84 lv_coord_t sr = lv_obj_get_scroll_right(scroll_obj); in _lv_indev_scroll_handler()
85 lv_coord_t sl = lv_obj_get_scroll_left(scroll_obj); in _lv_indev_scroll_handler()
86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler()
[all …]
Dlv_indev.c262 return indev->proc.types.pointer.scroll_obj; in lv_indev_get_scroll_obj()
836 else if(proc->types.pointer.scroll_obj == NULL && in indev_proc_press()
919 if(proc->types.pointer.scroll_obj == NULL && proc->long_pr_sent == 0) { in indev_proc_press()
934 if(proc->types.pointer.scroll_obj == NULL && proc->long_pr_sent == 1) { in indev_proc_press()
962 lv_obj_t * scroll_obj = proc->types.pointer.scroll_obj; in indev_proc_release() local
973 if(scroll_obj == NULL) { in indev_proc_release()
988 if(scroll_obj) { in indev_proc_release()
992 lv_obj_t * parent = scroll_obj; in indev_proc_release()
1011 if(scroll_obj) { in indev_proc_release()
1029 indev->proc.types.pointer.scroll_obj = NULL; in indev_proc_reset_query_handler()
[all …]
/lvgl-latest/src/hal/
Dlv_hal_indev.h151 struct _lv_obj_t * scroll_obj; /*The object being scrolled*/ member
/lvgl-latest/src/widgets/
Dlv_table.c590 lv_obj_t * scroll_obj = lv_indev_get_scroll_obj(indev); in lv_table_event() local
591 …ble->col_act != LV_TABLE_CELL_NONE && table->row_act != LV_TABLE_CELL_NONE && scroll_obj == NULL) { in lv_table_event()