Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_arc.c926 uint32_t smaller_angle = 0; in lv_arc_angle_within_bg_bounds() local
932 smaller_angle = arc->bg_angle_start; in lv_arc_angle_within_bg_bounds()
936 smaller_angle = 0; in lv_arc_angle_within_bg_bounds()
940 if((smaller_angle <= angle) && (angle <= bigger_angle)) { in lv_arc_angle_within_bg_bounds()
942 if(((bigger_angle - smaller_angle) / 2U) >= angle) { in lv_arc_angle_within_bg_bounds()
955 else if(((smaller_angle - tolerance_deg) <= 0U) && in lv_arc_angle_within_bg_bounds()
956 (360U - (bigger_angle + (smaller_angle - tolerance_deg)))) { in lv_arc_angle_within_bg_bounds()
973 if((smaller_angle >= tolerance_deg) in lv_arc_angle_within_bg_bounds()
982 else if((smaller_angle < tolerance_deg) in lv_arc_angle_within_bg_bounds()
984 && (((360U - (tolerance_deg - smaller_angle)) <= angle)) && (angle <= 360U)) { in lv_arc_angle_within_bg_bounds()
[all …]