Home
last modified time | relevance | path

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

/lvgl-latest/src/misc/
Dlv_anim.c68 a->start_value = 0; in lv_anim_init()
101 new_anim->start_value += v_ofs; in lv_anim_start()
105 … if(new_anim->exec_cb && new_anim->var) new_anim->exec_cb(new_anim->var, new_anim->start_value); in lv_anim_start()
219 new_value = step * (a->end_value - a->start_value); in lv_anim_path_linear()
221 new_value += a->start_value; in lv_anim_path_linear()
233 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_in()
235 new_value += a->start_value; in lv_anim_path_ease_in()
247 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_out()
249 new_value += a->start_value; in lv_anim_path_ease_out()
261 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_in_out()
[all …]
Dlv_anim_timeline.c103 int32_t temp = a.start_value; in lv_anim_timeline_start()
104 a.start_value = a.end_value; in lv_anim_timeline_start()
152 value = a->start_value; in lv_anim_timeline_set_progress()
Dlv_anim.h84 int32_t start_value; /**< Start value*/ member
171 a->start_value = start; in lv_anim_set_values()
/lvgl-latest/src/widgets/
Dlv_bar.h52 int32_t start_value; /**< Start value of the bar*/ member
98 void lv_bar_set_start_value(lv_obj_t * obj, int32_t start_value, lv_anim_enable_t anim);
Dlv_bar.c98 …value = value < bar->start_value ? bar->start_value : value; /*Can't be smaller than the left valu… in lv_bar_set_value()
117 if(bar->start_value == value) return; in lv_bar_set_start_value()
118 lv_bar_set_value_with_anim(obj, value, &bar->start_value, &bar->start_value_anim, anim); in lv_bar_set_start_value()
133 bar->start_value = min; in lv_bar_set_range()
153 bar->start_value = bar->min_value; in lv_bar_set_mode()
178 return LV_BAR_GET_ANIM_VALUE(bar->start_value, bar->start_value_anim); in lv_bar_get_start_value()
216 bar->start_value = 0; in lv_bar_constructor()
265 bar->start_value == bar->min_value) sym = true; in draw_indic()
322 …anim_start_value_x = (int32_t)((int32_t)anim_length * (bar->start_value - bar->min_value)) / range; in draw_indic()
566 bar->start_value = var->anim_end; in lv_bar_anim_ready()
Dlv_slider.c149 slider->value_to_set = &slider->bar.start_value; in lv_slider_event()
162 slider->value_to_set = &slider->bar.start_value; in lv_slider_event()
172 slider->value_to_set = &slider->bar.start_value; in lv_slider_event()
185 slider->value_to_set = &slider->bar.start_value; in lv_slider_event()
233 if(slider->value_to_set == &slider->bar.start_value) { in lv_slider_event()
237 real_min_value = slider->bar.start_value; in lv_slider_event()
242 if(slider->value_to_set == &slider->bar.start_value) { in lv_slider_event()
Dlv_label.c969 tmp = a.start_value; in lv_label_refr_text()
970 a.start_value = a.end_value; in lv_label_refr_text()
975 lv_anim_set_time(&a, lv_anim_speed_to_time(anim_speed, a.start_value, a.end_value)); in lv_label_refr_text()
1004 tmp = a.start_value; in lv_label_refr_text()
1005 a.start_value = a.end_value; in lv_label_refr_text()
1010 lv_anim_set_time(&a, lv_anim_speed_to_time(anim_speed, a.start_value, a.end_value)); in lv_label_refr_text()
1053 lv_anim_set_time(&a, lv_anim_speed_to_time(anim_speed, a.start_value, a.end_value)); in lv_label_refr_text()
1080 lv_anim_set_time(&a, lv_anim_speed_to_time(anim_speed, a.start_value, a.end_value)); in lv_label_refr_text()
/lvgl-latest/src/core/
Dlv_obj_style.c26 lv_style_value_t start_value; member
357 tr->start_value = v1; in _lv_obj_style_create_transition()
766 if(v < 255) value_final.num = tr->start_value.num; in trans_anim_cb()
771 if(v < 255) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
775 if(tr->start_value.ptr == NULL) value_final.ptr = tr->end_value.ptr; in trans_anim_cb()
776 else if(tr->end_value.ptr == NULL) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
777 else if(v < 128) value_final.ptr = tr->start_value.ptr; in trans_anim_cb()
787 if(v <= 0) value_final.color = tr->start_value.color; in trans_anim_cb()
789 … else value_final.color = lv_color_mix(tr->end_value.color, tr->start_value.color, v); in trans_anim_cb()
793 if(v == 0) value_final.num = tr->start_value.num; in trans_anim_cb()
[all …]
/lvgl-latest/examples/anim/
Dlv_example_anim_3.c70 new_value = step * (a->end_value - a->start_value); in anim_path_bezier3_cb()
72 new_value += a->start_value; in anim_path_bezier3_cb()
Dlv_example_anim_3.py118 new_value = step * (a.end_value - a.start_value)
120 new_value += a.start_value
/lvgl-latest/src/extra/widgets/meter/
Dlv_meter.c209 int32_t old_start = indic->start_value; in lv_meter_set_indicator_value()
211 indic->start_value = value; in lv_meter_set_indicator_value()
230 int32_t old_value = indic->start_value; in lv_meter_set_indicator_start_value()
231 indic->start_value = value; in lv_meter_set_indicator_start_value()
358 int32_t start_angle = lv_map(indic->start_value, scale->min, scale->max, scale->rotation, in draw_arcs()
459 if(value_of_line >= indic->start_value && value_of_line <= indic->end_value) { in draw_ticks_and_labels()
468 … ratio = lv_map(value_of_line, indic->start_value, indic->end_value, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
Dlv_meter.h65 int32_t start_value; member