Lines Matching refs:ver_res
62 lv_display_t * lv_display_create(int32_t hor_res, int32_t ver_res) in lv_display_create() argument
71 disp->ver_res = ver_res; in lv_display_create()
96 disp->layer_head->buf_area.y2 = ver_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()
252 disp->ver_res = ver_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
263 disp->physical_ver_res = ver_res; in lv_display_set_physical_resolution()
300 return disp->ver_res; in lv_display_get_horizontal_resolution()
320 return disp->ver_res; in lv_display_get_vertical_resolution()
336 return disp->physical_ver_res > 0 ? disp->physical_ver_res : disp->ver_res; in lv_display_get_physical_horizontal_resolution()
356 return disp->physical_ver_res > 0 ? disp->physical_ver_res : disp->ver_res; in lv_display_get_physical_vertical_resolution()
1015 area->y2 = disp->ver_res - area->x1 - 1; in lv_display_rotate_area()
1021 area->y2 = disp->ver_res - area->y1 - 1; in lv_display_rotate_area()
1103 int32_t ver_res = lv_display_get_vertical_resolution(disp); in update_resolution() local
1110 lv_area_set_height(&disp->screens[i]->coords, ver_res); in update_resolution()
1115 lv_area_set_height(&disp->top_layer->coords, ver_res); in update_resolution()
1119 lv_area_set_height(&disp->sys_layer->coords, ver_res); in update_resolution()
1123 lv_area_set_height(&disp->bottom_layer->coords, ver_res); in update_resolution()