Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_misc/
Dlv_area.c113 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
116 res_p->x1 = LV_MATH_MAX(a1_p->x1, a2_p->x1); in _lv_area_intersect()
117 res_p->y1 = LV_MATH_MAX(a1_p->y1, a2_p->y1); in _lv_area_intersect()
118 res_p->x2 = LV_MATH_MIN(a1_p->x2, a2_p->x2); in _lv_area_intersect()
119 res_p->y2 = LV_MATH_MIN(a1_p->y2, a2_p->y2); in _lv_area_intersect()
123 if((res_p->x1 > res_p->x2) || (res_p->y1 > res_p->y2)) { in _lv_area_intersect()
Dlv_area.h161 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p);
Dlv_txt.c528 uint32_t * res_p = (uint32_t *)bytes; in lv_txt_unicode_to_utf8() local
529 return *res_p; in lv_txt_unicode_to_utf8()
/lvgl-2.7.6/src/lv_widgets/
Dlv_roller.c475 lv_point_t res_p; in lv_roller_design() local
476 …_lv_txt_get_size(&res_p, lv_label_get_text(label), label_dsc.font, label_dsc.letter_space, label_d… in lv_roller_design()
491 res_p.y -= corr; in lv_roller_design()
493 label_sel_y += (label_y_prop * res_p.y) >> 14; in lv_roller_design()
501 label_sel_area.y2 = label_sel_area.y1 + res_p.y; in lv_roller_design()