Lines Matching refs:new_value

218     int32_t new_value;  in lv_anim_path_linear()  local
219 new_value = step * (a->end_value - a->start_value); in lv_anim_path_linear()
220 new_value = new_value >> LV_ANIM_RES_SHIFT; in lv_anim_path_linear()
221 new_value += a->start_value; in lv_anim_path_linear()
223 return new_value; in lv_anim_path_linear()
232 int32_t new_value; in lv_anim_path_ease_in() local
233 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_in()
234 new_value = new_value >> LV_BEZIER_VAL_SHIFT; in lv_anim_path_ease_in()
235 new_value += a->start_value; in lv_anim_path_ease_in()
237 return new_value; in lv_anim_path_ease_in()
246 int32_t new_value; in lv_anim_path_ease_out() local
247 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_out()
248 new_value = new_value >> LV_BEZIER_VAL_SHIFT; in lv_anim_path_ease_out()
249 new_value += a->start_value; in lv_anim_path_ease_out()
251 return new_value; in lv_anim_path_ease_out()
260 int32_t new_value; in lv_anim_path_ease_in_out() local
261 new_value = step * (a->end_value - a->start_value); in lv_anim_path_ease_in_out()
262 new_value = new_value >> LV_BEZIER_VAL_SHIFT; in lv_anim_path_ease_in_out()
263 new_value += a->start_value; in lv_anim_path_ease_in_out()
265 return new_value; in lv_anim_path_ease_in_out()
274 int32_t new_value; in lv_anim_path_overshoot() local
275 new_value = step * (a->end_value - a->start_value); in lv_anim_path_overshoot()
276 new_value = new_value >> LV_BEZIER_VAL_SHIFT; in lv_anim_path_overshoot()
277 new_value += a->start_value; in lv_anim_path_overshoot()
279 return new_value; in lv_anim_path_overshoot()
325 int32_t new_value; in lv_anim_path_bounce() local
326 new_value = step * diff; in lv_anim_path_bounce()
327 new_value = new_value >> LV_BEZIER_VAL_SHIFT; in lv_anim_path_bounce()
328 new_value = a->end_value - new_value; in lv_anim_path_bounce()
330 return new_value; in lv_anim_path_bounce()
385 int32_t new_value; in anim_timer() local
386 new_value = a->path_cb(a); in anim_timer()
388 if(new_value != a->current_value) { in anim_timer()
389 a->current_value = new_value; in anim_timer()
391 if(a->exec_cb) a->exec_cb(a->var, new_value); in anim_timer()