Lines Matching refs:i
49 for(int i = 0; i < M; ++i) { in test_grid() local
50 row_dsc[i] = 80; in test_grid()
52 for(int i = 0; i < N; ++i) { in test_grid() local
53 col_dsc[i] = 80; in test_grid()
76 for(int i = 0; i < M; ++i) { in test_grid() local
78 obj0s[i][j] = obj_create(obj0, in test_grid()
79 … lv_palette_main(colors[(i * M + j) % ((sizeof colors) / (sizeof(lv_palette_t)))])); in test_grid()
84 for(int i = 0; i < M; i++) { in test_grid() local
86 o = obj0s[i][j]; in test_grid()
92 lv_obj_set_grid_cell(o, LV_GRID_ALIGN_CENTER, j, 1, LV_GRID_ALIGN_STRETCH, i, 1); in test_grid()
94 lv_obj_set_style_margin_top(o, i * 5, LV_PART_MAIN); in test_grid()
95 lv_obj_set_style_margin_left(o, i * 5 + j * 5, LV_PART_MAIN); in test_grid()
96 lv_obj_set_style_margin_right(o, i * 5, LV_PART_MAIN); in test_grid()
97 lv_obj_set_style_margin_bottom(o, i * 5 + j * 5, LV_PART_MAIN); in test_grid()