Lines Matching refs:obj0
40 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()
72 lv_obj_update_layout(obj0); in test_flex()
76 lv_obj_set_flex_flow(obj0, LV_FLEX_FLOW_ROW_WRAP); in test_flex()
79 lv_obj_set_style_flex_main_place(obj0, LV_FLEX_ALIGN_CENTER, LV_PART_MAIN); in test_flex()
82 lv_obj_set_style_flex_cross_place(obj0, LV_FLEX_ALIGN_CENTER, LV_PART_MAIN); in test_flex()
85 lv_obj_set_style_flex_track_place(obj0, LV_FLEX_ALIGN_CENTER, LV_PART_MAIN); in test_flex()
88 lv_obj_set_flex_flow(obj0, LV_FLEX_FLOW_COLUMN_WRAP); in test_flex()