{ "id": "85851", "key": "TIMOB-7517", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:28:59.000+0000", "created": "2012-02-02T09:56:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_animation", "parity", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "15166", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "81726", "key": "TIDOC-386", "fields": { "summary": "APIDoc: transform property blocks the animation while declared inside the method Ti.UI.createAnimation", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "18154", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85595", "key": "TIMOB-7441", "fields": { "summary": "Android: Ti.UI.createAnimation ignores a transform property in the creation dict.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-29T14:24:29.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": "h4. Problem description\r\nAnimation on views are not working in Android (Tested on iOS, working flawless). \r\n\r\nh4. Expected behavior \r\nThe animation happening.\r\n\r\nh4. Actual behavior\r\n1.8.1: The program just ignores the animation. It just sits there.\r\n\r\n1.9CI: It crashes (Related to TIMOB-7416).\r\n\r\nh4. Test Case\r\n\r\n{code}\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n \r\n backgroundColor:'#000'\r\n});\r\nvar box = Ti.UI.createView({\r\n backgroundColor : 'red',\r\n height : '150',\r\n width : '100'\r\n});\r\n \r\n box.addEventListener('click', function() {\r\n //alert('Clicked');\r\n var matrix = Ti.UI.create2DMatrix()\r\n matrix = matrix.rotate(90);\r\n matrix = matrix.scale(2, 2);\r\n var a = Ti.UI.createAnimation({\r\n transform : matrix,\r\n duration : 2000,\r\n autoreverse : true,\r\n repeat : 3\r\n });\r\n box.animate(a);\r\n}); \r\n \r\nwin1.add(box);\r\n \r\nwin1.open();\r\n{code}\r\n\r\nh4. Community Discussion\r\nhttp://developer.appcelerator.com/question/131556/animation-in-andriod-app-not-working", "attachment": [], "flagged": false, "summary": "Android: Simple animation is not working in Android", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 1.8.1, 1.9CI\r\nJavascript Engine: Rhino / V8 \r\nPlatform & version: Android 2.2 \r\nDevice Details: Android emulator \r\nHost Operating System: OSX Lion\r\nTitanium Studio version: 1.0.8", "comment": { "comments": [ { "id": "182260", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120207124634 on Droid 3 (2.3.4), Emulator 2.2 and Simulator 5.0", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-07T13:52:04.000+0000", "updated": "2012-02-07T13:52:04.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }