Lines Matching refs:hor_res
62 lv_display_t * lv_display_create(int32_t hor_res, int32_t ver_res) in lv_display_create() argument
70 disp->hor_res = hor_res; in lv_display_create()
95 disp->layer_head->buf_area.x2 = hor_res - 1; in lv_display_create()
244 void lv_display_set_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res) in lv_display_set_resolution() argument
249 if(disp->hor_res == hor_res && disp->ver_res == ver_res) return; in lv_display_set_resolution()
251 disp->hor_res = hor_res; in lv_display_set_resolution()
257 void lv_display_set_physical_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res) in lv_display_set_physical_resolution() argument
262 disp->physical_hor_res = hor_res; in lv_display_set_physical_resolution()
302 return disp->hor_res; in lv_display_get_horizontal_resolution()
318 return disp->hor_res; in lv_display_get_vertical_resolution()
338 return disp->physical_hor_res > 0 ? disp->physical_hor_res : disp->hor_res; in lv_display_get_physical_horizontal_resolution()
354 return disp->physical_hor_res > 0 ? disp->physical_hor_res : disp->hor_res; in lv_display_get_physical_vertical_resolution()
1023 area->x2 = disp->hor_res - area->x1 - 1; in lv_display_rotate_area()
1027 area->x1 = disp->hor_res - area->y2 - 1; in lv_display_rotate_area()
1102 int32_t hor_res = lv_display_get_horizontal_resolution(disp); in update_resolution() local
1109 lv_area_set_width(&disp->screens[i]->coords, hor_res); in update_resolution()
1114 lv_area_set_width(&disp->top_layer->coords, hor_res); in update_resolution()
1118 lv_area_set_width(&disp->sys_layer->coords, hor_res); in update_resolution()
1122 lv_area_set_width(&disp->bottom_layer->coords, hor_res); in update_resolution()