diff --git a/node_modules/react-native-reanimated/android/.classpath b/node_modules/react-native-reanimated/android/.classpath new file mode 100644 index 0000000..bbe97e5 --- /dev/null +++ b/node_modules/react-native-reanimated/android/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/node_modules/react-native-reanimated/android/.gradle/7.5.1/checksums/checksums.lock b/node_modules/react-native-reanimated/android/.gradle/7.5.1/checksums/checksums.lock new file mode 100644 index 0000000..8a17076 Binary files /dev/null and b/node_modules/react-native-reanimated/android/.gradle/7.5.1/checksums/checksums.lock differ diff --git a/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileChanges/last-build.bin b/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileChanges/last-build.bin differ diff --git a/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileHashes/fileHashes.lock b/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..40eb925 Binary files /dev/null and b/node_modules/react-native-reanimated/android/.gradle/7.5.1/fileHashes/fileHashes.lock differ diff --git a/node_modules/react-native-reanimated/android/.gradle/7.5.1/gc.properties b/node_modules/react-native-reanimated/android/.gradle/7.5.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/react-native-reanimated/android/.gradle/vcs-1/gc.properties b/node_modules/react-native-reanimated/android/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/react-native-reanimated/android/.project b/node_modules/react-native-reanimated/android/.project new file mode 100644 index 0000000..c835873 --- /dev/null +++ b/node_modules/react-native-reanimated/android/.project @@ -0,0 +1,34 @@ + + + react-native-reanimated + Project react-native-reanimated created by Buildship. + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.buildship.core.gradleprojectbuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.buildship.core.gradleprojectnature + + + + 1777685576274 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/node_modules/react-native-reanimated/android/.settings/org.eclipse.buildship.core.prefs b/node_modules/react-native-reanimated/android/.settings/org.eclipse.buildship.core.prefs new file mode 100644 index 0000000..1675490 --- /dev/null +++ b/node_modules/react-native-reanimated/android/.settings/org.eclipse.buildship.core.prefs @@ -0,0 +1,2 @@ +connection.project.dir=../../../android +eclipse.preferences.version=1 diff --git a/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.java b/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.java index 112f758..39b4867 100644 --- a/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.java +++ b/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.java @@ -69,7 +69,7 @@ public class ReanimatedPackage extends TurboReactPackage implements ReactPackage private UIManagerModule createUIManager(final ReactApplicationContext reactContext) { ReactMarker.logMarker(CREATE_UI_MANAGER_MODULE_START); - Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createUIManagerModule"); + Systrace.beginSection(0, "createUIManagerModule"); final ReactInstanceManager reactInstanceManager = getReactInstanceManager(reactContext); List viewManagers = reactInstanceManager.getOrCreateViewManagers(reactContext); int minTimeLeftInFrameForNonBatchedOperationMs = -1; @@ -77,7 +77,7 @@ public class ReanimatedPackage extends TurboReactPackage implements ReactPackage return ReanimatedUIManagerFactory.create( reactContext, viewManagers, minTimeLeftInFrameForNonBatchedOperationMs); } finally { - Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE); + Systrace.endSection(0); ReactMarker.logMarker(CREATE_UI_MANAGER_MODULE_END); } } diff --git a/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/BorderRadiiDrawableUtils/latest/com/swmansion/reanimated/BorderRadiiDrawableUtils.java b/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/BorderRadiiDrawableUtils/latest/com/swmansion/reanimated/BorderRadiiDrawableUtils.java index c850777..8af7c09 100644 --- a/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/BorderRadiiDrawableUtils/latest/com/swmansion/reanimated/BorderRadiiDrawableUtils.java +++ b/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/BorderRadiiDrawableUtils/latest/com/swmansion/reanimated/BorderRadiiDrawableUtils.java @@ -18,7 +18,7 @@ public class BorderRadiiDrawableUtils { return defaultValue; } Rect bounds = view.getBackground().getBounds(); - return length.resolve(bounds.width(), bounds.height()).toPixelFromDIP().getHorizontal(); + return length.resolve((float) bounds.width()); } public static ReactNativeUtils.BorderRadii getBorderRadii(View view) { diff --git a/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/createAnimatedComponent.js b/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/createAnimatedComponent.js index 69682cb..6f6573f 100644 --- a/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/createAnimatedComponent.js +++ b/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/createAnimatedComponent.js @@ -54,7 +54,7 @@ function onlyAnimatedStyles(styles) { let id = 0; export function createAnimatedComponent(Component, options) { - invariant(typeof Component !== 'function' || Component.prototype && Component.prototype.isReactComponent, `Looks like you're passing a function component \`${Component.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`); + // invariant(typeof Component !== 'function' || Component.prototype && Component.prototype.isReactComponent, `Looks like you're passing a function component \`${Component.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`); class AnimatedComponent extends React.Component { _styles = null; _isFirstRender = true; diff --git a/node_modules/react-native-reanimated/src/createAnimatedComponent/createAnimatedComponent.tsx b/node_modules/react-native-reanimated/src/createAnimatedComponent/createAnimatedComponent.tsx index e101e03..8b405b2 100644 --- a/node_modules/react-native-reanimated/src/createAnimatedComponent/createAnimatedComponent.tsx +++ b/node_modules/react-native-reanimated/src/createAnimatedComponent/createAnimatedComponent.tsx @@ -111,11 +111,11 @@ export function createAnimatedComponent( Component: ComponentType, options?: Options ): any { - invariant( - typeof Component !== 'function' || - (Component.prototype && Component.prototype.isReactComponent), - `Looks like you're passing a function component \`${Component.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.` - ); + // invariant( + // typeof Component !== 'function' || + // (Component.prototype && Component.prototype.isReactComponent), + // `Looks like you're passing a function component \`${Component.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.` + // ); class AnimatedComponent extends React.Component>