Home
last modified time | relevance | path

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

/lvgl-latest/tests/src/test_cases/
Dtest_margin_align.c48 lv_obj_t * obj0s[] = { in test_align() local
56 lv_obj_align(obj0s[0], LV_ALIGN_TOP_MID, 0, 0); in test_align()
57 lv_obj_align_to(obj0s[1], obj0s[0], LV_ALIGN_OUT_BOTTOM_MID, 0, 0); in test_align()
58 lv_obj_align_to(obj0s[2], obj0s[1], LV_ALIGN_OUT_RIGHT_MID, 0, 0); in test_align()
59 lv_obj_align_to(obj0s[3], obj0s[2], LV_ALIGN_OUT_BOTTOM_MID, 0, 0); in test_align()
62 obj_set_margin(obj0s[0], 20, 50, 60, 50); in test_align()
63 lv_obj_set_style_width(obj0s[0], LV_PCT(60), LV_PART_MAIN); in test_align()
64 obj_set_margin(obj0s[1], 15, 12, 50, 20); in test_align()
65 obj_set_margin(obj0s[2], 25, 25, 100, 20); in test_align()
66 obj_set_margin(obj0s[3], 12, 50, 100, 100); in test_align()
[all …]
Dtest_margin_flex.c47 lv_obj_t * obj0s[N] = { in test_flex() local
57 o = obj0s[i]; in test_flex()
63 lv_obj_set_width(obj0s[0], LV_PCT(50)); in test_flex()
64 lv_obj_set_height(obj0s[0], LV_PCT(50)); in test_flex()
66 obj_set_margin(obj0s[0], 50, 3, 10, 50); in test_flex()
67 obj_set_margin(obj0s[1], 25, 6, 20, 50); in test_flex()
68 obj_set_margin(obj0s[2], 12, 12, 30, 50); in test_flex()
69 obj_set_margin(obj0s[3], 12, 25, 30, 50); in test_flex()
70 obj_set_margin(obj0s[4], 24, 50, 50, 50); in test_flex()
Dtest_margin_grid.c74 lv_obj_t * obj0s[M][N]; in test_grid() local
78 obj0s[i][j] = obj_create(obj0, in test_grid()
86 o = obj0s[i][j]; in test_grid()