react-native/Libraries/NativeAnimation/Nodes
Joel Arvidsson cc816fbd82 Harmonize native animation callback args with JS
Summary:
`Animated.parallel` among other functions expects the `start(callback)` function to be invoked with an `endState` object. Currently natively driven animations call the handler with `null`, this PR changes that to `{ finished: true }`.

**Test plan**

This should not throw any errors:
```js
Animated.parallel([
  Animated.timing(
    new Animated.Value(0),
    {
      toValue: 1,
      useNativeDriver: true
    }
  ),
  Animated.timing(
    new Animated.Value(0),
    {
      toValue: 1,
      useNativeDriver: true
    }
  )
]).start();
```
Closes https://github.com/facebook/react-native/pull/8567

Differential Revision: D3517291

Pulled By: javache

fbshipit-source-id: 0056a5b4261546b061451c0b1b249718739086bc
2016-07-05 11:13:23 -07:00
..
RCTAdditionAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAdditionAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimationDriverNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTAnimationDriverNode.m Harmonize native animation callback args with JS 2016-07-05 11:13:23 -07:00
RCTInterpolationAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTInterpolationAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTMultiplicationAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTMultiplicationAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTPropsAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTPropsAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTStyleAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTStyleAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTTransformAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTTransformAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTValueAnimatedNode.h Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
RCTValueAnimatedNode.m Add support for native animations on iOS 2016-06-09 10:43:51 -07:00