Searched refs:tolerance_deg (Results 1 – 1 of 1) sorted by relevance
47 … lv_arc_angle_within_bg_bounds(lv_obj_t * obj, const uint32_t angle, const uint32_t tolerance_deg);491 const uint32_t tolerance_deg = (360U * LV_DPX(50U)) / circumference; in lv_arc_event() local494 …ol is_angle_within_bg_bounds = lv_arc_angle_within_bg_bounds(obj, (uint32_t) angle, tolerance_deg); in lv_arc_event()925 …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() argument959 else if(((smaller_angle - tolerance_deg) <= 0U) && in lv_arc_angle_within_bg_bounds()960 (360U - (bigger_angle + (smaller_angle - tolerance_deg)))) { in lv_arc_angle_within_bg_bounds()977 if((smaller_angle >= tolerance_deg) in lv_arc_angle_within_bg_bounds()979 && ((angle >= (360U - tolerance_deg)) && (angle <= 360U))) { in lv_arc_angle_within_bg_bounds()986 else if((smaller_angle < tolerance_deg) in lv_arc_angle_within_bg_bounds()988 && (((360U - (tolerance_deg - smaller_angle)) <= angle)) && (angle <= 360U)) { in lv_arc_angle_within_bg_bounds()[all …]