Searched refs:scroll_dir (Results 1 – 6 of 6) sorted by relevance
85 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() local97 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 …]
71 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() local792 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()
169 lv_dir_t scroll_dir : 4; /**< The allowed scroll direction(s)*/ member
255 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()
352 obj->spec_attr->scroll_dir = LV_DIR_ALL; in lv_obj_allocate_spec_attr()
159 lv_dir_t scroll_dir : 4; member