Searched refs:cont_size (Results 1 – 1 of 1) sorted by relevance
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() argument724 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()754 pos_array[i] = cont_size - pos_array[i] - size_array[i]; in grid_align()