Skip to content

Commit

Permalink
Kotlinify InterpolationAnimatedNode (facebook#45759)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#45759

# Changelog:
[Internal] -

As in the title.

Differential Revision: D60348112
  • Loading branch information
rshest authored and facebook-github-bot committed Jul 29, 2024
1 parent 7bdeb4b commit 1cc06c2
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 313 deletions.
33 changes: 33 additions & 0 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,26 @@ public abstract interface class com/facebook/react/animated/AnimatedNodeWithUpda
public abstract fun onUpdateConfig (Lcom/facebook/react/bridge/ReadableMap;)V
}

public final class com/facebook/react/animated/InterpolationAnimatedNode : com/facebook/react/animated/ValueAnimatedNode {
public static final field Companion Lcom/facebook/react/animated/InterpolationAnimatedNode$Companion;
public static final field EXTRAPOLATE_TYPE_CLAMP Ljava/lang/String;
public static final field EXTRAPOLATE_TYPE_EXTEND Ljava/lang/String;
public static final field EXTRAPOLATE_TYPE_IDENTITY Ljava/lang/String;
public fun <init> (Lcom/facebook/react/bridge/ReadableMap;)V
public fun getAnimatedObject ()Ljava/lang/Object;
public fun onAttachedToNode (Lcom/facebook/react/animated/AnimatedNode;)V
public fun onDetachedFromNode (Lcom/facebook/react/animated/AnimatedNode;)V
public fun prettyPrint ()Ljava/lang/String;
public fun update ()V
}

public final class com/facebook/react/animated/InterpolationAnimatedNode$Companion {
public final fun interpolate (DDDDDLjava/lang/String;Ljava/lang/String;)D
public final fun interpolate (D[D[DLjava/lang/String;Ljava/lang/String;)D
public final fun interpolateColor (D[D[I)I
public final fun interpolateString (Ljava/lang/String;D[D[[DLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
}

public class com/facebook/react/animated/NativeAnimatedModule : com/facebook/fbreact/specs/NativeAnimatedModuleSpec, com/facebook/react/bridge/LifecycleEventListener, com/facebook/react/bridge/UIManagerListener {
public static final field ANIMATED_MODULE_DEBUG Z
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;)V
Expand Down Expand Up @@ -533,6 +553,19 @@ public class com/facebook/react/animated/NativeAnimatedNodesManager : com/facebo
public fun updateAnimatedNodeConfig (ILcom/facebook/react/bridge/ReadableMap;)V
}

public class com/facebook/react/animated/ValueAnimatedNode : com/facebook/react/animated/AnimatedNode {
public fun <init> ()V
public fun <init> (Lcom/facebook/react/bridge/ReadableMap;)V
public synthetic fun <init> (Lcom/facebook/react/bridge/ReadableMap;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun extractOffset ()V
public final fun flattenOffset ()V
public fun getAnimatedObject ()Ljava/lang/Object;
public final fun getValue ()D
public final fun onValueUpdate ()V
public fun prettyPrint ()Ljava/lang/String;
public final fun setValueListener (Lcom/facebook/react/animated/AnimatedNodeValueListener;)V
}

public abstract interface class com/facebook/react/bridge/ActivityEventListener {
public abstract fun onActivityResult (Landroid/app/Activity;IILandroid/content/Intent;)V
public abstract fun onNewIntent (Landroid/content/Intent;)V
Expand Down

This file was deleted.

Loading

0 comments on commit 1cc06c2

Please sign in to comment.