react-native/Libraries
Krzysztof Magiera 65ccdffc8d Execute Animated.js declarative animation on UIThread on Android.
Summary:This is the first from the series of PRs I'm going to be sending shorty that would let Animated.js animations to run off the JS thread (for Android only).

This PR introduce a new native module that will be used for offloading animations - NativeAnimatedModule. It has a simple API that allows for animated nodes management via methods like: create/drop animated node, connect/disconnect nodes, start animation of a value node, attach/detach animated from a native view.

Similarly to how we handle UIManager view hierarchy updates we create a queue of animated graph operations that are then executed on the UI thread. This isolates us from problems that may be caused by concurrent updates of animated graph while UI thread is "executing" the animation.

The most important class NativeAnimatedNodesManager.java implements a management interface for animated nodes graph as well as implements a graph traversal algorithm that is run for each animation frame. For each animation frame we visit animated nodes th
Closes https://github.com/facebook/react-native/pull/6466

Differential Revision: D3092739

Pulled By: astreet

fb-gh-sync-id: 665b49900b7367c91a93b9d8864f78fb90bb36ba
shipit-source-id: 665b49900b7367c91a93b9d8864f78fb90bb36ba
2016-03-24 06:19:27 -07:00
..
ART Fixed ART background color 2016-01-08 15:42:32 -08:00
ActionSheetIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated Execute Animated.js declarative animation on UIThread on Android. 2016-03-24 06:19:27 -07:00
AppRegistry Update FBSource to use Flow 0.22 2016-03-08 12:39:29 -08:00
AppState Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
AppStateIOS Updating AppState to support the inactive state. 2016-03-10 08:30:24 -08:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll fix warning about async CameraRoll.getPhotos 2016-03-18 10:21:23 -07:00
Components Remove sendMomentumEvents property from public ScrollView properties 2016-03-24 05:43:25 -07:00
CustomComponents Support animation and gesture for Pager. 2016-03-23 12:51:00 -07:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools RN: Fix Exponential WebSocket Growth from DevTools 2016-03-07 19:20:25 -08:00
Experimental <Incremental> for incremental rendering 2016-03-10 08:14:23 -08:00
Fetch Reject promise if network request failed 2016-03-08 16:37:24 -08:00
Geolocation Geolocation Accuracy and Cached Location Bug 2016-03-08 05:17:21 -08:00
Image Replace :React with :FBReactOpenSourceKit 2016-03-21 11:37:22 -07:00
Inspector fix RCTPerfMonitor display unit error 2016-02-26 04:54:32 -08:00
Interaction <Incremental> for incremental rendering 2016-03-10 08:14:23 -08:00
JavaScriptAppEngine Setup RCTNativeAppEventEmitter on init 2016-03-15 03:45:33 -07:00
LayoutAnimation Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Linking Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
LinkingIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Modal Revert changes to Modal.js styling 2016-03-19 14:21:22 -07:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
NavigationExperimental Support animation and gesture for Pager. 2016-03-23 12:51:00 -07:00
Network Fix fbsource errors 2016-03-09 16:54:24 -08:00
Picker Add position to Picker onValueChange's call 2016-02-19 06:50:33 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Deprecate PullToRefreshViewAndroid and remove it from the website 2016-02-21 16:17:36 -08:00
PushNotificationIOS Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS Typo in NativeMethodsMixin.js 2016-03-22 06:53:21 -07:00
ReactNative Update FBSource to use Flow 0.22 2016-03-08 12:39:29 -08:00
Sample Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Settings Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Storage add examples that demonstrate how to use mergeItem, multiMerge, multi… 2016-03-14 17:38:22 -07:00
StyleSheet Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Text backout (and remove) props.lineBreakMode from Text 2016-03-17 11:48:24 -07:00
Utilities custom back button handler 2016-03-23 12:22:20 -07:00
Vibration vibration module 2016-03-03 04:08:31 -08:00
WebSocket Backed out changeset 183744d2415b 2016-03-15 11:49:28 -07:00
react-native vibration module 2016-03-03 04:08:31 -08:00
vendor Fix breakages caused by switch to fbjs 2016-03-02 08:26:33 -08:00
Promise.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
promiseRejectionIsError.js Add possibility to `console.error`/redbox on promise rejections 2016-03-15 05:22:22 -07:00