Home
last modified time | relevance | path

Searched refs:LV_DPI (Results 1 – 23 of 23) sorted by relevance

/lvgl-2.7.6/src/lv_themes/
Dlv_theme_mono.c105 #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 …]
Dlv_theme_template.c74 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/
Dlv_led.c21 #define LV_LED_WIDTH_DEF (LV_DPI / 3)
22 #define LV_LED_HEIGHT_DEF (LV_DPI / 3)
Dlv_btn.c89 lv_obj_set_size(btn, LV_DPI, LV_DPI / 3); in lv_btn_create()
Dlv_spinner.c98 lv_obj_set_size(spinner, LV_DPI, LV_DPI); in lv_spinner_create()
Dlv_line.c82 lv_obj_set_size(line, LV_DPI, in lv_line_create()
83LV_DPI); /*Auto size is enables, but set default size until no points are added*/ in lv_line_create()
Dlv_cpicker.c138 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()
Dlv_arc.c98 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()
Dlv_slider.c94 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()
Dlv_linemeter.c87 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()
Dlv_list.c98 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()
Dlv_bar.c117 lv_obj_set_size(bar, LV_DPI * 2, LV_DPI / 10); in lv_bar_create()
Dlv_btnmatrix.c23 #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()
Dlv_spinbox.c95 lv_obj_set_width(spinbox, LV_DPI); in lv_spinbox_create()
Dlv_calendar.c139 lv_obj_set_size(calendar, 5 * LV_DPI / 2, 5 * LV_DPI / 2); in lv_calendar_create()
Dlv_chart.c134 lv_obj_set_size(chart, LV_DPI * 3, LV_DPI * 2); in lv_chart_create()
Dlv_page.c25 #define LV_PAGE_SB_MIN_SIZE (LV_DPI / 8)
30 #define LV_PAGE_END_FLASH_SIZE (LV_DPI / 4)
Dlv_textarea.c36 #define LV_TEXTAREA_DEF_WIDTH (2 * LV_DPI)
37 #define LV_TEXTAREA_DEF_HEIGHT (1 * LV_DPI)
Dlv_table.c92 ext->col_w[i] = LV_DPI; in lv_table_create()
/lvgl-2.7.6/src/lv_hal/
Dlv_hal_disp.c67 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/
Dlv_conf_internal.h118 #ifndef LV_DPI
120 # define LV_DPI CONFIG_LV_DPI macro
122 # define LV_DPI 130 /*[px]*/ macro
/lvgl-2.7.6/
Dlv_conf_template.h56 #define LV_DPI 130 /*[px]*/
/lvgl-2.7.6/src/lv_core/
Dlv_obj.c2679 return LV_DPI / 20; in _lv_obj_get_style_int()
2681 return LV_DPI / 8; in _lv_obj_get_style_int()