{ "id": "128448", "key": "TIMOB-16772", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-03-28T21:13:01.000+0000", "created": "2014-03-28T11:27:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.2.3", "triage" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "36285", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "122749", "key": "TIMOB-15776", "fields": { "summary": "Android: Animation: Drag animation does not work on the view", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:42:16.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": "Not a regression since issue occurs in 3.2.2.GA and 3.2.1.GA also\r\nSteps to reproduce:\r\n1. Copy paste the below given code in app.js and run the app on android device.\r\n2. Drag Square on screen\r\n\r\nExpected Result:\r\nDrag animation should work fine.\r\n\r\nActual Result:\r\nNo drag animation observed.\r\nDrag Animation working fine on ios.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\"\r\n});\r\nvar annoViewPosition;\r\nvar view = Ti.UI.createView({\r\n borderWidth : 1,\r\n borderColor : \"#000000\",\r\n left : 0,\r\n top : 0,\r\n height: 100,\r\n width: 100\r\n});\r\nwin.add(view);\r\n \r\nvar lbltop;\r\nvar lblleft;\r\nview.addEventListener('touchstart', function(e) {\r\n annoLblPosition = {\r\n top : e.source.top,\r\n left : e.source.left\r\n };\r\n lbltop = e.y;\r\n lblleft = e.x;\r\n});\r\n \r\nview.addEventListener('touchmove', function(e) {\r\n annoLblPosition.top += e.y - lbltop;\r\n annoLblPosition.left += e.x - lblleft;\r\n e.source.animate({\r\n top : annoLblPosition.top,\r\n left : annoLblPosition.left,\r\n duration : 5,\r\n });\r\n});\r\n \r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Drag animation not working", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc Studio: 3.2.3.201403271839\r\nSdk:3.2.3.v20140327115429\r\nalloy:1.3.1\r\ntitanium:3.2.3-alpha2\r\ntitanium-code-processor:1.1.1-alpha\r\nOsx: Maverick(10.9.2)\r\nDevice:Nexus7(v4.4)", "comment": { "comments": [ { "id": "299214", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T21:12:13.000+0000", "updated": "2014-03-28T21:12:13.000+0000" }, { "id": "414137", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:42:16.000+0000", "updated": "2017-03-20T22:42:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }