Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/hal/
Dlv_hal.h29 #define _LV_DPX_CALC(dpi, n) ((n) == 0 ? 0 :LV_MAX((( (dpi) * (n) + 80) / 160), 1)) /*+80 for rou… argument
Dlv_hal_disp.h102 …uint32_t dpi : 10; /** DPI (dot per inch) of the display. Default value is `LV_DPI_DE… member
Dlv_hal_disp.c95 driver->dpi = LV_DPI_DEF; in lv_disp_drv_init()
505 return disp->driver->dpi; in lv_disp_get_dpi()
/lvgl-3.5.0/src/widgets/
Dlv_btnmatrix.c988 lv_coord_t dpi = lv_disp_get_dpi(lv_obj_get_disp(obj)); in invalidate_button_area() local
989 row_gap = LV_MAX(row_gap, dpi / 10); in invalidate_button_area()
990 col_gap = LV_MAX(col_gap, dpi / 10); in invalidate_button_area()
/lvgl-3.5.0/demos/widgets/
Dlv_demo_widgets.py50 dpi = display.get_dpi()
52 tmp = (dpi*n+80)//160