Searched refs:act_obj_point (Results 1 – 1 of 1) sorted by relevance
617 lv_coord_t act_obj_point = 0; in elastic_diff() local626 act_obj_point = lv_area_get_width(&act_obj->coords) / 2 + act_obj->coords.x1; in elastic_diff()630 act_obj_point = act_obj->coords.x1; in elastic_diff()634 act_obj_point = act_obj->coords.x2; in elastic_diff()645 act_obj_point = lv_area_get_height(&act_obj->coords) / 2 + act_obj->coords.y1; in elastic_diff()649 act_obj_point = act_obj->coords.y1; in elastic_diff()653 act_obj_point = act_obj->coords.y2; in elastic_diff()659 if(snap != LV_SCROLL_SNAP_NONE && act_obj_point > snap_point) return diff; in elastic_diff()667 if(snap != LV_SCROLL_SNAP_NONE && act_obj_point < snap_point) return diff; in elastic_diff()