{ "id": "111203", "key": "TIMOB-13132", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15597", "description": "2013 Sprint 17", "name": "2013 Sprint 17", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "id": "15599", "description": "2013 Sprint 17 API", "name": "2013 Sprint 17 API", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-19T21:53:04.000+0000", "created": "2013-03-14T15:47:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "animation", "module_animation" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-10-22T00:00:15.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h1. Problem description\r\n\r\nAndroid animation interpolate ease-in-ease-out, but [Documentation says|http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Animation]:\r\n\r\nAndroid Platform Notes: Animations always interpolate linearly between the start state and the end state.\r\n\r\nh1. Steps to reproduce\r\nTest this code.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor : 'red',\r\n width : 100,\r\n height : 100\r\n});\r\n\r\nwin.add(view);\r\nwin.open();\r\n\r\nvar animation = Titanium.UI.createAnimation();\r\nanimation.duration = 30000;\r\nanimation.transform = Ti.UI.create2DMatrix().rotate(180);\r\nview.animate(animation);\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: animation rotate doesn't interpolate linearly", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Ti SDK 3.0.2\r\nAndroid 4.x", "comment": { "comments": [ { "id": "242254", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\n\nWhat do you exactly mean? What are you trying to achieve with the animation, and how does the bug affects your app?\n\nThanks\n", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-14T16:28:07.000+0000", "updated": "2013-03-14T16:28:07.000+0000" }, { "id": "242261", "author": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "body": "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.\n\nBut rotate animation on Android interpolate ease-in-easy-out. \n1) View start rotate start(low speed.) \n2) getting speed.\n3) lose speed.\n4) animation end\n\nI want to implementation *linear* rotate animation.\n\nIs it enough explain? Sorry, I'm not good at English.\n\nThanks.", "updateAuthor": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2013-03-14T16:39:33.000+0000", "updated": "2013-03-14T16:39:33.000+0000" }, { "id": "243167", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks. I moved the bug to TIMOB-13132", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-20T16:10:55.000+0000", "updated": "2013-03-20T16:10:55.000+0000" }, { "id": "266891", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/4577\n\nTest is precisely the code above given by the reporter.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-16T16:32:34.000+0000", "updated": "2013-08-16T16:32:34.000+0000" }, { "id": "276065", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131018154951\nCLI 3.2.0\nTitanium Studio 3.2.0.201310181940\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T23:59:55.000+0000", "updated": "2013-10-21T23:59:55.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }