Searched refs:dd (Results 1 – 7 of 7) sorted by relevance
/lvgl-latest/examples/widgets/dropdown/ |
D | lv_example_dropdown_2.c | 14 lv_obj_t * dd; in lv_example_dropdown_2() local 15 dd = lv_dropdown_create(lv_screen_active()); in lv_example_dropdown_2() 16 lv_dropdown_set_options_static(dd, opts); in lv_example_dropdown_2() 17 lv_obj_align(dd, LV_ALIGN_TOP_MID, 0, 10); in lv_example_dropdown_2() 19 dd = lv_dropdown_create(lv_screen_active()); in lv_example_dropdown_2() 20 lv_dropdown_set_options_static(dd, opts); in lv_example_dropdown_2() 21 lv_dropdown_set_dir(dd, LV_DIR_BOTTOM); in lv_example_dropdown_2() 22 lv_dropdown_set_symbol(dd, LV_SYMBOL_UP); in lv_example_dropdown_2() 23 lv_obj_align(dd, LV_ALIGN_BOTTOM_MID, 0, -10); in lv_example_dropdown_2() 25 dd = lv_dropdown_create(lv_screen_active()); in lv_example_dropdown_2() [all …]
|
D | lv_example_dropdown_1.c | 19 lv_obj_t * dd = lv_dropdown_create(lv_screen_active()); in lv_example_dropdown_1() local 20 lv_dropdown_set_options(dd, "Apple\n" in lv_example_dropdown_1() 31 lv_obj_align(dd, LV_ALIGN_TOP_MID, 0, 20); in lv_example_dropdown_1() 32 lv_obj_add_event_cb(dd, event_handler, LV_EVENT_ALL, NULL); in lv_example_dropdown_1()
|
/lvgl-latest/examples/others/file_explorer/ |
D | lv_example_file_explorer_2.c | 40 lv_obj_t * dd = lv_event_get_target(e); in dd_event_handler() local 45 lv_dropdown_get_selected_str(dd, buf, sizeof(buf)); in dd_event_handler() 137 lv_obj_t * dd = lv_dropdown_create(fe_header_obj); in lv_example_file_explorer_2() local 138 lv_obj_set_style_radius(dd, 4, 0); in lv_example_file_explorer_2() 139 lv_obj_set_style_pad_all(dd, 0, 0); in lv_example_file_explorer_2() 140 lv_obj_set_size(dd, LV_PCT(30), LV_SIZE_CONTENT); in lv_example_file_explorer_2() 141 lv_dropdown_set_options_static(dd, opts); in lv_example_file_explorer_2() 142 lv_obj_align(dd, LV_ALIGN_RIGHT_MID, 0, 0); in lv_example_file_explorer_2() 144 lv_obj_add_event_cb(dd, dd_event_handler, LV_EVENT_VALUE_CHANGED, file_explorer); in lv_example_file_explorer_2()
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike_settings.c | 179 lv_obj_t * dd = lv_dropdown_create(cont); in dropdown_create() local 180 lv_dropdown_set_options(dd, options); in dropdown_create() 181 lv_obj_set_style_bg_color(dd, EBIKE_COLOR_TURQUOISE, 0); in dropdown_create() 182 lv_obj_set_style_bg_opa(dd, LV_OPA_40, 0); in dropdown_create() 183 lv_obj_set_style_radius(dd, 4, 0); in dropdown_create() 184 lv_obj_set_width(dd, 150); in dropdown_create() 185 lv_obj_set_style_pad_all(dd, 8, 0); in dropdown_create() 186 lv_dropdown_set_symbol(dd, &img_ebike_dropdown_icon); in dropdown_create() 187 lv_dropdown_bind_value(dd, subject); in dropdown_create() 189 lv_obj_t * list = lv_dropdown_get_list(dd); in dropdown_create()
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_dropdown.c | 432 lv_obj_t * dd = lv_dropdown_create(cont1); in test_dropdown_should_list_on_top() local 438 lv_dropdown_open(dd); in test_dropdown_should_list_on_top() 439 lv_obj_t * list = lv_dropdown_get_list(dd); in test_dropdown_should_list_on_top() 447 lv_obj_t * dd = lv_dropdown_create(lv_screen_active()); in test_dropdown_get_options_should_check_lengths() local 448 lv_dropdown_set_options(dd, "abc\nab"); in test_dropdown_get_options_should_check_lengths() 449 TEST_ASSERT_EQUAL_INT(1, lv_dropdown_get_option_index(dd, "ab")); in test_dropdown_get_options_should_check_lengths() 451 lv_dropdown_set_options(dd, "Option 1\nOption 2\nOption 3\nOption"); in test_dropdown_get_options_should_check_lengths() 452 TEST_ASSERT_EQUAL_INT(3, lv_dropdown_get_option_index(dd, "Option")); in test_dropdown_get_options_should_check_lengths() 453 TEST_ASSERT_EQUAL_INT(-1, lv_dropdown_get_option_index(dd, "Option ")); in test_dropdown_get_options_should_check_lengths()
|
/lvgl-latest/docs/_static/css/ |
D | custom.css | 115 dl.cpp.unexpanded dd {
|
/lvgl-latest/docs/details/integration/os/buildroot/ |
D | image_generation.rst | 182 sudo dd if=images/sdcard.img of=/dev/sda
|