Home
last modified time | relevance | path

Searched refs:grid_size (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.c699 lv_coord_t grid_size = 0; in grid_align() local
714 grid_size += size_array[i] + gap; in grid_align()
716 grid_size -= gap; in grid_align()
724 pos_array[0] = (cont_size - grid_size) / 2; in grid_align()
727 pos_array[0] = cont_size - grid_size; in grid_align()
731 gap = (lv_coord_t)(cont_size - grid_size) / (lv_coord_t)(track_num - 1); in grid_align()
734 gap = (lv_coord_t)(cont_size - grid_size) / (lv_coord_t)(track_num); in grid_align()
738 gap = (lv_coord_t)(cont_size - grid_size) / (lv_coord_t)(track_num + 1); in grid_align()