react-native/Libraries/NativeAnimation
Janic Duplessis df05311777 Add transform support for native animated on Android
Summary:
This adds support for the `transform` animated node. This brings feature parity with the iOS implementation and allows running the NativeAnimated UIExplorer example that was created with the iOS implementation on Android. This is based on some work by kmagiera in the exponent RN fork.

This also adds support for mixing static values with animated ones in the same transform as well which is not supported on iOS at the moment. It is also implemented in a way that rebuilds the transform matrix the same way as we build it in JS so it will be easy to remove some of the current limitations like forcing the transforms order and only supporting one of each type.

**Test plan (required)**

Tested with the NativeAnimated example on Android and iOS. Also tested mixing in static values in a transform (`[{ rotate: '45deg' }, { translateX: animatedValue }]`).
Closes https://github.com/facebook/react-native/pull/8839

Differential Revision: D3682143

fbshipit-source-id: 5e6fd4b0b8be6a76053f24a36d1785771690a6f8
2016-08-07 00:58:36 -07:00
..
Nodes Add transform support for native animated on Android 2016-08-07 00:58:36 -07:00
RCTAnimation.xcodeproj Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimationUtils.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimationUtils.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTNativeAnimatedModule.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTNativeAnimatedModule.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTViewPropertyMapper.h Maintain transform order 2016-08-02 14:28:29 -07:00
RCTViewPropertyMapper.m Maintain transform order 2016-08-02 14:28:29 -07:00