Searched refs:disp_size (Results 1 – 3 of 3) sorted by relevance
150 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 …]
60 static disp_size_t disp_size; variable101 if(LV_HOR_RES <= 320) disp_size = DISP_SMALL; in lv_demo_widgets()102 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_demo_widgets()103 else disp_size = DISP_LARGE; in lv_demo_widgets()109 if(disp_size == DISP_LARGE) { in lv_demo_widgets()122 else if(disp_size == DISP_MEDIUM) { in lv_demo_widgets()172 if(disp_size == DISP_LARGE) { in lv_demo_widgets()341 if(disp_size == DISP_LARGE) { in profile_create()398 else if(disp_size == DISP_MEDIUM) { in profile_create()468 else if(disp_size == DISP_SMALL) { in profile_create()[all …]
20 #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; variable282 lv_style_set_radius(&styles->btn, (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, in style_init()283 … 16) : disp_size == DISP_MEDIUM ? lv_disp_dpx(theme.disp, 12) : lv_disp_dpx(theme.disp, 8))); in style_init()598 …lv_style_set_radius(&styles->keyboard_btn_bg, disp_size == DISP_SMALL ? RADIUS_DEFAULT / 2 : RADIU… in style_init()658 if(LV_HOR_RES <= 320) disp_size = DISP_SMALL; in lv_theme_default_init()659 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_theme_default_init()[all …]