Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_arc.c47 … lv_arc_angle_within_bg_bounds(lv_obj_t * obj, const uint32_t angle, const uint32_t tolerance_deg);
488 const uint32_t tolerance_deg = (360U * LV_DPX(50U)) / circumference; in lv_arc_event() local
491 …ol is_angle_within_bg_bounds = lv_arc_angle_within_bg_bounds(obj, (uint32_t) angle, tolerance_deg); in lv_arc_event()
921 …l lv_arc_angle_within_bg_bounds(lv_obj_t * obj, const uint32_t angle, const uint32_t tolerance_deg) in lv_arc_angle_within_bg_bounds() argument
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()
975 && ((angle >= (360U - tolerance_deg)) && (angle <= 360U))) { 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 …]