Home
last modified time | relevance | path

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

/lvgl-latest/tests/src/test_cases/
Dtest_margin_flex.c40 lv_obj_t * obj0 = active_screen; in test_flex() local
42 lv_obj_set_flex_flow(obj0, LV_FLEX_FLOW_ROW); in test_flex()
43 lv_obj_set_style_pad_all(obj0, 0, LV_PART_MAIN); in test_flex()
44 lv_obj_set_style_pad_gap(obj0, 0, LV_PART_MAIN); in test_flex()
45 lv_obj_set_style_border_width(obj0, 0, LV_PART_MAIN); in test_flex()
48 obj_create(obj0, lv_palette_main(LV_PALETTE_BLUE)), in test_flex()
49 obj_create(obj0, lv_palette_main(LV_PALETTE_RED)), in test_flex()
50 obj_create(obj0, lv_palette_main(LV_PALETTE_PURPLE)), in test_flex()
51 obj_create(obj0, lv_palette_main(LV_PALETTE_GREEN)), in test_flex()
52 obj_create(obj0, lv_palette_main(LV_PALETTE_PINK)) in test_flex()
[all …]
Dtest_margin_align.c40 lv_obj_t * obj0 = active_screen; in test_align() local
42 lv_obj_set_width(obj0, 800); in test_align()
43 lv_obj_set_height(obj0, 400); in test_align()
44 lv_obj_center(obj0); in test_align()
45 lv_obj_set_style_pad_all(obj0, 0, LV_PART_MAIN); in test_align()
46 lv_obj_set_style_border_width(obj0, 0, LV_PART_MAIN); in test_align()
49 obj_create(obj0, lv_palette_main(LV_PALETTE_BLUE)), in test_align()
50 obj_create(obj0, lv_palette_main(LV_PALETTE_RED)), in test_align()
51 obj_create(obj0, lv_palette_main(LV_PALETTE_DEEP_PURPLE)), in test_align()
52 obj_create(obj0, lv_palette_main(LV_PALETTE_GREEN)), in test_align()
[all …]
Dtest_margin_grid.c42 lv_obj_t * obj0 = active_screen; in test_grid() local
66 lv_obj_set_layout(obj0, LV_LAYOUT_GRID); in test_grid()
67 lv_obj_set_grid_align(obj0, LV_GRID_ALIGN_CENTER, LV_GRID_ALIGN_CENTER); in test_grid()
68 lv_obj_set_grid_dsc_array(obj0, col_dsc, row_dsc); in test_grid()
70 lv_obj_set_style_pad_gap(obj0, 0, LV_PART_MAIN); in test_grid()
71 lv_obj_set_style_pad_row(obj0, 0, LV_PART_MAIN); in test_grid()
72 lv_obj_set_style_pad_column(obj0, 0, LV_PART_MAIN); in test_grid()
78 obj0s[i][j] = obj_create(obj0, in test_grid()
101 lv_obj_update_layout(obj0); in test_grid()