react-native/Libraries
Janic Duplessis 40bcc38d91 Support the `Slow Animations` option of the iOS simulator (#21157)
Summary:
RN animations currently ignore the `Slow Animations` option on the iOS simulator because we don't use UIKit animations directly. This uses a private api to get the slow coefficient and use it in the native animated driver. We only compile the private api code on simulator so this won't cause issues for app store approval. One possible issue is that the api changes in new iOS versions but I think it's reasonable to do this.

Note that this won't work with JS driven animations, we could expose the slow coefficient as a constant and use that in JS but I decided not to implement it.
Pull Request resolved: https://github.com/facebook/react-native/pull/21157

Differential Revision: D9980306

Pulled By: sahrens

fbshipit-source-id: bdbce2e469261a75cb4b9a251e8e8f212bb9c4e7
2018-09-20 16:18:03 -07:00
..
ART Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ActionSheetIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Alert Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Animated Optimize gitignores 2018-09-15 09:01:59 -07:00
AppState Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BatchedBridge Remove some automocks from tests 2018-09-18 04:18:11 -07:00
Blob Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BugReporting Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
CameraRoll Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Color Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Components Add `onScrollToTop` to ScrollView for iOS (#21204) 2018-09-19 11:17:30 -07:00
Core Add js engine information in React Native error reporting 2018-09-12 14:01:50 -07:00
EventEmitter Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Experimental Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Geolocation Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Image Back out "Change ImageBackground to work with percentage image sizes" 2018-09-12 12:31:52 -07:00
Inspector Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Interaction Remove some automocks from tests 2018-09-18 04:18:11 -07:00
JSInspector Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
LayoutAnimation Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Linking Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
LinkingIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Lists Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Modal Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
NativeAnimation Support the `Slow Animations` option of the iOS simulator (#21157) 2018-09-20 16:18:03 -07:00
Network fix RCTNetInfo first time connection status (#20820) 2018-09-12 14:01:50 -07:00
Performance Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
PermissionsAndroid Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
PushNotificationIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTest Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ReactNative Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Renderer React sync for revisions bc1ea9c...ade5e69 2018-09-10 14:47:11 -07:00
Sample Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Settings Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Share Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Storage Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
StyleSheet RN: Ignore StyleSheetValidation if Profiling 2018-09-19 16:27:23 -07:00
SurfaceBackedComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
SurfaceHostingComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text Fix InputAccessoryView safe area when not attached to a TextInput (#21179) 2018-09-18 18:31:51 -07:00
Types Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Utilities Fix dev-only redbox in polyfillfunctions 2018-09-12 16:32:50 -07:00
Vibration Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
WebSocket Remove some automocks from tests 2018-09-18 04:18:11 -07:00
Wrapper Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
YellowBox YellowBox: Allow Retrying Symbolication 2018-09-11 20:47:03 -07:00
fishhook Merge fishhook.xcodeproj in RCTWebSocket 2017-08-09 07:48:09 -07:00
polyfills Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
react-native Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
vendor Fix map polyfill to use a deterministic key for the hash 2018-09-17 15:02:24 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
UTFSequence.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
promiseRejectionIsError.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00