Lines Matching refs:area_p
57 static void refr_area(const lv_area_t * area_p);
59 static lv_obj_t * lv_refr_get_top_obj(const lv_area_t * area_p, lv_obj_t * obj);
205 void _lv_inv_area(lv_disp_t * disp, const lv_area_t * area_p) in _lv_inv_area() argument
217 if(area_p == NULL) { in _lv_inv_area()
231 suc = _lv_area_intersect(&com_area, area_p, &scr_area); in _lv_inv_area()
629 static void refr_area(const lv_area_t * area_p) in refr_area() argument
648 draw_ctx->clip_area = area_p; in refr_area()
656 lv_coord_t w = lv_area_get_width(area_p); in refr_area()
657 lv_coord_t h = lv_area_get_height(area_p); in refr_area()
658 lv_coord_t y2 = area_p->y2 >= lv_disp_get_ver_res(disp_refr) ? in refr_area()
659 lv_disp_get_ver_res(disp_refr) - 1 : area_p->y2; in refr_area()
666 for(row = area_p->y1; row + max_row - 1 <= y2; row += max_row) { in refr_area()
668 sub_area.x1 = area_p->x1; in refr_area()
669 sub_area.x2 = area_p->x2; in refr_area()
684 sub_area.x1 = area_p->x1; in refr_area()
685 sub_area.x2 = area_p->x2; in refr_area()
805 static lv_obj_t * lv_refr_get_top_obj(const lv_area_t * area_p, lv_obj_t * obj) in lv_refr_get_top_obj() argument
809 if(_lv_area_is_in(area_p, &obj->coords, 0) == false) return NULL; in lv_refr_get_top_obj()
816 info.area = area_p; in lv_refr_get_top_obj()
824 found_p = lv_refr_get_top_obj(area_p, child); in lv_refr_get_top_obj()