/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_ev_charging.c | 92 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_ev_charging() 93 …t32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[10]; in lv_demo_high_res_app_ev_charging() 122 …lv_obj_t * app_info = lv_demo_high_res_simple_container_create(bg_cont, true, c->sz->gap[4], LV_FL… in lv_demo_high_res_app_ev_charging() 123 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_ev_charging() 125 …lv_obj_t * back = lv_demo_high_res_simple_container_create(app_info, false, c->sz->gap[2], LV_FLEX… in lv_demo_high_res_app_ev_charging() 146 …widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz->gap[7]; in lv_demo_high_res_app_ev_charging() 249 lv_obj_set_style_pad_all(widget, c->sz->gap[7], 0); in create_widget1() 252 …lv_obj_t * title_box = lv_demo_high_res_simple_container_create(widget, true, c->sz->gap[1], LV_FL… in create_widget1() 269 lv_obj_set_style_pad_row(saved_box, c->sz->gap[2], 0); in create_widget1() 281 …lv_obj_t * spent_box = lv_demo_high_res_simple_container_create(widget, true, c->sz->gap[2], LV_FL… in create_widget1() [all …]
|
D | lv_demo_high_res_home.c | 70 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_home() 75 … c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[10], false, c); in lv_demo_high_res_home() 82 lv_obj_set_style_pad_left(info_area, c->sz->gap[10], 0); in lv_demo_high_res_home() 83 lv_obj_set_style_pad_right(info_area, c->sz->gap[10], 0); in lv_demo_high_res_home() 88 …lv_obj_t * date_and_time = lv_demo_high_res_simple_container_create(info_area, true, c->sz->gap[4], in lv_demo_high_res_home() 108 …lv_obj_t * weather_left = lv_demo_high_res_simple_container_create(weather, true, c->sz->gap[2], L… in lv_demo_high_res_home() 114 …* weather_left_bottom = lv_demo_high_res_simple_container_create(weather_left, true, c->sz->gap[3], in lv_demo_high_res_home() 127 …lv_obj_t * weather_right = lv_demo_high_res_simple_container_create(weather, true, c->sz->gap[2], … in lv_demo_high_res_home() 144 lv_obj_set_style_pad_bottom(apps, c->sz->gap[10], 0); in lv_demo_high_res_home() 145 lv_obj_set_style_pad_left(apps, c->sz->gap[10], 0); in lv_demo_high_res_home() [all …]
|
D | lv_demo_high_res_app_thermostat.c | 77 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_thermostat() 78 …t32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[10]; in lv_demo_high_res_app_thermostat() 88 …lv_obj_t * app_info = lv_demo_high_res_simple_container_create(bg_cont, true, c->sz->gap[4], LV_FL… in lv_demo_high_res_app_thermostat() 89 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_thermostat() 91 …lv_obj_t * back = lv_demo_high_res_simple_container_create(app_info, false, c->sz->gap[2], LV_FLEX… in lv_demo_high_res_app_thermostat() 112 …widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz->gap[7]; in lv_demo_high_res_app_thermostat() 151 lv_obj_set_style_pad_all(widget, c->sz->gap[7], 0); in create_widget1() 170 lv_obj_set_style_pad_column(chart_grid, c->sz->gap[3], 0); in create_widget1() 176 lv_obj_set_style_pad_column(chart, c->sz->gap[1], 0); in create_widget1() 177 lv_obj_set_style_radius(chart, c->sz->gap[3], LV_PART_ITEMS); in create_widget1() [all …]
|
D | lv_demo_high_res_app_smart_home.c | 73 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_smart_home() 78 … c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[10], true, c); in lv_demo_high_res_app_smart_home() 82 …lv_obj_t * app_info = lv_demo_high_res_simple_container_create(bg_cont, true, c->sz->gap[4], LV_FL… in lv_demo_high_res_app_smart_home() 83 lv_obj_set_style_pad_top(app_info, c->sz->gap[10], 0); in lv_demo_high_res_app_smart_home() 84 lv_obj_set_style_pad_left(app_info, c->sz->gap[10], 0); in lv_demo_high_res_app_smart_home() 86 …lv_obj_t * back = lv_demo_high_res_simple_container_create(app_info, false, c->sz->gap[2], LV_FLEX… in lv_demo_high_res_app_smart_home() 111 lv_obj_set_style_pad_bottom(widgets, c->sz->gap[10], 0); in lv_demo_high_res_app_smart_home() 112 lv_obj_set_style_pad_left(widgets, c->sz->gap[10], 0); in lv_demo_high_res_app_smart_home() 113 lv_obj_set_style_pad_right(widgets, c->sz->gap[10], 0); in lv_demo_high_res_app_smart_home() 115 lv_obj_set_style_pad_column(widgets, c->sz->gap[7], 0); in lv_demo_high_res_app_smart_home() [all …]
|
D | lv_demo_high_res_app_smart_meter.c | 90 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_smart_meter() 91 …t32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[10]; in lv_demo_high_res_app_smart_meter() 101 …lv_obj_t * app_info = lv_demo_high_res_simple_container_create(bg_cont, true, c->sz->gap[4], LV_FL… in lv_demo_high_res_app_smart_meter() 102 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_smart_meter() 104 …lv_obj_t * back = lv_demo_high_res_simple_container_create(app_info, false, c->sz->gap[2], LV_FLEX… in lv_demo_high_res_app_smart_meter() 125 …widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz->gap[7]; in lv_demo_high_res_app_smart_meter() 159 lv_obj_set_style_pad_all(part, c->sz->gap[7], 0); in create_widget1_part() 174 …lv_obj_t * daily_box = lv_demo_high_res_simple_container_create(box, true, c->sz->gap[2], LV_FLEX_… in create_widget1_part() 182 …obj_t * daily_value_box = lv_demo_high_res_simple_container_create(daily_box, false, c->sz->gap[1], in create_widget1_part() 196 …lv_obj_t * weekly_box = lv_demo_high_res_simple_container_create(box, true, c->sz->gap[2], LV_FLEX… in create_widget1_part() [all …]
|
D | lv_demo_high_res_app_about.c | 67 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_about() 68 lv_obj_set_style_pad_bottom(bg_cont, c->sz->gap[10], 0); in lv_demo_high_res_app_about() 69 lv_obj_set_style_pad_hor(bg_cont, c->sz->gap[10], 0); in lv_demo_high_res_app_about() 77 …lv_obj_t * app_info = lv_demo_high_res_simple_container_create(bg_cont, true, c->sz->gap[4], LV_FL… in lv_demo_high_res_app_about() 78 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_about() 80 …lv_obj_t * back = lv_demo_high_res_simple_container_create(app_info, false, c->sz->gap[2], LV_FLEX… in lv_demo_high_res_app_about() 121 lv_obj_set_style_pad_row(slides_cont, c->sz->gap[3], 0); in lv_demo_high_res_app_about() 127 …bj_t * slide_deck = lv_demo_high_res_simple_container_create(slide_deck_cont, false, c->sz->gap[2], in lv_demo_high_res_app_about() 131 …lv_obj_t * buttons = lv_demo_high_res_simple_container_create(slides_cont, false, c->sz->gap[2], L… in lv_demo_high_res_app_about() 196 lv_obj_set_style_radius(button, c->sz->gap[3], 0); in create_button()
|
D | lv_demo_high_res_top_margin.c | 75 lv_obj_set_size(top_margin, LV_PCT(100), c->sz->gap[10]); in lv_demo_high_res_top_margin_create() 99 …p_margin_right_cluster = lv_demo_high_res_simple_container_create(top_margin, false, c->sz->gap[6], in lv_demo_high_res_top_margin_create() 222 lv_obj_set_style_radius(settings, c->sz->gap[3], 0); in create_wifi() 224 lv_obj_set_style_pad_all(settings, c->sz->gap[7], 0); in create_wifi() 227 …lv_obj_t * cont = lv_demo_high_res_simple_container_create(settings, true, c->sz->gap[4], LV_FLEX_… in create_wifi() 258 lv_obj_set_style_radius(perfmon, c->sz->gap[3], 0); in create_perfmon() 260 lv_obj_set_style_pad_all(perfmon, c->sz->gap[7], 0); in create_perfmon() 272 lv_obj_set_size(divider, LV_PCT(100), c->sz->gap[4]); in create_perfmon() 316 lv_obj_set_style_radius(settings, c->sz->gap[3], 0); in create_settings() 318 lv_obj_set_style_pad_ver(settings, c->sz->gap[5], 0); in create_settings() [all …]
|
D | lv_demo_high_res_private.h | 152 int32_t gap[10 + 1]; member
|
D | lv_demo_high_res_util.c | 89 .gap = {0, 2, 4, 6, 9, 12, 14, 16, 20, 24, 32}, 107 .gap = {0, 3, 6, 9, 12, 16, 20, 24, 30, 36, 48}, 125 .gap = {0, 5, 10, 15, 18, 24, 30, 36, 45, 54, 72},
|
/lvgl-latest/src/layouts/flex/ |
D | lv_flex.c | 65 int32_t * start_pos, int32_t * gap); 169 int32_t gap = 0; in flex_update() local 190 …ace_content(track_cross_place, max_cross_size, total_track_cross_size, track_cnt, cross_pos, &gap); in flex_update() 213 *cross_pos -= gap + track_gap; in flex_update() 216 *cross_pos += t.track_cross_size + gap + track_gap; in flex_update() 486 int32_t * start_pos, int32_t * gap) in place_content() argument 501 *gap = 0; in place_content() 505 *gap = 0; in place_content() 509 if(item_cnt > 1) *gap = (int32_t)(max_size - content_size) / (int32_t)(item_cnt - 1); in place_content() 512 *gap += (int32_t)(max_size - content_size) / (int32_t)(item_cnt); in place_content() [all …]
|
/lvgl-latest/src/layouts/grid/ |
D | lv_grid.c | 62 static int32_t grid_align(int32_t cont_size, bool auto_size, lv_grid_align_t align, int32_t gap, 588 static int32_t grid_align(int32_t cont_size, bool auto_size, lv_grid_align_t align, int32_t gap, in grid_align() argument 601 gap = 0; in grid_align() 607 grid_size += size_array[i] + gap; in grid_align() 609 grid_size -= gap; in grid_align() 624 gap = (int32_t)(cont_size - grid_size) / (int32_t)(track_num - 1); in grid_align() 627 gap = (int32_t)(cont_size - grid_size) / (int32_t)(track_num); in grid_align() 628 pos_array[0] = gap / 2; in grid_align() 631 gap = (int32_t)(cont_size - grid_size) / (int32_t)(track_num + 1); in grid_align() 632 pos_array[0] = gap; in grid_align() [all …]
|
/lvgl-latest/src/widgets/tabview/ |
D | lv_tabview.c | 129 int32_t gap = lv_obj_get_style_pad_column(cont, LV_PART_MAIN); in lv_tabview_set_active() local 132 lv_obj_scroll_to_x(cont, idx * (gap + w), anim_en); in lv_tabview_set_active() 136 lv_obj_scroll_to_x(cont, (gap + w) * id_rtl, anim_en); in lv_tabview_set_active() 140 int32_t gap = lv_obj_get_style_pad_row(cont, LV_PART_MAIN); in lv_tabview_set_active() local 142 lv_obj_scroll_to_y(cont, idx * (gap + h), anim_en); in lv_tabview_set_active()
|
/lvgl-latest/examples/layouts/grid/ |
D | index.rst | 25 Demonstrate column and row gap
|
/lvgl-latest/examples/layouts/flex/ |
D | index.rst | 25 Demonstrate column and row gap style properties
|
/lvgl-latest/examples/widgets/chart/ |
D | index.rst | 45 Circular line chart with gap
|
/lvgl-latest/src/stdlib/builtin/ |
D | lv_tlsf.c | 1135 size_t gap = tlsf_cast(size_t, in lv_tlsf_memalign() local 1139 if(gap && gap < gap_minimum) { in lv_tlsf_memalign() 1140 const size_t gap_remain = gap_minimum - gap; in lv_tlsf_memalign() 1146 gap = tlsf_cast(size_t, in lv_tlsf_memalign() 1150 if(gap) { in lv_tlsf_memalign() 1151 tlsf_assert(gap >= gap_minimum && "gap size too small"); in lv_tlsf_memalign() 1152 block = block_trim_free_leading(control, block, gap); in lv_tlsf_memalign()
|
/lvgl-latest/docs/details/base-widget/layouts/ |
D | grid.rst | 34 - **gap**: the space between rows and columns or the items on a track
|
D | flex.rst | 38 - **gap**: the space between rows and columns or the items on a track
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style-properties.rst | 810 Set padding of outline, i.e. the gap between Widget and the outline. 993 Set gap between dashes in pixels. Note that dash works only on horizontal and vertical lines
|