Lines Matching refs:max
78 scale->max = 100; in lv_meter_add_scale()
108 void lv_meter_set_scale_range(lv_obj_t * obj, lv_meter_scale_t * scale, int32_t min, int32_t max, u… in lv_meter_set_scale_range() argument
112 scale->max = max; in lv_meter_set_scale_range()
358 int32_t start_angle = lv_map(indic->start_value, scale->min, scale->max, scale->rotation, in draw_arcs()
360 int32_t end_angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, in draw_arcs()
447 int32_t value_of_line = lv_map(i, 0, scale->tick_cnt - 1, scale->min, scale->max); in draw_ticks_and_labels()
471 … ratio = lv_map(value_of_line, scale->min, scale->max, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
582 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles()
602 …int32_t angle = lv_map(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation … in draw_needles()
644 …int32_t start_angle = lv_map(old_value, scale->min, scale->max, scale->rotation, scale->angle_rang… in inv_arc()
645 …int32_t end_angle = lv_map(new_value, scale->min, scale->max, scale->rotation, scale->angle_range … in inv_arc()
666 …int32_t angle = lv_map(value, scale->min, scale->max, scale->rotation, scale->rotation + scale->an… in inv_line()
681 …int32_t angle = lv_map(value, scale->min, scale->max, scale->rotation, scale->rotation + scale->an… in inv_line()