Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/core/
Dlv_indev_scroll.c85 if(proc->types.pointer.scroll_dir == LV_DIR_HOR) { in _lv_indev_scroll_handler()
96 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(scroll_obj); in _lv_indev_scroll_handler() local
97 if((scroll_dir & LV_DIR_LEFT) == 0 && diff_x > 0) diff_x = 0; in _lv_indev_scroll_handler()
98 if((scroll_dir & LV_DIR_RIGHT) == 0 && diff_x < 0) diff_x = 0; in _lv_indev_scroll_handler()
99 if((scroll_dir & LV_DIR_TOP) == 0 && diff_y > 0) diff_y = 0; in _lv_indev_scroll_handler()
100 if((scroll_dir & LV_DIR_BOTTOM) == 0 && diff_y < 0) diff_y = 0; in _lv_indev_scroll_handler()
116 if(proc->types.pointer.scroll_dir == LV_DIR_NONE) return; in _lv_indev_scroll_throw_handler()
129 if(proc->types.pointer.scroll_dir == LV_DIR_VER) { in _lv_indev_scroll_throw_handler()
153 else if(proc->types.pointer.scroll_dir == LV_DIR_HOR) { in _lv_indev_scroll_throw_handler()
212 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()
693 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(parent); in scroll_area_into_view() local
792 if((scroll_dir & LV_DIR_LEFT) == 0 && x_scroll < 0) x_scroll = 0; in scroll_area_into_view()
793 if((scroll_dir & LV_DIR_RIGHT) == 0 && x_scroll > 0) x_scroll = 0; in scroll_area_into_view()
794 if((scroll_dir & LV_DIR_TOP) == 0 && y_scroll < 0) y_scroll = 0; in scroll_area_into_view()
795 if((scroll_dir & LV_DIR_BOTTOM) == 0 && y_scroll > 0) y_scroll = 0; in scroll_area_into_view()
Dlv_obj.h169 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()
878 proc->types.pointer.scroll_dir = LV_DIR_NONE; in indev_proc_press()
1037 indev->proc.types.pointer.scroll_dir = LV_DIR_NONE; in indev_proc_reset_query_handler()
Dlv_obj.c352 obj->spec_attr->scroll_dir = LV_DIR_ALL; in lv_obj_allocate_spec_attr()
/lvgl-3.5.0/src/hal/
Dlv_hal_indev.h159 lv_dir_t scroll_dir : 4; member