Home
last modified time | relevance | path

Searched refs:res_p (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_area.c129 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_intersect() argument
132 res_p->x1 = LV_MAX(a1_p->x1, a2_p->x1); in _lv_area_intersect()
133 res_p->y1 = LV_MAX(a1_p->y1, a2_p->y1); in _lv_area_intersect()
134 res_p->x2 = LV_MIN(a1_p->x2, a2_p->x2); in _lv_area_intersect()
135 res_p->y2 = LV_MIN(a1_p->y2, a2_p->y2); in _lv_area_intersect()
139 if((res_p->x1 > res_p->x2) || (res_p->y1 > res_p->y2)) { in _lv_area_intersect()
153 int8_t _lv_area_diff(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_diff() argument
176 res_p[res_c++] = n; in _lv_area_diff()
186 res_p[res_c++] = n; in _lv_area_diff()
201 res_p[res_c++] = n; in _lv_area_diff()
[all …]
Dlv_area.h178 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p);
187 int8_t _lv_area_diff(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p);
Dlv_txt.c554 uint32_t * res_p = (uint32_t *)bytes; in lv_txt_unicode_to_utf8() local
555 return *res_p; in lv_txt_unicode_to_utf8()
/lvgl-3.7.0/src/widgets/
Dlv_roller.c479 lv_point_t res_p; in draw_main() local
480 …lv_txt_get_size(&res_p, lv_label_get_text(label), label_dsc.font, label_dsc.letter_space, label_ds… in draw_main()
495 res_p.y -= corr; in draw_main()
497 label_sel_y += (label_y_prop * res_p.y) >> 14; in draw_main()
509 label_sel_area.y2 = label_sel_area.y1 + res_p.y; in draw_main()