Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.c56 …rid_align(lv_coord_t cont_size, bool auto_size, uint8_t align, lv_coord_t gap, uint32_t track_num,
696 …rid_align(lv_coord_t cont_size, bool auto_size, uint8_t align, lv_coord_t gap, uint32_t track_num, in grid_align() argument
709 if(track_num == 1) align = LV_GRID_ALIGN_CENTER; in grid_align()
713 for(i = 0; i < track_num; i++) { 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()
746 for(i = 0; i < track_num - 1; i++) { in grid_align()
750 … lv_coord_t total_gird_size = pos_array[track_num - 1] + size_array[track_num - 1] - pos_array[0]; in grid_align()
753 for(i = 0; i < track_num; i++) { in grid_align()