Lines Matching refs:disp_size
60 static disp_size_t disp_size; variable
101 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()
569 if(disp_size == DISP_SMALL) lv_chart_set_zoom_x(chart1, 256 * 3); in analytics_create()
570 else if(disp_size == DISP_MEDIUM) lv_chart_set_zoom_x(chart1, 256 * 2); in analytics_create()
620 if(disp_size == DISP_SMALL) { in analytics_create()
624 else if(disp_size == DISP_LARGE) { in analytics_create()
694 …if(disp_size < DISP_LARGE) lv_obj_add_flag(lv_obj_get_parent(meter2), LV_OBJ_FLAG_FLEX_IN_NEW_TRAC… in analytics_create()
715 …if(disp_size < DISP_LARGE) lv_obj_add_flag(lv_obj_get_parent(meter3), LV_OBJ_FLAG_FLEX_IN_NEW_TRAC… in analytics_create()
778 if(disp_size == DISP_MEDIUM) { in analytics_create()
840 if(disp_size == DISP_LARGE) { in shop_create()
861 else if(disp_size == DISP_MEDIUM) { in shop_create()
881 else if(disp_size == DISP_SMALL) { in shop_create()
906 if(disp_size == DISP_SMALL) { in shop_create()
931 if(disp_size == DISP_SMALL) { in shop_create()
985 lv_obj_set_style_pad_right(color_cont, disp_size == DISP_SMALL ? LV_DPX(47) : LV_DPX(55), 0); in color_changer_create()
989 if(disp_size == DISP_SMALL) lv_obj_set_size(color_cont, LV_DPX(52), LV_DPX(52)); in color_changer_create()
1014 if(disp_size == DISP_SMALL) { in color_changer_create()
1030 if(disp_size == DISP_SMALL) { in color_changer_anim_cb()
1146 if(disp_size == DISP_MEDIUM) { in create_meter_box()
1252 if(disp_size == DISP_SMALL) lv_obj_set_size(calendar, 180, 200); in birthday_event_cb()
1253 else if(disp_size == DISP_MEDIUM) lv_obj_set_size(calendar, 200, 220); in birthday_event_cb()