Lines Matching refs:end
112 void lv_arc_set_end_angle(lv_obj_t * obj, uint16_t end) in lv_arc_set_end_angle() argument
116 if(end > 360) end -= 360; in lv_arc_set_end_angle()
119 int16_t new_delta = end - arc->indic_angle_start; in lv_arc_set_end_angle()
125 else if(new_delta < old_delta) inv_arc_area(obj, end, arc->indic_angle_end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
126 else if(old_delta < new_delta) inv_arc_area(obj, arc->indic_angle_end, end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
130 arc->indic_angle_end = end; in lv_arc_set_end_angle()
135 void lv_arc_set_angles(lv_obj_t * obj, uint16_t start, uint16_t end) in lv_arc_set_angles() argument
137 lv_arc_set_end_angle(obj, end); in lv_arc_set_angles()
163 void lv_arc_set_bg_end_angle(lv_obj_t * obj, uint16_t end) in lv_arc_set_bg_end_angle() argument
168 if(end > 360) end -= 360; in lv_arc_set_bg_end_angle()
171 int16_t new_delta = end - arc->bg_angle_start; in lv_arc_set_bg_end_angle()
177 else if(new_delta < old_delta) inv_arc_area(obj, end, arc->bg_angle_end, LV_PART_MAIN); in lv_arc_set_bg_end_angle()
178 else if(old_delta < new_delta) inv_arc_area(obj, arc->bg_angle_end, end, LV_PART_MAIN); in lv_arc_set_bg_end_angle()
180 arc->bg_angle_end = end; in lv_arc_set_bg_end_angle()
185 void lv_arc_set_bg_angles(lv_obj_t * obj, uint16_t start, uint16_t end) in lv_arc_set_bg_angles() argument
187 lv_arc_set_bg_end_angle(obj, end); in lv_arc_set_bg_angles()