Home
last modified time | relevance | path

Searched refs:disp_size (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.4.0/demos/widgets/
Dlv_demo_widgets.py150 disp_size = display.get_size_category()
151 if disp_size <= lv.DISP_SIZE.SMALL:
162 if disp_size <= lv.DISP_SIZE.SMALL:
241 disp_size = display.get_size_category()
244 if disp_size <= lv.DISP_SIZE.LARGE:
251 if disp_size <= lv.DISP_SIZE.SMALL:
262 if disp_size > lv.DISP_SIZE.SMALL:
330 if disp_size <= lv.DISP_SIZE.SMALL:
332 elif disp_size <= lv.DISP_SIZE.MEDIUM :
409 if disp_size <= lv.DISP_SIZE.SMALL:
[all …]
Dlv_demo_widgets.c58 static disp_size_t disp_size; variable
97 if(LV_HOR_RES <= 320) disp_size = DISP_SMALL; in lv_demo_widgets()
98 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_demo_widgets()
99 else disp_size = DISP_LARGE; in lv_demo_widgets()
105 if(disp_size == DISP_LARGE) { in lv_demo_widgets()
117 } else if(disp_size == DISP_MEDIUM) { in lv_demo_widgets()
165 if(disp_size == DISP_LARGE) { in lv_demo_widgets()
318 if(disp_size == DISP_LARGE) { in profile_create()
377 else if(disp_size == DISP_MEDIUM) { in profile_create()
448 else if(disp_size == DISP_SMALL) { in profile_create()
[all …]
/lvgl-3.4.0/src/extra/themes/default/
Dlv_theme_default.c20 #define RADIUS_DEFAULT (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, 12) : lv_disp_dpx(theme.d…
36 #define PAD_DEF (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, 24) : disp_size == DISP_MEDI…
37 #define PAD_SMALL (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, 14) : disp_size == DISP_MEDI…
38 #define PAD_TINY (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, 8) : disp_size == DISP_MEDIUM…
175 static disp_size_t disp_size; variable
278 lv_style_set_radius(&styles->btn, (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, in style_init()
279 … 16) : disp_size == DISP_MEDIUM ? lv_disp_dpx(theme.disp, 12) : lv_disp_dpx(theme.disp, 8))); in style_init()
594 …lv_style_set_radius(&styles->keyboard_btn_bg, disp_size == DISP_SMALL ? RADIUS_DEFAULT / 2 : RADIU… in style_init()
655 if(LV_HOR_RES <= 320) disp_size = DISP_SMALL; in lv_theme_default_init()
656 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_theme_default_init()
[all …]