{ "id": "122828", "key": "TIMOB-15803", "fields": { "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": [], "resolution": null, "resolutiondate": null, "created": "2013-11-23T00:09:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "3DMatrix", "android", "animation", "matrix", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-29T21:21:54.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nOn Android, we should add {{Matrix3D}} support like iOS.\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Matrix3D\r\n\r\n*Use Case:*\r\nApp devs would like to implement \"flip\" animations in a cross-platform manner.\r\n\r\n*Work-Around:*\r\nThe Titanium {{View}} type has the following Android-only properties that allow you to manipulate the view in 3D. Unfortunately, you can use these via our animation APIs.\r\n* [rotationX|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-rotationX]\r\n* [rotationY|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-rotationY]\r\n* [translationZ|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-translationZ]\r\n\r\n*Recommended Solution:*\r\nAndroid already has a 3D matrix Java class that we can leverage.\r\nhttps://developer.android.com/reference/android/graphics/Matrix\r\n\r\nWe can apply 2D and 3D matix animations by deriving our own {{Animation}} Java class and apply the matrix transformations via its {{applyTransformation()}} method.\r\nhttps://developer.android.com/reference/android/view/animation/Animation\r\n\r\nExamples that are similar to what we want (but not exactly) are...\r\nhttps://github.com/Miserlou/Android-SDK-Samples/blob/master/ApiDemos/src/com/example/android/apis/animation/Rotate3dAnimation.java\r\nhttps://stackoverflow.com/a/57388468\r\n\r\n\r\nWe might want to consider refactoring our {{Ti2DMatrix}} Java class to use Google's {{Matrix}} class as well. This would require a major refactoring of our animation code.\r\n", "attachment": [], "flagged": false, "summary": "Android: Add Matrix3D support", "creator": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "subtasks": [], "reporter": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }