Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/widgets/
Dlv_arc.c47 … 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() local
494 …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() argument
959 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 …]