Commit 3298825
Add animatedDeferStartOfTimingAnimations feature flag
Summary:
Add the `animatedDeferStartOfTimingAnimations` common (native + JS) feature flag (default off). On its own this is a no-op; it gates deferring the start of native-driven timing animations to the first rendered frame, implemented in the following diffs.
The flag is defined as a `common` flag (not JS-only) so the same value can be read from both the JS Animated layer and the native C++ animation code. This diff includes all the generated accessors, regenerated via `yarn featureflags --update`: Kotlin (`ReactNativeFeatureFlags*.kt`), C++ (`ReactNativeFeatureFlags*.h`/`.cpp` and the JNI interop), the JS `ReactNativeFeatureFlags.js`, and the native module spec.
Changelog: [Internal]
Reviewed By: rubennorte
Differential Revision: D1068256291 parent 319610d commit 3298825
2 files changed
Lines changed: 18 additions & 1 deletion
File tree
- packages/react-native
- scripts/featureflags
- src/private/featureflags
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
995 | 1006 | | |
996 | 1007 | | |
997 | 1008 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
0 commit comments