Skip to content

Commit

Permalink
Migrate TouchEvent to Kotlin (facebook#43982)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#43982

## Changelog:
[Internal] -

As in the title.

Differential Revision: D55877979
  • Loading branch information
rshest authored and facebook-github-bot committed Apr 9, 2024
1 parent c24a9a9 commit 4589f7d
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 258 deletions.
21 changes: 13 additions & 8 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -5646,23 +5646,28 @@ public abstract interface class com/facebook/react/uimanager/events/RCTModernEve
public abstract fun receiveTouches (Lcom/facebook/react/uimanager/events/TouchEvent;)V
}

public class com/facebook/react/uimanager/events/TouchEvent : com/facebook/react/uimanager/events/Event {
public final class com/facebook/react/uimanager/events/TouchEvent : com/facebook/react/uimanager/events/Event {
public static final field Companion Lcom/facebook/react/uimanager/events/TouchEvent$Companion;
public static final field UNSET J
public fun canCoalesce ()Z
public fun dispatch (Lcom/facebook/react/uimanager/events/RCTEventEmitter;)V
public fun dispatchModern (Lcom/facebook/react/uimanager/events/RCTModernEventEmitter;)V
public fun getCoalescingKey ()S
protected fun getEventCategory ()I
public fun getEventName ()Ljava/lang/String;
public fun getMotionEvent ()Landroid/view/MotionEvent;
public fun getTouchEventType ()Lcom/facebook/react/uimanager/events/TouchEventType;
public fun getViewX ()F
public fun getViewY ()F
public static fun obtain (IILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
public static fun obtain (ILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
public final fun getMotionEvent ()Landroid/view/MotionEvent;
public final fun getTouchEventType ()Lcom/facebook/react/uimanager/events/TouchEventType;
public final fun getViewX ()F
public final fun getViewY ()F
public static final fun obtain (IILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
public static final fun obtain (ILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
public fun onDispose ()V
}

public final class com/facebook/react/uimanager/events/TouchEvent$Companion {
public final fun obtain (IILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
public final fun obtain (ILcom/facebook/react/uimanager/events/TouchEventType;Landroid/view/MotionEvent;JFFLcom/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper;)Lcom/facebook/react/uimanager/events/TouchEvent;
}

public class com/facebook/react/uimanager/events/TouchEventCoalescingKeyHelper {
public fun <init> ()V
public fun addCoalescingKey (J)V
Expand Down

This file was deleted.

Loading

0 comments on commit 4589f7d

Please sign in to comment.