Searched refs:top_diff (Results 1 – 1 of 1) sorted by relevance
702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view() local705 if((top_diff >= 0 && bottom_diff >= 0)) y_scroll = 0; in scroll_area_into_view()706 else if(top_diff > 0) { in scroll_area_into_view()707 y_scroll = top_diff; in scroll_area_into_view()