diff --git a/packages/react-native/ReactAndroid/api/ReactAndroid.api b/packages/react-native/ReactAndroid/api/ReactAndroid.api index 51fcf8e6df2f..e83ef54039e8 100644 --- a/packages/react-native/ReactAndroid/api/ReactAndroid.api +++ b/packages/react-native/ReactAndroid/api/ReactAndroid.api @@ -4065,15 +4065,6 @@ public final class com/facebook/react/uimanager/MeasureSpecAssertions { public static final fun assertExplicitMeasureSpec (II)V } -public final class com/facebook/react/uimanager/NativeKind : java/lang/Enum { - public static final field LEAF Lcom/facebook/react/uimanager/NativeKind; - public static final field NONE Lcom/facebook/react/uimanager/NativeKind; - public static final field PARENT Lcom/facebook/react/uimanager/NativeKind; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/facebook/react/uimanager/NativeKind; - public static fun values ()[Lcom/facebook/react/uimanager/NativeKind; -} - public class com/facebook/react/uimanager/NativeViewHierarchyManager { public fun (Lcom/facebook/react/uimanager/ViewManagerRegistry;)V public fun (Lcom/facebook/react/uimanager/ViewManagerRegistry;Lcom/facebook/react/uimanager/RootViewManager;)V @@ -4351,11 +4342,6 @@ public abstract interface class com/facebook/react/uimanager/ReactOverflowView { public abstract fun getOverflow ()Ljava/lang/String; } -public abstract interface class com/facebook/react/uimanager/ReactOverflowViewWithInset : com/facebook/react/uimanager/ReactOverflowView { - public abstract fun getOverflowInset ()Landroid/graphics/Rect; - public abstract fun setOverflowInset (IIII)V -} - public abstract interface class com/facebook/react/uimanager/ReactPointerEventsView { public abstract fun getPointerEvents ()Lcom/facebook/react/uimanager/PointerEvents; } diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt index 7cc3313bc075..ee000bbb142b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt @@ -11,7 +11,7 @@ package com.facebook.react.uimanager // - `kind == PARENT` checks whether the node can host children in the native tree. // - `kind != NONE` checks whether the node appears in the native tree. -public enum class NativeKind { +internal enum class NativeKind { // Node is in the native hierarchy and the HierarchyOptimizer should assume it can host children // (e.g. because it's a ViewGroup). Note that it's okay if the node doesn't support children. When // the HierarchyOptimizer generates children manipulation commands for that node, the diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowViewWithInset.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowViewWithInset.kt index 53318b00da4f..0ff4065ca3cb 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowViewWithInset.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowViewWithInset.kt @@ -15,7 +15,7 @@ import android.view.View * to use the overflowInset values. This allows the overflow information to be used by * [TouchTargetHelper] to determine if a View is touchable. */ -public interface ReactOverflowViewWithInset : ReactOverflowView { +internal interface ReactOverflowViewWithInset : ReactOverflowView { /** * Get the overflow inset rect values which indicate the extensions to the boundaries of current * view that wraps all of its children views @@ -23,11 +23,11 @@ public interface ReactOverflowViewWithInset : ReactOverflowView { * @return Rect of integers indicating the left, top, right, bottom pixel extensions. The values * are non-positive (indicating enlarged boundaries). */ - public val overflowInset: Rect + val overflowInset: Rect /** * Set the overflow inset rect values which indicate the extensions to the boundaries of current * view that wraps all of its children views */ - public fun setOverflowInset(left: Int, top: Int, right: Int, bottom: Int) + fun setOverflowInset(left: Int, top: Int, right: Int, bottom: Int) }