/lvgl-2.7.6/src/lv_themes/ |
D | lv_theme_mono.c | 105 #define RADIUS (LV_MATH_MAX(LV_DPI / 30, 2)) 106 #define BORDER_WIDTH (LV_MATH_MAX(LV_DPI / 60, 1)) 129 lv_style_set_line_width(&styles->bg, LV_STATE_DEFAULT, LV_MATH_MAX(LV_DPI / 100, 1)); in basic_init() 130 lv_style_set_scale_end_line_width(&styles->bg, LV_STATE_DEFAULT, LV_MATH_MAX(LV_DPI / 100, 1)); in basic_init() 136 lv_style_set_pad_left(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 137 lv_style_set_pad_right(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 138 lv_style_set_pad_top(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 139 lv_style_set_pad_bottom(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 140 lv_style_set_pad_inner(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 186 lv_style_set_text_line_space(&styles->big_line_space, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() [all …]
|
D | lv_theme_template.c | 74 lv_style_set_pad_left(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 75 lv_style_set_pad_right(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 76 lv_style_set_pad_top(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 77 lv_style_set_pad_bottom(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init() 78 lv_style_set_pad_inner(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init()
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_led.c | 21 #define LV_LED_WIDTH_DEF (LV_DPI / 3) 22 #define LV_LED_HEIGHT_DEF (LV_DPI / 3)
|
D | lv_btn.c | 89 lv_obj_set_size(btn, LV_DPI, LV_DPI / 3); in lv_btn_create()
|
D | lv_spinner.c | 98 lv_obj_set_size(spinner, LV_DPI, LV_DPI); in lv_spinner_create()
|
D | lv_line.c | 82 lv_obj_set_size(line, LV_DPI, in lv_line_create() 83 … LV_DPI); /*Auto size is enables, but set default size until no points are added*/ in lv_line_create()
|
D | lv_cpicker.c | 138 lv_obj_set_size(cpicker, LV_DPI * 2, LV_DPI * 2); in lv_cpicker_create() 825 if(r_in > LV_DPI / 2) { in lv_cpicker_signal() 829 if(r_in < LV_DPI / 2) r_in = LV_DPI / 2; in lv_cpicker_signal()
|
D | lv_arc.c | 98 lv_obj_set_size(arc, LV_DPI, LV_DPI); in lv_arc_create() 108 lv_obj_set_ext_click_area(arc, LV_DPI / 10, LV_DPI / 10, LV_DPI / 10, LV_DPI / 10); in lv_arc_create()
|
D | lv_slider.c | 94 lv_obj_set_ext_click_area(slider, 0, 0, LV_DPI / 10, LV_DPI / 10); in lv_slider_create() 97 lv_obj_set_height(slider, LV_DPI / 15); in lv_slider_create()
|
D | lv_linemeter.c | 87 lv_obj_set_size(linemeter, 3 * LV_DPI / 2, 3 * LV_DPI / 2); in lv_linemeter_create() 436 lv_coord_t r_out_extra = r_out + LV_DPI; in lv_linemeter_draw_scale()
|
D | lv_list.c | 98 lv_obj_set_size(list, 2 * LV_DPI, 3 * LV_DPI); in lv_list_create() 187 lv_coord_t w = last_btn ? lv_obj_get_width(last_btn) : (LV_DPI * 3) / 2; in lv_list_add_btn()
|
D | lv_bar.c | 117 lv_obj_set_size(bar, LV_DPI * 2, LV_DPI / 10); in lv_bar_create()
|
D | lv_btnmatrix.c | 23 #define BTN_EXTRA_CLICK_AREA_MAX (LV_DPI / 4) 111 lv_obj_set_size(btnm, LV_DPI * 2, LV_DPI * 1); in lv_btnmatrix_create()
|
D | lv_spinbox.c | 95 lv_obj_set_width(spinbox, LV_DPI); in lv_spinbox_create()
|
D | lv_calendar.c | 139 lv_obj_set_size(calendar, 5 * LV_DPI / 2, 5 * LV_DPI / 2); in lv_calendar_create()
|
D | lv_chart.c | 134 lv_obj_set_size(chart, LV_DPI * 3, LV_DPI * 2); in lv_chart_create()
|
D | lv_page.c | 25 #define LV_PAGE_SB_MIN_SIZE (LV_DPI / 8) 30 #define LV_PAGE_END_FLASH_SIZE (LV_DPI / 4)
|
D | lv_textarea.c | 36 #define LV_TEXTAREA_DEF_WIDTH (2 * LV_DPI) 37 #define LV_TEXTAREA_DEF_HEIGHT (1 * LV_DPI)
|
D | lv_table.c | 92 ext->col_w[i] = LV_DPI; in lv_table_create()
|
/lvgl-2.7.6/src/lv_hal/ |
D | lv_hal_disp.c | 67 driver->dpi = LV_DPI; in lv_disp_drv_init() 292 if(disp == NULL) return LV_DPI; /*Do not return 0 because it might be a divider*/ in lv_disp_get_dpi()
|
/lvgl-2.7.6/src/ |
D | lv_conf_internal.h | 118 #ifndef LV_DPI 120 # define LV_DPI CONFIG_LV_DPI macro 122 # define LV_DPI 130 /*[px]*/ macro
|
/lvgl-2.7.6/ |
D | lv_conf_template.h | 56 #define LV_DPI 130 /*[px]*/
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_obj.c | 2679 return LV_DPI / 20; in _lv_obj_get_style_int() 2681 return LV_DPI / 8; in _lv_obj_get_style_int()
|