Lines Matching refs:gap
56 static lv_coord_t grid_align(lv_coord_t cont_size, bool auto_size, uint8_t align, lv_coord_t gap, …
696 static lv_coord_t grid_align(lv_coord_t cont_size, bool auto_size, uint8_t align, lv_coord_t gap, … in grid_align() argument
708 gap = 0; in grid_align()
714 grid_size += size_array[i] + gap; in grid_align()
716 grid_size -= gap; 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()
735 pos_array[0] = gap / 2; in grid_align()
738 gap = (lv_coord_t)(cont_size - grid_size) / (lv_coord_t)(track_num + 1); in grid_align()
739 pos_array[0] = gap; in grid_align()
747 pos_array[i + 1] = pos_array[i] + size_array[i] + gap; in grid_align()