Skip to content

Commit 17829ff

Browse files
cortinicometa-codesync[bot]
authored andcommitted
Migrate UIViewOperationQueue from Java to Kotlin (#56942)
Summary: Pull Request resolved: #56942 Migrate `UIViewOperationQueue` from Java to Kotlin as part of the ongoing Kotlin migration effort. This is a mechanical conversion of a deprecated, fully-stubbed legacy class with no functional changes. Changelog: [Android][Changed] - Migrate `UIViewOperationQueue` from Java to Kotlin Differential Revision: D106080039
1 parent 36bec56 commit 17829ff

3 files changed

Lines changed: 227 additions & 176 deletions

File tree

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4348,37 +4348,39 @@ public abstract interface class com/facebook/react/uimanager/UIManagerModule$Cus
43484348
public abstract fun resolveCustomEventName (Ljava/lang/String;)Ljava/lang/String;
43494349
}
43504350

4351-
public class com/facebook/react/uimanager/UIViewOperationQueue {
4351+
public final class com/facebook/react/uimanager/UIViewOperationQueue {
4352+
public static final field Companion Lcom/facebook/react/uimanager/UIViewOperationQueue$Companion;
43524353
public static final field DEFAULT_MIN_TIME_LEFT_IN_FRAME_FOR_NONBATCHED_OPERATION_MS I
43534354
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;I)V
4354-
public fun addRootView (ILandroid/view/View;)V
4355-
public fun dispatchViewUpdates (IJJ)V
4356-
public fun enqueueClearJSResponder ()V
4357-
public fun enqueueConfigureLayoutAnimation (Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;)V
4358-
public fun enqueueCreateView (Lcom/facebook/react/uimanager/ThemedReactContext;ILjava/lang/String;Lcom/facebook/react/uimanager/ReactStylesDiffMap;)V
4359-
public fun enqueueDispatchCommand (IILcom/facebook/react/bridge/ReadableArray;)V
4360-
public fun enqueueDispatchCommand (ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
4361-
public fun enqueueFindTargetForTouch (IFFLcom/facebook/react/bridge/Callback;)V
4362-
public fun enqueueLayoutUpdateFinished (Lcom/facebook/react/uimanager/ReactShadowNode;Lcom/facebook/react/uimanager/UIImplementation$LayoutUpdateListener;)V
4363-
public fun enqueueManageChildren (I[I[Lcom/facebook/react/uimanager/ViewAtIndex;[I)V
4364-
public fun enqueueMeasure (ILcom/facebook/react/bridge/Callback;)V
4365-
public fun enqueueMeasureInWindow (ILcom/facebook/react/bridge/Callback;)V
4366-
public fun enqueueRemoveRootView (I)V
4367-
public fun enqueueSendAccessibilityEvent (II)V
4368-
public fun enqueueSetChildren (ILcom/facebook/react/bridge/ReadableArray;)V
4369-
public fun enqueueSetJSResponder (IIZ)V
4370-
public fun enqueueSetLayoutAnimationEnabled (Z)V
4371-
public fun enqueueUIBlock (Lcom/facebook/react/uimanager/UIBlock;)V
4372-
protected fun enqueueUIOperation (Lcom/facebook/react/uimanager/UIViewOperationQueue$UIOperation;)V
4373-
public fun enqueueUpdateExtraData (ILjava/lang/Object;)V
4374-
public fun enqueueUpdateInstanceHandle (IJ)V
4375-
public fun enqueueUpdateLayout (IIIIII)V
4376-
public fun enqueueUpdateLayout (IIIIIILcom/facebook/yoga/YogaDirection;)V
4377-
public fun enqueueUpdateProperties (ILjava/lang/String;Lcom/facebook/react/uimanager/ReactStylesDiffMap;)V
4378-
public fun getProfiledBatchPerfCounters ()Ljava/util/Map;
4379-
public fun isEmpty ()Z
4380-
public fun prependUIBlock (Lcom/facebook/react/uimanager/UIBlock;)V
4381-
public fun profileNextBatch ()V
4355+
public final fun addRootView (ILandroid/view/View;)V
4356+
public final fun dispatchViewUpdates (IJJ)V
4357+
public final fun enqueueClearJSResponder ()V
4358+
public final fun enqueueConfigureLayoutAnimation (Lcom/facebook/react/bridge/ReadableMap;Lcom/facebook/react/bridge/Callback;)V
4359+
public final fun enqueueCreateView (Lcom/facebook/react/uimanager/ThemedReactContext;ILjava/lang/String;Lcom/facebook/react/uimanager/ReactStylesDiffMap;)V
4360+
public final fun enqueueDispatchCommand (IILcom/facebook/react/bridge/ReadableArray;)V
4361+
public final fun enqueueDispatchCommand (ILjava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
4362+
public final fun enqueueFindTargetForTouch (IFFLcom/facebook/react/bridge/Callback;)V
4363+
public final fun enqueueLayoutUpdateFinished (Lcom/facebook/react/uimanager/ReactShadowNode;Lcom/facebook/react/uimanager/UIImplementation$LayoutUpdateListener;)V
4364+
public final fun enqueueMeasure (ILcom/facebook/react/bridge/Callback;)V
4365+
public final fun enqueueMeasureInWindow (ILcom/facebook/react/bridge/Callback;)V
4366+
public final fun enqueueRemoveRootView (I)V
4367+
public final fun enqueueSendAccessibilityEvent (II)V
4368+
public final fun enqueueSetChildren (ILcom/facebook/react/bridge/ReadableArray;)V
4369+
public final fun enqueueSetJSResponder (IIZ)V
4370+
public final fun enqueueSetLayoutAnimationEnabled (Z)V
4371+
public final fun enqueueUIBlock (Lcom/facebook/react/uimanager/UIBlock;)V
4372+
public final fun enqueueUpdateExtraData (ILjava/lang/Object;)V
4373+
public final fun enqueueUpdateInstanceHandle (IJ)V
4374+
public final fun enqueueUpdateLayout (IIIIII)V
4375+
public final fun enqueueUpdateLayout (IIIIIILcom/facebook/yoga/YogaDirection;)V
4376+
public final fun enqueueUpdateProperties (ILjava/lang/String;Lcom/facebook/react/uimanager/ReactStylesDiffMap;)V
4377+
public final fun getProfiledBatchPerfCounters ()Ljava/util/Map;
4378+
public final fun isEmpty ()Z
4379+
public final fun prependUIBlock (Lcom/facebook/react/uimanager/UIBlock;)V
4380+
public final fun profileNextBatch ()V
4381+
}
4382+
4383+
public final class com/facebook/react/uimanager/UIViewOperationQueue$Companion {
43824384
}
43834385

43844386
public abstract interface class com/facebook/react/uimanager/UIViewOperationQueue$UIOperation {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIViewOperationQueue.java

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)