Searched refs:y_mid (Results 1 – 1 of 1) sorted by relevance
403 lv_coord_t y_mid = obj->coords.y1 + lv_area_get_height(&obj->coords) / 2; in init_scroll_limits() local404 … proc->types.pointer.scroll_area.y1 = find_snap_point_y(obj, y_mid + 1, LV_COORD_MAX, 0); in init_scroll_limits()405 … proc->types.pointer.scroll_area.y2 = find_snap_point_y(obj, LV_COORD_MIN, y_mid - 1, 0); in init_scroll_limits()