Home
last modified time | relevance | path

Searched refs:scroll_dir (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/core/
Dlv_indev_scroll.c83 if(proc->types.pointer.scroll_dir == LV_DIR_HOR) { in _lv_indev_scroll_handler()
94 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(scroll_obj); in _lv_indev_scroll_handler() local
95 if((scroll_dir & LV_DIR_LEFT) == 0 && diff_x > 0) diff_x = 0; in _lv_indev_scroll_handler()
96 if((scroll_dir & LV_DIR_RIGHT) == 0 && diff_x < 0) diff_x = 0; in _lv_indev_scroll_handler()
97 if((scroll_dir & LV_DIR_TOP) == 0 && diff_y > 0) diff_y = 0; in _lv_indev_scroll_handler()
98 if((scroll_dir & LV_DIR_BOTTOM) == 0 && diff_y < 0) diff_y = 0; in _lv_indev_scroll_handler()
113 if(proc->types.pointer.scroll_dir == LV_DIR_NONE) return; in _lv_indev_scroll_throw_handler()
126 if(proc->types.pointer.scroll_dir == LV_DIR_VER) { in _lv_indev_scroll_throw_handler()
150 else if(proc->types.pointer.scroll_dir == LV_DIR_HOR) { in _lv_indev_scroll_throw_handler()
209 proc->types.pointer.scroll_dir = LV_DIR_NONE; in _lv_indev_scroll_throw_handler()
[all …]
Dlv_obj_scroll.c71 if(dir != obj->spec_attr->scroll_dir) { in lv_obj_set_scroll_dir()
72 obj->spec_attr->scroll_dir = dir; in lv_obj_set_scroll_dir()
100 if(obj->spec_attr) return obj->spec_attr->scroll_dir; in lv_obj_get_scroll_dir()
689 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(parent); in scroll_area_into_view() local
788 if((scroll_dir & LV_DIR_LEFT) == 0 && x_scroll < 0) x_scroll = 0; in scroll_area_into_view()
789 if((scroll_dir & LV_DIR_RIGHT) == 0 && x_scroll > 0) x_scroll = 0; in scroll_area_into_view()
790 if((scroll_dir & LV_DIR_TOP) == 0 && y_scroll < 0) y_scroll = 0; in scroll_area_into_view()
791 if((scroll_dir & LV_DIR_BOTTOM) == 0 && y_scroll > 0) y_scroll = 0; in scroll_area_into_view()
Dlv_obj.h168 lv_dir_t scroll_dir : 4; /**< The allowed scroll direction(s)*/ member
Dlv_indev.c255 return indev->proc.types.pointer.scroll_dir; in lv_indev_get_scroll_dir()
877 proc->types.pointer.scroll_dir = LV_DIR_NONE; in indev_proc_press()
1035 indev->proc.types.pointer.scroll_dir = LV_DIR_NONE; in indev_proc_reset_query_handler()
Dlv_obj.c371 obj->spec_attr->scroll_dir = LV_DIR_ALL; in lv_obj_allocate_spec_attr()
/lvgl-latest/src/hal/
Dlv_hal_indev.h157 lv_dir_t scroll_dir : 4; member