Lines Matching refs:new_delta

96     int16_t new_delta = arc->indic_angle_end - start;  in lv_arc_set_start_angle()  local
99 if(new_delta < 0) new_delta = 360 + new_delta; in lv_arc_set_start_angle()
101 if(LV_ABS(new_delta - old_delta) > 180) lv_obj_invalidate(obj); in lv_arc_set_start_angle()
102 …else if(new_delta < old_delta) inv_arc_area(obj, arc->indic_angle_start, start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
103 …else if(old_delta < new_delta) inv_arc_area(obj, start, arc->indic_angle_start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
119 int16_t new_delta = end - arc->indic_angle_start; in lv_arc_set_end_angle() local
122 if(new_delta < 0) new_delta = 360 + new_delta; in lv_arc_set_end_angle()
124 if(LV_ABS(new_delta - old_delta) > 180) lv_obj_invalidate(obj); 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()
149 int16_t new_delta = arc->bg_angle_end - start; in lv_arc_set_bg_start_angle() local
152 if(new_delta < 0) new_delta = 360 + new_delta; in lv_arc_set_bg_start_angle()
154 if(LV_ABS(new_delta - old_delta) > 180) lv_obj_invalidate(obj); in lv_arc_set_bg_start_angle()
155 else if(new_delta < old_delta) inv_arc_area(obj, arc->bg_angle_start, start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
156 else if(old_delta < new_delta) inv_arc_area(obj, start, arc->bg_angle_start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
171 int16_t new_delta = end - arc->bg_angle_start; in lv_arc_set_bg_end_angle() local
174 if(new_delta < 0) new_delta = 360 + new_delta; in lv_arc_set_bg_end_angle()
176 if(LV_ABS(new_delta - old_delta) > 180) lv_obj_invalidate(obj); 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()