efl_canvas_object_animation: support duration 0
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 6 Dec 2019 16:27:06 +0000 (16:27 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 8 Dec 2019 21:58:46 +0000 (06:58 +0900)
commit6123c01e7d8902ab2dc95309050503a6f91e1920
tree3edebaf871b959f872a471f4e56dcacd47a30fc6
parent673c3875d421f3c5d621dc4c73dd625068d75cdc
efl_canvas_object_animation: support duration 0

The duration of animation means how long the animation is executed.
Therefore, if duration is 0, then the final state of animation should be
applied to the target object immediately.

In this case, if final_state_keep is true, then the final state of
animation is preserved. Otherwise, the final state of animation is not
preserved.

ref T8436, T8513

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10812
src/lib/evas/canvas/efl_canvas_animation.c
src/lib/evas/canvas/efl_canvas_object_animation.c
src/tests/evas/efl_canvas_animation.c