{ "id": "90630", "key": "TIMOB-8814", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "91898", "key": "TIMOB-9142", "fields": { "summary": "BlackBerry: Implement BB animations", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15115", "description": "2013 Sprint 10 BB", "name": "2013 Sprint 10 BB", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T20:45:57.000+0000", "created": "2012-04-20T09:51:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.3.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-08T17:45: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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "The Animation object defines an animation that can be applied to a view.\r\nAn animation object describes the properties of an animation. At its most basic, an animation object represents a single-phase animation with an end state and a duration.\r\n\r\nThis is actually an abstract idea that doesn't directly map to iOS, but instead represents a set of properties, the values to change them to, and the duration over which these values should change.\r\n\r\nh3. Acceptance Test\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title : 'Window',\r\n backgroundColor : '#28292c',\r\n barColor : '#28292c'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n top: 10,\r\n left: 10,\r\n width: 100,\r\n height: 100,\r\n backgroundColor: 'red'\r\n});\r\n\r\nvar btn1 = Ti.UI.createButton({\r\n title: 'left 10, top: 10, opacity: 0.3',\r\n bottom: 60\r\n});\r\n\r\nvar btn2 = Ti.UI.createButton({\r\n title: 'left: 200, top: 100, duration: 2000, opacity: 1',\r\n bottom: 0,\r\n});\r\n\r\nwin.add(btn1);\r\nwin.add(btn2);\r\nwin.add(view);\r\n\r\nbtn1.addEventListener('click', function(){\r\n var animation = Ti.UI.createAnimation({\r\n left: 10,\r\n top: 10,\r\n opacity: 0.3,\r\n duration: 1000\r\n });\r\n view.animate(animation);\r\n});\r\n\r\nbtn2.addEventListener('click', function(){\r\n view.animate({\r\n left: 200,\r\n top: 100,\r\n duration: 2000,\r\n opacity: 1\r\n }, function(e){\r\n alert('end');\r\n Ti.API.info(this);\r\n Ti.API.info(JSON.stringify(this));\r\n });\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Implement UI.Animation", "creator": { "name": "fboisvert", "key": "fboisvert", "displayName": "Francois Boisvert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fboisvert", "key": "fboisvert", "displayName": "Francois Boisvert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "195914", "author": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "body": "sz: Cascades has specific animation applied to each object as well. Check ImplicitAnimtationController …", "updateAuthor": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-24T07:29:49.000+0000", "updated": "2012-05-24T07:29:49.000+0000" }, { "id": "250341", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull Request for basic animations:\nhttps://github.com/appcelerator/titanium_mobile_blackberry/pull/35", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-06T17:49:38.000+0000", "updated": "2013-05-06T17:49:38.000+0000" }, { "id": "251178", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Do not resolve until pull request is merged.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T23:18:26.000+0000", "updated": "2013-05-09T23:18:26.000+0000" }, { "id": "306167", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code. App crashes when tap on 'left 10, top:10, opacity: 0.3' button.\r\nAppcelerator Studio, build: 3.3.0.201405161313 \r\nTitanium SDK, build: 3.3.0.v20140521174951 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-alpha2 \r\nnpm@1.3.2 \r\ntitanium@3.3.0-alpha5 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\n\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-22T23:21:17.000+0000", "updated": "2014-05-22T23:21:17.000+0000" }, { "id": "306313", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR for master: https://github.com/appcelerator/titanium_mobile_blackberry/pull/242\r\nPR for 3.3.X:https://github.com/appcelerator/titanium_mobile_blackberry/pull/243", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T20:45:05.000+0000", "updated": "2014-05-23T20:57:14.000+0000" }, { "id": "312862", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed, no crash.\r\nMac osx 10.9.4 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201407031747\r\nTitanium SDK, build: 3.3.0.v20140707105712\r\nNode.JS Version: v0.10.28 \r\nNPM Version: 1.4.9 \r\nacs@1.0.15 \r\nalloy@1.4.0-rc4\r\nnpm@1.4.9 \r\ntitanium@3.3.0-rc4 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-08T17:45:01.000+0000", "updated": "2014-07-08T17:45:01.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }