Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_arc.c498 int16_t delta_angle = angle - last_angle_rel; in lv_arc_event() local
503 if(LV_ABS(delta_angle) > 280) { in lv_arc_event()
517 && ((CLICK_OUTSIDE_BG_ANGLES == arc->in_out) && (LV_ABS(delta_angle) > 280))) { in lv_arc_event()
527 delta_angle = angle - last_angle_rel; in lv_arc_event()
533 if(delta_angle > delta_angle_max) { in lv_arc_event()
534 delta_angle = delta_angle_max; in lv_arc_event()
536 else if(delta_angle < -delta_angle_max) { in lv_arc_event()
537 delta_angle = -delta_angle_max; in lv_arc_event()
541 angle = last_angle_rel + delta_angle; /*Apply the limited angle change*/ in lv_arc_event()