Searched refs:scroll_dir (Results 1 – 6 of 6) sorted by relevance
98 if(indev->pointer.scroll_dir == LV_DIR_HOR) { in lv_indev_scroll_handler()109 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(scroll_obj); in lv_indev_scroll_handler() local110 if((scroll_dir & LV_DIR_LEFT) == 0 && diff_x > 0) diff_x = 0; in lv_indev_scroll_handler()111 if((scroll_dir & LV_DIR_RIGHT) == 0 && diff_x < 0) diff_x = 0; in lv_indev_scroll_handler()112 if((scroll_dir & LV_DIR_TOP) == 0 && diff_y > 0) diff_y = 0; in lv_indev_scroll_handler()113 if((scroll_dir & LV_DIR_BOTTOM) == 0 && diff_y < 0) diff_y = 0; in lv_indev_scroll_handler()128 if(indev->pointer.scroll_dir == LV_DIR_NONE) return; in lv_indev_scroll_throw_handler()140 if(indev->pointer.scroll_dir == LV_DIR_VER) { in lv_indev_scroll_throw_handler()166 else if(indev->pointer.scroll_dir == LV_DIR_HOR) { in lv_indev_scroll_throw_handler()231 indev->pointer.scroll_dir = LV_DIR_NONE; in lv_indev_scroll_throw_handler()[all …]
100 uint8_t scroll_dir : 4; member
507 return indev->pointer.scroll_dir; in lv_indev_get_scroll_dir()1244 indev->pointer.scroll_dir = LV_DIR_NONE; in indev_proc_press()1565 indev->pointer.scroll_dir = LV_DIR_NONE; in indev_proc_reset_query_handler()1803 if(indev->pointer.scroll_dir == LV_DIR_NONE || indev->pointer.scroll_obj == NULL) { in indev_scroll_throw_anim_cb()
48 uint16_t scroll_dir : 4; /**< The allowed scroll direction(s), see `lv_dir_t`*/ member
73 if(dir != obj->spec_attr->scroll_dir) { in lv_obj_set_scroll_dir()74 obj->spec_attr->scroll_dir = dir; in lv_obj_set_scroll_dir()102 if(obj->spec_attr) return (lv_dir_t) obj->spec_attr->scroll_dir; in lv_obj_get_scroll_dir()708 lv_dir_t scroll_dir = lv_obj_get_scroll_dir(parent); in scroll_area_into_view() local805 if((scroll_dir & LV_DIR_LEFT) == 0 && x_scroll < 0) x_scroll = 0; in scroll_area_into_view()806 if((scroll_dir & LV_DIR_RIGHT) == 0 && x_scroll > 0) x_scroll = 0; in scroll_area_into_view()807 if((scroll_dir & LV_DIR_TOP) == 0 && y_scroll < 0) y_scroll = 0; in scroll_area_into_view()808 if((scroll_dir & LV_DIR_BOTTOM) == 0 && y_scroll > 0) y_scroll = 0; in scroll_area_into_view()
383 obj->spec_attr->scroll_dir = LV_DIR_ALL; in lv_obj_allocate_spec_attr()