Searched refs:dpi (Results 1 – 5 of 5) sorted by relevance
29 #define _LV_DPX_CALC(dpi, n) ((n) == 0 ? 0 :LV_MAX((( (dpi) * (n) + 80) / 160), 1)) /*+80 for rou… argument
102 …uint32_t dpi : 10; /** DPI (dot per inch) of the display. Default value is `LV_DPI_DE… member
95 driver->dpi = LV_DPI_DEF; in lv_disp_drv_init()505 return disp->driver->dpi; in lv_disp_get_dpi()
988 lv_coord_t dpi = lv_disp_get_dpi(lv_obj_get_disp(obj)); in invalidate_button_area() local989 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()
50 dpi = display.get_dpi()52 tmp = (dpi*n+80)//160