{ "id": "165343", "key": "TIMOB-24321", "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": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-09-24T14:06:27.000+0000", "created": "2017-01-17T21:28:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "community", "notable" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-09-25T15:18:46.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": "After TIMOB-23423, we need to add pivotX and pivotY\r\n\r\nhttps://developer.android.com/reference/android/view/View.html#setPivotX(float)\r\nhttps://developer.android.com/reference/android/view/View.html#setPivotY(float)", "attachment": [], "flagged": false, "summary": "Android: Add pivotX and pivotY to view", "creator": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "subtasks": [], "reporter": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "environment": null, "comment": { "comments": [ { "id": "404742", "author": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "body": "pr: https://github.com/appcelerator/titanium_mobile/pull/8759", "updateAuthor": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2017-01-17T21:32:17.000+0000", "updated": "2017-01-17T21:32:17.000+0000" }, { "id": "441925", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "new PR: https://github.com/appcelerator/titanium_mobile/pull/10336\r\nusing anchorPoint for party.", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-23T13:44:58.000+0000", "updated": "2018-09-23T13:44:58.000+0000" }, { "id": "441969", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Test-Case:\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: \"white\"\r\n});\r\nvar view = Ti.UI.createView({\r\n\twidth: 150,\r\n\theight: 300,\r\n\tbackgroundColor: \"red\",\r\n\tborderRadius: 10,\r\n\ttouchEnabled: false,\r\n\tanchorPoint: {\r\n\t\tx: 0,\r\n\t\ty: 0\r\n\t}\r\n})\r\n\r\nvar rot = 0;\r\n\r\nsetInterval(function() {\r\n\tview.rotation = (rot += 1);\r\n}, 100);\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: \"set center\"\r\n})\r\n\r\nbtn.addEventListener(\"click\", function() {\r\n\tview.anchorPoint = {\r\n\t\tx: 0.5,\r\n\t\ty: 0.5\r\n\t}\r\n})\r\n\r\nwin.add(btn);\r\nwin.add(view);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-24T14:06:46.000+0000", "updated": "2018-09-24T14:06:46.000+0000" }, { "id": "442034", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Verified fix in SDK version {{7.5.0.v20180920040518}}. Able to see pivotX and pivotY set to views and being applied.\r\n\r\n*FR Passed (Test Steps)*\r\n\r\n# Created a new titanium application\r\n# Copied the above code above in the comments and added it into the {{app.js}}\r\n# Ran the program\r\n# Able to see the view set around the given x and y parameters \r\n\r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.1.0.201808080937\r\niPhone 6 (12.0)\r\nAPPC CLI: 7.0.7-master.1\r\nOperating System Name: Mac OS Mojave\r\nOperating System Version: 10.14\r\nNode.js Version: 8.9.1\r\nXcode 10.0\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-25T15:18:39.000+0000", "updated": "2018-09-25T15:18:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }