GitHub user YorkShen opened a pull request: https://github.com/apache/incubator-weex/pull/124
* [Android] refactor animation * Refactor animation using RenderAction and DomAction, as some public static method in WXAnimationModule has been removed, which may be a compatibility issues for some deeply involved android developer. * Make `transformOrigin` reserve its last time state. Before this commit, transformOrigin is stateless during a sequence of animation, e.g. tranformOrigin would reset to `50%, 50%` every time if it was not given. This commit respect `transformOrigin` last time state unless it is specified this time. Developers who depends on the wrong implmentation may run into a problem. You can merge this pull request into a Git repository by running: $ git pull https://github.com/YorkShen/incubator-weex android_refactor_animation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/124.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #124 ---- commit dfb4a4ecff1f694390ff35fdef06cb50bef2e7b2 Author: YorkShen <shenyua...@gmail.com> Date: 2017-03-17T01:55:50Z * [android] Refactor Animation using RenderAction and DomAction. commit 81f17f7a6fb995ea4b92efb46bc446b1fdd089f5 Author: YorkShen <shenyua...@gmail.com> Date: 2017-03-17T02:47:47Z * [android] Move animation from static methods to AnimationModule commit 2240fb7f55a00991b3ac3975d3db58ef5b58b021 Author: YorkShen <shenyua...@gmail.com> Date: 2017-03-17T03:01:28Z * [Android] Fix stateless pivot, transform-origin will have last time's state. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---