Lines Matching refs:i
35 uint32_t i; in test_image_rotated_pivot_center() local
36 for(i = 0; i < 8; i++) { in test_image_rotated_pivot_center()
38 lv_obj_set_pos(img, 100 + (i % 4) * 160, 150 + (i / 4) * 150); in test_image_rotated_pivot_center()
39 lv_image_set_rotation(img, i * 450); in test_image_rotated_pivot_center()
49 uint32_t i; in test_image_rotated_pivot_top_left() local
50 for(i = 0; i < 8; i++) { in test_image_rotated_pivot_top_left()
52 lv_obj_set_pos(img, 120 + (i % 4) * 180, 100 + (i / 4) * 300); in test_image_rotated_pivot_top_left()
53 lv_image_set_rotation(img, i * 450); in test_image_rotated_pivot_top_left()
63 uint32_t i; in test_image_scale_pivot_center() local
64 for(i = 0; i < 8; i++) { in test_image_scale_pivot_center()
66 lv_obj_set_pos(img, 40 + (i % 4) * 200, 150 + (i / 4) * 150); in test_image_scale_pivot_center()
67 lv_image_set_scale(img, 64 + i * 64); in test_image_scale_pivot_center()
77 uint32_t i; in test_image_scale_pivot_top_left() local
78 for(i = 0; i < 8; i++) { in test_image_scale_pivot_top_left()
80 lv_obj_set_pos(img, 10 + (i % 4) * 190, 150 + (i / 4) * 150); in test_image_scale_pivot_top_left()
81 lv_image_set_scale(img, 64 + i * 64); in test_image_scale_pivot_top_left()
91 uint32_t i; in test_image_scale_x_pivot_center() local
92 for(i = 0; i < 8; i++) { in test_image_scale_x_pivot_center()
94 lv_obj_set_pos(img, 40 + (i % 4) * 200, 150 + (i / 4) * 150); in test_image_scale_x_pivot_center()
95 lv_image_set_scale_x(img, 64 + i * 64); in test_image_scale_x_pivot_center()
105 uint32_t i; in test_image_scale_x_pivot_top_left() local
106 for(i = 0; i < 8; i++) { in test_image_scale_x_pivot_top_left()
108 lv_obj_set_pos(img, 10 + (i % 4) * 190, 150 + (i / 4) * 150); in test_image_scale_x_pivot_top_left()
109 lv_image_set_scale_x(img, 64 + i * 64); in test_image_scale_x_pivot_top_left()
119 uint32_t i; in test_image_scale_y_pivot_center() local
120 for(i = 0; i < 8; i++) { in test_image_scale_y_pivot_center()
122 lv_obj_set_pos(img, 40 + (i % 4) * 200, 150 + (i / 4) * 150); in test_image_scale_y_pivot_center()
123 lv_image_set_scale_y(img, 64 + i * 64); in test_image_scale_y_pivot_center()
133 uint32_t i; in test_image_scale_y_pivot_top_left() local
134 for(i = 0; i < 8; i++) { in test_image_scale_y_pivot_top_left()
136 lv_obj_set_pos(img, 10 + (i % 4) * 190, 150 + (i / 4) * 150); in test_image_scale_y_pivot_top_left()
137 lv_image_set_scale_y(img, 64 + i * 64); in test_image_scale_y_pivot_top_left()
147 uint32_t i; in test_image_rotate_and_scale_pivot_center() local
148 for(i = 0; i < 8; i++) { in test_image_rotate_and_scale_pivot_center()
150 lv_obj_set_pos(img, 40 + (i % 4) * 200, 150 + (i / 4) * 150); in test_image_rotate_and_scale_pivot_center()
151 lv_image_set_scale_x(img, 64 + i * 64); in test_image_rotate_and_scale_pivot_center()
152 lv_image_set_scale_y(img, 32 + i * 96); in test_image_rotate_and_scale_pivot_center()
153 lv_image_set_rotation(img, 200 + i * 333); in test_image_rotate_and_scale_pivot_center()
163 uint32_t i; in test_image_rotate_and_scale_pivot_top_left() local
164 for(i = 0; i < 8; i++) { in test_image_rotate_and_scale_pivot_top_left()
166 lv_obj_set_pos(img, 120 + (i % 4) * 180, 120 + (i / 4) * 220); in test_image_rotate_and_scale_pivot_top_left()
167 lv_image_set_scale_x(img, 64 + i * 64); in test_image_rotate_and_scale_pivot_top_left()
168 lv_image_set_scale_y(img, 32 + i * 96); in test_image_rotate_and_scale_pivot_top_left()
169 lv_image_set_rotation(img, 200 + i * 333); in test_image_rotate_and_scale_pivot_top_left()
179 uint32_t i; in test_image_normal_align() local
186 for(i = 0; i < 9; i++) { in test_image_normal_align()
189 lv_obj_set_pos(img, 30 + (i % 3) * 260, 40 + (i / 3) * 150); in test_image_normal_align()
190 lv_image_set_inner_align(img, aligns[i]); in test_image_normal_align()
199 uint32_t i; in test_image_normal_align_offset() local
206 for(i = 0; i < 9; i++) { in test_image_normal_align_offset()
209 lv_obj_set_pos(img, 30 + (i % 3) * 260, 40 + (i / 3) * 150); in test_image_normal_align_offset()
210 lv_image_set_inner_align(img, aligns[i]); in test_image_normal_align_offset()
221 uint32_t i; in test_image_transform_align() local
228 for(i = 0; i < 9; i++) { in test_image_transform_align()
231 lv_obj_set_pos(img, 30 + (i % 3) * 260, 40 + (i / 3) * 150); in test_image_transform_align()
235 lv_image_set_inner_align(img, aligns[i]); in test_image_transform_align()
244 uint32_t i; in test_image_transform_align_offset() local
251 for(i = 0; i < 9; i++) { in test_image_transform_align_offset()
254 lv_obj_set_pos(img, 30 + (i % 3) * 260, 40 + (i / 3) * 150); in test_image_transform_align_offset()
255 lv_image_set_inner_align(img, aligns[i]); in test_image_transform_align_offset()
269 uint32_t i; in test_image_stretch() local
277 for(i = 0; i < 9; i++) { in test_image_stretch()
279 lv_obj_set_size(img, w_array[i / 3], h_array[i % 3]); in test_image_stretch()
280 lv_obj_set_pos(img, 30 + (i % 3) * 260, 40 + (i / 3) * 150); in test_image_stretch()
415 for(size_t i = 0; i < sizeof(img_dscs) / sizeof(img_dscs[0]); i++) { in create_test_images() local
421 lv_image_set_src(img, img_dscs[i]); in create_test_images()
428 lv_label_set_text(label, names[i]); in create_test_images()