Home
last modified time | relevance | path

Searched refs:lv_scr_act (Results 1 – 25 of 190) sorted by relevance

12345678

/lvgl-latest/tests/src/test_cases/
Dtest_obj_tree.c11 TEST_ASSERT_EQUAL(lv_obj_get_child_cnt(lv_scr_act()), 0); in test_obj_tree_1()
17 lv_obj_create(lv_scr_act()); in test_obj_tree_2()
18 lv_obj_t * o2 = lv_obj_create(lv_scr_act()); in test_obj_tree_2()
19 lv_obj_create(lv_scr_act()); in test_obj_tree_2()
20 TEST_ASSERT_EQUAL(lv_obj_get_child_cnt(lv_scr_act()), 3); in test_obj_tree_2()
23 TEST_ASSERT_EQUAL(lv_obj_get_child_cnt(lv_scr_act()), 2); in test_obj_tree_2()
25 lv_obj_clean(lv_scr_act()); in test_obj_tree_2()
26 TEST_ASSERT_EQUAL(lv_obj_get_child_cnt(lv_scr_act()), 0); in test_obj_tree_2()
32 lv_obj_remove_style_all(lv_scr_act()); in test_obj_tree_2()
33 lv_obj_set_style_bg_color(lv_scr_act(), lv_color_hex(0x112233), 0); in test_obj_tree_2()
[all …]
Dtest_dropdown.c15 lv_obj_clean(lv_scr_act()); in tearDown()
19 lv_dropdown_create(lv_scr_act()); in test_dropdown_create_delete()
20 TEST_ASSERT_EQUAL(2, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
22 lv_obj_t * dd2 = lv_dropdown_create(lv_scr_act()); in test_dropdown_create_delete()
24 TEST_ASSERT_EQUAL(4, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
27 TEST_ASSERT_EQUAL(4, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
30 TEST_ASSERT_EQUAL(4, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
32 lv_obj_t * dd3 = lv_dropdown_create(lv_scr_act()); in test_dropdown_create_delete()
34 TEST_ASSERT_EQUAL(6, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
36 TEST_ASSERT_EQUAL(6, lv_obj_get_child_cnt(lv_scr_act())); in test_dropdown_create_delete()
[all …]
Dtest_checkbox.c31 active_screen = lv_scr_act(); in test_checkbox_creation_successfull()
39 active_screen = lv_scr_act(); in test_checkbox_should_call_event_handler_on_click_when_enabled()
56 active_screen = lv_scr_act(); in test_checkbox_should_have_default_text_when_created()
67 active_screen = lv_scr_act(); in test_checkbox_should_return_dinamically_allocated_text()
84 active_screen = lv_scr_act(); in test_checkbox_should_allocate_memory_for_static_text()
Dtest_arc.c26 active_screen = lv_scr_act(); in setUp()
113 arcBlack = lv_arc_create(lv_scr_act()); in test_arc_angles_when_reversed()
128 arc = lv_arc_create(lv_scr_act()); in test_arc_click_area_with_adv_hittest()
164 arc = lv_arc_create(lv_scr_act()); in test_arc_click_sustained_from_start_to_end_does_not_set_value_to_max()
202 arc = lv_arc_create(lv_scr_act()); in test_arc_basic_render()
/lvgl-latest/examples/widgets/switch/
Dlv_example_switch_1.c15 lv_obj_set_flex_flow(lv_scr_act(), LV_FLEX_FLOW_COLUMN); in lv_example_switch_1()
16 …lv_obj_set_flex_align(lv_scr_act(), LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENT… in lv_example_switch_1()
20 sw = lv_switch_create(lv_scr_act()); in lv_example_switch_1()
23 sw = lv_switch_create(lv_scr_act()); in lv_example_switch_1()
27 sw = lv_switch_create(lv_scr_act()); in lv_example_switch_1()
31 sw = lv_switch_create(lv_scr_act()); in lv_example_switch_1()
/lvgl-latest/examples/widgets/checkbox/
Dlv_example_checkbox_1.c17 lv_obj_set_flex_flow(lv_scr_act(), LV_FLEX_FLOW_COLUMN); in lv_example_checkbox_1()
18 …lv_obj_set_flex_align(lv_scr_act(), LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_CENTE… in lv_example_checkbox_1()
21 cb = lv_checkbox_create(lv_scr_act()); in lv_example_checkbox_1()
25 cb = lv_checkbox_create(lv_scr_act()); in lv_example_checkbox_1()
30 cb = lv_checkbox_create(lv_scr_act()); in lv_example_checkbox_1()
35 cb = lv_checkbox_create(lv_scr_act()); in lv_example_checkbox_1()
/lvgl-latest/examples/widgets/bar/
Dlv_example_bar_5.c11 lv_obj_t * bar_ltr = lv_bar_create(lv_scr_act()); in lv_example_bar_5()
16 label = lv_label_create(lv_scr_act()); in lv_example_bar_5()
20 lv_obj_t * bar_rtl = lv_bar_create(lv_scr_act()); in lv_example_bar_5()
26 label = lv_label_create(lv_scr_act()); in lv_example_bar_5()
/lvgl-latest/examples/widgets/textarea/
Dlv_example_textarea_2.c11 lv_obj_t * pwd_ta = lv_textarea_create(lv_scr_act()); in lv_example_textarea_2()
20 lv_obj_t * pwd_label = lv_label_create(lv_scr_act()); in lv_example_textarea_2()
25 lv_obj_t * text_ta = lv_textarea_create(lv_scr_act()); in lv_example_textarea_2()
33 lv_obj_t * oneline_label = lv_label_create(lv_scr_act()); in lv_example_textarea_2()
38 kb = lv_keyboard_create(lv_scr_act()); in lv_example_textarea_2()
/lvgl-latest/examples/widgets/dropdown/
Dlv_example_dropdown_2.c15 dd = lv_dropdown_create(lv_scr_act()); in lv_example_dropdown_2()
19 dd = lv_dropdown_create(lv_scr_act()); in lv_example_dropdown_2()
25 dd = lv_dropdown_create(lv_scr_act()); in lv_example_dropdown_2()
31 dd = lv_dropdown_create(lv_scr_act()); in lv_example_dropdown_2()
/lvgl-latest/examples/widgets/led/
Dlv_example_led_1.c10 lv_obj_t * led1 = lv_led_create(lv_scr_act()); in lv_example_led_1()
15 lv_obj_t * led2 = lv_led_create(lv_scr_act()); in lv_example_led_1()
21 lv_obj_t * led3 = lv_led_create(lv_scr_act()); in lv_example_led_1()
/lvgl-latest/demos/music/
Dlv_demo_music.c122 original_screen_bg_color = lv_obj_get_style_bg_color(lv_scr_act(), 0); in lv_demo_music()
123 lv_obj_set_style_bg_color(lv_scr_act(), lv_color_hex(0x343247), 0); in lv_demo_music()
125 list = _lv_demo_music_list_create(lv_scr_act()); in lv_demo_music()
126 ctrl = _lv_demo_music_main_create(lv_scr_act()); in lv_demo_music()
144 lv_obj_clean(lv_scr_act()); in lv_demo_music_close()
146 lv_obj_set_style_bg_color(lv_scr_act(), original_screen_bg_color, 0); in lv_demo_music_close()
/lvgl-latest/examples/others/ime/
Dlv_example_ime_pinyin_1.c25 lv_obj_t * pinyin_ime = lv_ime_pinyin_create(lv_scr_act()); in lv_example_ime_pinyin_1()
30 lv_obj_t * ta1 = lv_textarea_create(lv_scr_act()); in lv_example_ime_pinyin_1()
36 lv_obj_t * kb = lv_keyboard_create(lv_scr_act()); in lv_example_ime_pinyin_1()
48 lv_obj_t * cz_label = lv_label_create(lv_scr_act()); in lv_example_ime_pinyin_1()
Dlv_example_ime_pinyin_2.c25 lv_obj_t * pinyin_ime = lv_ime_pinyin_create(lv_scr_act()); in lv_example_ime_pinyin_2()
30 lv_obj_t * ta1 = lv_textarea_create(lv_scr_act()); in lv_example_ime_pinyin_2()
36 lv_obj_t * kb = lv_keyboard_create(lv_scr_act()); in lv_example_ime_pinyin_2()
50 lv_obj_t * cz_label = lv_label_create(lv_scr_act()); in lv_example_ime_pinyin_2()
/lvgl-latest/examples/widgets/label/
Dlv_example_label_3.c9 lv_obj_t * ltr_label = lv_label_create(lv_scr_act()); in lv_example_label_3()
15 lv_obj_t * rtl_label = lv_label_create(lv_scr_act()); in lv_example_label_3()
23 lv_obj_t * cz_label = lv_label_create(lv_scr_act()); in lv_example_label_3()
/lvgl-latest/examples/styles/
Dlv_example_style_15.c13 btn = lv_btn_create(lv_scr_act()); in lv_example_style_15()
23 btn = lv_btn_create(lv_scr_act()); in lv_example_style_15()
34 btn = lv_btn_create(lv_scr_act()); in lv_example_style_15()
/lvgl-latest/examples/widgets/keyboard/
Dlv_example_keyboard_1.c23 lv_obj_t * kb = lv_keyboard_create(lv_scr_act()); in lv_example_keyboard_1()
27 ta = lv_textarea_create(lv_scr_act()); in lv_example_keyboard_1()
33 ta = lv_textarea_create(lv_scr_act()); in lv_example_keyboard_1()
/lvgl-latest/examples/widgets/spinbox/
Dlv_example_spinbox_1.c24 spinbox = lv_spinbox_create(lv_scr_act()); in lv_example_spinbox_1()
33 lv_obj_t * btn = lv_btn_create(lv_scr_act()); in lv_example_spinbox_1()
39 btn = lv_btn_create(lv_scr_act()); in lv_example_spinbox_1()
/lvgl-latest/examples/libs/rlottie/
Dlv_example_rlottie_2.c11 lv_obj_t * lottie = lv_rlottie_create_from_file(lv_scr_act(), 100, 100, in lv_example_rlottie_2()
22 lv_obj_t * label = lv_label_create(lv_scr_act()); in lv_example_rlottie_2()
Dlv_example_rlottie_1.c11 …lv_obj_t * lottie = lv_rlottie_create_from_raw(lv_scr_act(), 100, 100, (const void *)lv_example_rl… in lv_example_rlottie_1()
21 lv_obj_t * label = lv_label_create(lv_scr_act()); in lv_example_rlottie_1()
/lvgl-latest/examples/libs/ffmpeg/
Dlv_example_ffmpeg_1.c10 lv_obj_t * img = lv_img_create(lv_scr_act()); in lv_example_ffmpeg_1()
22 lv_obj_t * label = lv_label_create(lv_scr_act()); in lv_example_ffmpeg_1()
Dlv_example_ffmpeg_2.c12 lv_obj_t * player = lv_ffmpeg_player_create(lv_scr_act()); in lv_example_ffmpeg_2()
26 lv_obj_t * label = lv_label_create(lv_scr_act()); in lv_example_ffmpeg_2()
/lvgl-latest/examples/scroll/
Dlv_example_scroll_2.c22 lv_obj_t * panel = lv_obj_create(lv_scr_act()); in lv_example_scroll_2()
48 lv_obj_t * sw = lv_switch_create(lv_scr_act()); in lv_example_scroll_2()
51 lv_obj_t * label = lv_label_create(lv_scr_act()); in lv_example_scroll_2()
/lvgl-latest/examples/libs/gif/
Dlv_example_gif_1.c12 img = lv_gif_create(lv_scr_act()); in lv_example_gif_1()
16 img = lv_gif_create(lv_scr_act()); in lv_example_gif_1()
/lvgl-latest/examples/libs/png/
Dlv_example_png_1.c12 img = lv_img_create(lv_scr_act()); in lv_example_png_1()
16 img = lv_img_create(lv_scr_act()); in lv_example_png_1()
/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_5.c71 chart = lv_chart_create(lv_scr_act()); in lv_example_chart_5()
86 slider = lv_slider_create(lv_scr_act()); in lv_example_chart_5()
92 slider = lv_slider_create(lv_scr_act()); in lv_example_chart_5()

12345678