{ "id": "106162", "key": "TIMOB-11993", "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": "15400", "description": "2013 Sprint 08 API", "name": "2013 Sprint 08 API", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "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-04-18T21:37:38.000+0000", "created": "2012-12-07T17:21:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "exalture", "insight", "module_animation", "parity", "qe-testadded" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-06-19T12:43:31.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": "h6.Problem\r\nIt looks like our \"Simple Animation Applied to a View\" doesn't play nice in Android.\r\n\r\nh6.Tested on\r\nRazr 2.3.5\r\niOS 6 simulator \r\n\r\nh6.Docs\r\nhttp://docs.appcelerator.com/titanium/2.1/#!/api/Titanium.UI.Animation\r\n\r\nh6.Simple sample\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#FFF',\r\n});\r\n\r\nvar view = Titanium.UI.createView({\r\n\tbackgroundColor : 'red'\r\n});\r\n\r\nvar animation = Titanium.UI.createAnimation();\r\nanimation.backgroundColor = 'black';\r\nanimation.duration = 3000;\r\n\r\nvar animationHandler = function() {\r\n\tanimation.removeEventListener('complete', animationHandler);\r\n\tanimation.backgroundColor = 'orange';\r\n\tview.animate(animation);\r\n};\r\n\r\nanimation.addEventListener('complete', animationHandler);\r\nview.animate(animation);\r\n\r\nwin.add(view);\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Simple Animation Applied to a View doesn't play nice", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.4.GA & 3.x branch\r\nOS 2.3 & 4.0", "comment": { "comments": [ { "id": "242256", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem reproduces with release 3.0.2 and master release 3.1.0\n\ntested on\n\nTitanium Studio, build: 3.0.2.201302191606\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \nDevice: Samsung galaxy s duos Android version: 4.0.4\nAndroid Emulator: Android SDK version: 2.2\niOS iPhone Simulator: iOS SDK version: 6.0\n\nIt works fine on IOS iphone simulator", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T16:36:48.000+0000", "updated": "2013-03-14T16:36:48.000+0000" }, { "id": "248168", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Added backgroundcolor propertyaccessor annotation\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4183", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-04-18T17:04:45.000+0000", "updated": "2013-04-18T17:04:45.000+0000" }, { "id": "248236", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After the fix, the background color animates but does not work the same as iOS. The color changes from red to black smoothly but at the end of the first animation, the background color goes back to red. And then it changes to orange. This issue has been already filed in TIMOB-6852 and TIMOB-12141. So resolve this ticket as Fixed.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-18T21:36:59.000+0000", "updated": "2013-04-18T22:18:46.000+0000" }, { "id": "275740", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131017152001 \nCLI 3.2.0\nTitanium Studio 3.2.0.201310152326\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T21:35:40.000+0000", "updated": "2013-10-18T21:35:40.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }