[TIMOB-11811] Android: Bring animation to parity with iOS capabilities
GitHub Issue | n/a |
---|---|
Type | Epic |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-20T18:32:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.2.0 |
Components | Android |
Labels | insight, module_animation, planning-3.2.0, qe-testadded, rock_solid |
Reporter | Ingo Muschenetz |
Assignee | Bill Dawson |
Created | 2012-11-17T08:46:21.000+0000 |
Updated | 2017-06-27T23:27:53.000+0000 |
Description
The Android animation system has a number of shortcomings compared to iOS, particularly with regards to 3D transforms.
This epic aims to gather these separate tickets as a group so we can tackle these discrepancies.
PR: https://github.com/appcelerator/titanium_mobile/pull/4398
If i may this is not really the way to do it. You dont have to decompose the Matrix. Just compute the Android.Graphics.Matrix, then create a MatrixEvaluator. in its set method you create a MatrixAnimation which just apply the Transformation. I did it in my private branch. Might create a PR if needed. Also using that evaluator correctly handles transformations from one matrix to another. Which your implementation doesnt. To give a little more details, here is my evaluator evaluate method
With a little trick. When you create the Evaluator the evaluator 2DMatrix must be computed using the Matrix decomposition That way you correctly compute the transformation from the current Transform
PR would be great.
Closing ticket as fixed.