Searched refs:right_diff (Results 1 – 1 of 1) sorted by relevance
745 lv_coord_t right_diff = -(parent->coords.x2 - pright - area_tmp->x2 - scroll_value->x); in scroll_area_into_view() local746 if((left_diff >= 0 && right_diff >= 0)) x_scroll = 0; in scroll_area_into_view()753 else if(right_diff > 0) { in scroll_area_into_view()754 x_scroll = -right_diff; in scroll_area_into_view()