Problem description
Android animation interpolate ease-in-ease-out, but [Documentation says](
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Animation):
Android Platform Notes: Animations always interpolate linearly between the start state and the end state.
Steps to reproduce
Test this code.
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
var view = Ti.UI.createView({
backgroundColor : 'red',
width : 100,
height : 100
});
win.add(view);
win.open();
var animation = Titanium.UI.createAnimation();
animation.duration = 30000;
animation.transform = Ti.UI.create2DMatrix().rotate(180);
view.animate(animation);
Hello, What do you exactly mean? What are you trying to achieve with the animation, and how does the bug affects your app? Thanks
According to [wiki](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Animation), Rotate animation on Android should interpolate linearly.View should rotate same speed. But rotate animation on Android interpolate ease-in-easy-out. 1) View start rotate start(low speed.) 2) getting speed. 3) lose speed. 4) animation end I want to implementation *linear* rotate animation. Is it enough explain? Sorry, I'm not good at English. Thanks.
Thanks. I moved the bug to TIMOB-13132
PR ready: https://github.com/appcelerator/titanium_mobile/pull/4577 Test is precisely the code above given by the reporter.
Verified fixed. TiSDK 3.2.0.v20131018154951 CLI 3.2.0 Titanium Studio 3.2.0.201310181940 Closing.