Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 5 of 5) sorted by relevance

/modules/lvgl/input/
A Dlvgl_pointer_input.c38 struct display_capabilities *cap = &disp_data->cap; in lvgl_pointer_process_event() local
74 tmp_point.x = cap->x_resolution - tmp_point.x; in lvgl_pointer_process_event()
90 switch (cap->current_orientation) { in lvgl_pointer_process_event()
97 point->y = cap->y_resolution - tmp_point.x; in lvgl_pointer_process_event()
100 point->x = cap->x_resolution - tmp_point.x; in lvgl_pointer_process_event()
101 point->y = cap->y_resolution - tmp_point.y; in lvgl_pointer_process_event()
104 point->x = cap->x_resolution - tmp_point.y; in lvgl_pointer_process_event()
115 } else if (point->x >= cap->x_resolution) { in lvgl_pointer_process_event()
116 point->x = cap->x_resolution - 1; in lvgl_pointer_process_event()
121 } else if (point->y >= cap->y_resolution) { in lvgl_pointer_process_event()
[all …]
/modules/lvgl/
A Dlvgl_display_mono.c90 const bool is_epd = data->cap.screen_info & SCREEN_INFO_EPD; in lvgl_flush_cb_mono()
93 lvgl_transform_buffer(&px_map, w, h, &data->cap); in lvgl_flush_cb_mono()
115 if (data->cap.screen_info & SCREEN_INFO_DOUBLE_BUFFER) { in lvgl_flush_cb_mono()
137 if (data->cap.screen_info & SCREEN_INFO_X_ALIGNMENT_WIDTH) { in lvgl_rounder_cb_mono()
139 area->x2 = data->cap.x_resolution - 1; in lvgl_rounder_cb_mono()
143 if (data->cap.screen_info & SCREEN_INFO_MONO_VTILED) { in lvgl_rounder_cb_mono()
A Dlvgl.c168 switch (data->cap.current_pixel_format) { in lvgl_allocate_rendering_buffers()
344 display_get_capabilities(display_dev[i], &p_disp_data->cap); in lvgl_init()
346 lv_displays[i] = lv_display_create(p_disp_data->cap.x_resolution, in lvgl_init()
347 p_disp_data->cap.y_resolution); in lvgl_init()
A Dlvgl_display.c79 switch (data->cap.current_pixel_format) { in set_lvgl_rendering_cb()
/modules/lvgl/include/
A Dlvgl_display.h20 struct display_capabilities cap; member

Completed in 15 milliseconds