Lines Matching refs:coords

144         child_res = LV_MAX(child_res, child->coords.y2);  in lv_obj_get_scroll_bottom()
152 child_res -= (obj->coords.y2 - pad_bottom - border_width); in lv_obj_get_scroll_bottom()
185 x1 = LV_MIN(x1, child->coords.x1); in lv_obj_get_scroll_left()
191 child_res = (obj->coords.x1 + pad_left + border_width) - child_res; in lv_obj_get_scroll_left()
222 child_res = LV_MAX(child_res, child->coords.x2); in lv_obj_get_scroll_right()
230 child_res -= (obj->coords.x2 - pad_right - border_width); in lv_obj_get_scroll_right()
393 scroll_area_into_view(&obj->coords, obj, &p, anim_en); in lv_obj_scroll_to_view()
405 scroll_area_into_view(&obj->coords, child, &p, anim_en); in lv_obj_scroll_to_view_recursive()
515 ver_area->y1 = obj->coords.y1; in lv_obj_get_scrollbar_area()
516 ver_area->y2 = obj->coords.y2; in lv_obj_get_scrollbar_area()
518 ver_area->x1 = obj->coords.x1 + left_space; in lv_obj_get_scrollbar_area()
522 ver_area->x2 = obj->coords.x2 - right_space; in lv_obj_get_scrollbar_area()
532 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
533 ver_area->y2 = obj->coords.y2 - bottom_space - hor_req_space - 1; in lv_obj_get_scrollbar_area()
539 ver_area->y1 = obj->coords.y1 + sb_y + top_space; in lv_obj_get_scrollbar_area()
541 if(ver_area->y1 < obj->coords.y1 + top_space) { in lv_obj_get_scrollbar_area()
542 ver_area->y1 = obj->coords.y1 + top_space; in lv_obj_get_scrollbar_area()
547 if(ver_area->y2 > obj->coords.y2 - hor_req_space - bottom_space) { in lv_obj_get_scrollbar_area()
548 ver_area->y2 = obj->coords.y2 - hor_req_space - bottom_space; in lv_obj_get_scrollbar_area()
559 hor_area->y2 = obj->coords.y2 - bottom_space; in lv_obj_get_scrollbar_area()
561 hor_area->x1 = obj->coords.x1; in lv_obj_get_scrollbar_area()
562 hor_area->x2 = obj->coords.x2; in lv_obj_get_scrollbar_area()
571 hor_area->x1 = obj->coords.x1 + left_space + ver_reg_space - 1; in lv_obj_get_scrollbar_area()
572 hor_area->x2 = obj->coords.x2 - right_space; in lv_obj_get_scrollbar_area()
575 hor_area->x1 = obj->coords.x1 + left_space; in lv_obj_get_scrollbar_area()
576 hor_area->x2 = obj->coords.x2 - right_space - ver_reg_space - 1; in lv_obj_get_scrollbar_area()
584 hor_area->x1 = obj->coords.x1 + sb_x + left_space + ver_reg_space; in lv_obj_get_scrollbar_area()
586 if(hor_area->x1 < obj->coords.x1 + left_space + ver_reg_space) { in lv_obj_get_scrollbar_area()
587 hor_area->x1 = obj->coords.x1 + left_space + ver_reg_space; in lv_obj_get_scrollbar_area()
592 if(hor_area->x2 > obj->coords.x2 - right_space) { in lv_obj_get_scrollbar_area()
593 hor_area->x2 = obj->coords.x2 - right_space; in lv_obj_get_scrollbar_area()
600 hor_area->x1 = obj->coords.x1 + sb_x + left_space; in lv_obj_get_scrollbar_area()
602 if(hor_area->x1 < obj->coords.x1 + left_space) { in lv_obj_get_scrollbar_area()
603 hor_area->x1 = obj->coords.x1 + left_space; in lv_obj_get_scrollbar_area()
608 if(hor_area->x2 > obj->coords.x2 - ver_reg_space - right_space) { in lv_obj_get_scrollbar_area()
609 hor_area->x2 = obj->coords.x2 - ver_reg_space - right_space; in lv_obj_get_scrollbar_area()
696 if(snap_y != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
703 lv_coord_t bottom_diff = -(parent->coords.y2 - pbottom - area_tmp->y2 - scroll_value->y); in scroll_area_into_view()
721 snap_goal = parent->coords.y1 + ptop; in scroll_area_into_view()
726 snap_goal = parent->coords.y2 - pbottom; in scroll_area_into_view()
731 snap_goal = parent->coords.y1 + ptop + parent_h / 2; in scroll_area_into_view()
739 if(snap_x != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
744 lv_coord_t left_diff = parent->coords.x1 + pleft - area_tmp->x1 - scroll_value->x; in scroll_area_into_view()
745 lv_coord_t right_diff = -(parent->coords.x2 - pright - area_tmp->x2 - scroll_value->x); in scroll_area_into_view()
763 snap_goal = parent->coords.x1 + pleft; in scroll_area_into_view()
768 snap_goal = parent->coords.x2 - pright; in scroll_area_into_view()
773 snap_goal = parent->coords.x1 + pleft + parent_w / 2; in scroll_area_into_view()