Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 16 of 16) sorted by relevance

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_smart_home.c73 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 …]
Dlv_demo_high_res_app_thermostat.c77 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_thermostat()
78 …int32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[1… 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 …int32_t widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz in lv_demo_high_res_app_thermostat()
148 lv_obj_set_size(widget, c->sz->card_long_edge, c->sz->card_long_edge); in create_widget1()
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()
174 lv_obj_set_height(chart, c->sz->small_chart_height); in create_widget1()
[all …]
Dlv_demo_high_res_app_ev_charging.c92 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_ev_charging()
93 …int32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[1… 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 …int32_t widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz in lv_demo_high_res_app_ev_charging()
246 lv_obj_set_size(widget, c->sz->card_long_edge, c->sz->card_long_edge); in create_widget1()
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()
[all …]
Dlv_demo_high_res_home.c70 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 …]
Dlv_demo_high_res_app_smart_meter.c90 lv_obj_set_style_pad_top(bg_cont, c->sz->gap[7], 0); in lv_demo_high_res_app_smart_meter()
91 …int32_t app_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[9] : c->sz->gap[1… 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 …int32_t widget_gap_padding = c->sz == &lv_demo_high_res_sizes_all[SIZE_SM] ? c->sz->gap[4] : c->sz in lv_demo_high_res_app_smart_meter()
157 lv_obj_set_style_radius(part, c->sz->card_radius, 0); in create_widget1_part()
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 …lv_obj_t * daily_value_box = lv_demo_high_res_simple_container_create(daily_box, false, c->sz->gap… in create_widget1_part()
[all …]
Dlv_demo_high_res_app_about.c67 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 …lv_obj_t * slide_deck = lv_demo_high_res_simple_container_create(slide_deck_cont, false, c->sz->ga… 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()
133 lv_obj_set_width(left, c->sz->icon[3]); in lv_demo_high_res_app_about()
[all …]
Dlv_demo_high_res_top_margin.c75 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()
223 lv_obj_set_size(settings, c->sz->settings_panel_width, LV_SIZE_CONTENT); 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()
259 lv_obj_set_size(perfmon, c->sz->health_panel_width, LV_SIZE_CONTENT); 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()
[all …]
Dlv_demo_high_res_private.h186 const lv_demo_high_res_sizes_t * sz; member
Dlv_demo_high_res_util.c185 c->sz = &lv_demo_high_res_sizes_all[size]; in lv_demo_high_res_base_obj_create()
275 c->sz->init_fonts_cb(c->fonts); in lv_demo_high_res_base_obj_create()
/lvgl-latest/src/libs/thorvg/
DtvgSvgLoader.cpp798 int sz; member
834 if (!strncmp(matrixTags[i].tag, str, matrixTags[i].sz - 1)) { in _parseTransformationMatrix()
836 str += (matrixTags[i].sz - 1); in _parseTransformationMatrix()
1212 int sz; member
1242 int sz; in _parseStyleAttr() local
1249 sz = strlen(key); in _parseStyleAttr()
1251 if (styleTags[i].sz - 1 == sz && !strncmp(styleTags[i].tag, key, sz)) { in _parseStyleAttr()
1616 int sz; member
1634 int sz = strlen(key); in _attrParseCircleNode() local
1638 if (circleTags[i].sz - 1 == sz && !strncmp(circleTags[i].tag, key, sz)) { in _attrParseCircleNode()
[all …]
DtvgSvgSceneBuilder.cpp518 int sz; member
536 if (!strncmp(*href, imageMimeTypes[i].name, imageMimeTypes[i].sz - 1)) { in _isValidImageMimeTypeAndEncoding()
537 *href += imageMimeTypes[i].sz - 1; in _isValidImageMimeTypeAndEncoding()
DtvgLottieBuilder.cpp52 auto cz = cosf(radianZ), sz = sinf(radianZ);; in _rotationXYZ() local
54 m->e12 = -cy * sz; in _rotationXYZ()
55 m->e21 = sx * sy * cz + cx * sz; in _rotationXYZ()
56 m->e22 = -sx * sy * sz + cx * cz; in _rotationXYZ()
/lvgl-latest/libs/nema_gfx/include/
Dnema_matrix4x4.h95 void nema_mat4x4_scale(nema_matrix4x4_t m, float sx, float sy, float sz);
/lvgl-latest/src/drivers/wayland/
Dlv_wayland_smm.h76 void smm_resize(smm_group_t * grp, size_t sz);
Dlv_wayland_smm.c195 void smm_resize(smm_group_t * grp, size_t sz) in smm_resize() argument
201 rgrp->size = ROUND_UP(sz, smm_instance.page_sz); in smm_resize()
/lvgl-latest/src/libs/expat/
Dxmlparse.c217 #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) argument