Skip to content

Commit 79d0dda

Browse files
NickGerlemanfacebook-github-bot
authored andcommitted
Stub internals of Paper Text ShadowNodes (facebook#55438)
Summary: All of this is dead, but still uses the text infra by Fabric that we continue to change. Lets stub out the internals of the ShadowNodes, to make it easier to edit RN text internals, and shave some code/space. mdvacca or cortinico should be able to tell if this will cause issues with interop layer. Changelog: [Internal] Differential Revision: D92481655
1 parent 448edf7 commit 79d0dda

File tree

4 files changed

+88
-981
lines changed

4 files changed

+88
-981
lines changed

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

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6073,80 +6073,32 @@ public abstract class com/facebook/react/views/text/ReactBaseTextShadowNode : co
60736073
public fun <init> ()V
60746074
public fun <init> (Lcom/facebook/react/views/text/ReactTextViewManagerCallback;)V
60756075
public synthetic fun <init> (Lcom/facebook/react/views/text/ReactTextViewManagerCallback;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
6076-
protected final fun getAccessibilityRole ()Lcom/facebook/react/uimanager/ReactAccessibilityDelegate$AccessibilityRole;
6077-
protected final fun getAdjustsFontSizeToFit ()Z
6078-
protected final fun getBackgroundColor ()I
6079-
protected final fun getColor ()I
6080-
protected final fun getContainsImages ()Z
6081-
protected final fun getFontFamily ()Ljava/lang/String;
6082-
protected final fun getFontFeatureSettings ()Ljava/lang/String;
6083-
protected final fun getFontStyle ()I
6084-
protected final fun getFontWeight ()I
6085-
protected final fun getHyphenationFrequency ()I
6086-
protected final fun getIncludeFontPadding ()Z
6087-
protected final fun getInlineViews ()Ljava/util/Map;
6088-
protected final fun getJustificationMode ()I
6089-
protected final fun getMinimumFontScale ()F
6090-
protected final fun getNumberOfLines ()I
60916076
protected final fun getReactTextViewManagerCallback ()Lcom/facebook/react/views/text/ReactTextViewManagerCallback;
6092-
protected final fun getRole ()Lcom/facebook/react/uimanager/ReactAccessibilityDelegate$Role;
6093-
protected final fun getTextAlign ()I
6094-
protected final fun getTextAttributes ()Lcom/facebook/react/views/text/TextAttributes;
6095-
protected final fun getTextBreakStrategy ()I
6096-
protected final fun getTextShadowColor ()I
6097-
protected final fun getTextShadowOffsetDx ()F
6098-
protected final fun getTextShadowOffsetDy ()F
6099-
protected final fun getTextShadowRadius ()F
6100-
protected final fun isBackgroundColorSet ()Z
6101-
protected final fun isColorSet ()Z
6102-
protected final fun isLineThroughTextDecorationSet ()Z
6103-
protected final fun isUnderlineTextDecorationSet ()Z
6104-
protected final fun setAccessibilityRole (Lcom/facebook/react/uimanager/ReactAccessibilityDelegate$AccessibilityRole;)V
61056077
public final fun setAccessibilityRole (Ljava/lang/String;)V
61066078
public final fun setAdjustFontSizeToFit (Z)V
6107-
protected final fun setAdjustsFontSizeToFit (Z)V
61086079
public final fun setAllowFontScaling (Z)V
6109-
protected final fun setBackgroundColor (I)V
61106080
public final fun setBackgroundColor (Ljava/lang/Integer;)V
6111-
protected final fun setBackgroundColorSet (Z)V
6112-
protected final fun setColor (I)V
61136081
public final fun setColor (Ljava/lang/Integer;)V
6114-
protected final fun setColorSet (Z)V
6115-
protected final fun setContainsImages (Z)V
61166082
public final fun setFontFamily (Ljava/lang/String;)V
6117-
protected final fun setFontFeatureSettings (Ljava/lang/String;)V
61186083
public final fun setFontSize (F)V
6119-
protected final fun setFontStyle (I)V
61206084
public final fun setFontStyle (Ljava/lang/String;)V
61216085
public final fun setFontVariant (Lcom/facebook/react/bridge/ReadableArray;)V
6122-
protected final fun setFontWeight (I)V
61236086
public final fun setFontWeight (Ljava/lang/String;)V
6124-
protected final fun setHyphenationFrequency (I)V
61256087
public final fun setIncludeFontPadding (Z)V
6126-
protected final fun setInlineViews (Ljava/util/Map;)V
6127-
protected final fun setJustificationMode (I)V
61286088
public final fun setLetterSpacing (F)V
61296089
public final fun setLineHeight (F)V
6130-
protected final fun setLineThroughTextDecorationSet (Z)V
61316090
public final fun setMaxFontSizeMultiplier (F)V
61326091
public final fun setMinimumFontScale (F)V
61336092
public final fun setNumberOfLines (I)V
61346093
protected final fun setReactTextViewManagerCallback (Lcom/facebook/react/views/text/ReactTextViewManagerCallback;)V
6135-
protected final fun setRole (Lcom/facebook/react/uimanager/ReactAccessibilityDelegate$Role;)V
61366094
public final fun setRole (Ljava/lang/String;)V
61376095
public final fun setTextAlign (Ljava/lang/String;)V
6138-
protected final fun setTextAttributes (Lcom/facebook/react/views/text/TextAttributes;)V
6139-
protected final fun setTextBreakStrategy (I)V
61406096
public fun setTextBreakStrategy (Ljava/lang/String;)V
61416097
public final fun setTextDecorationLine (Ljava/lang/String;)V
61426098
public final fun setTextShadowColor (I)V
61436099
public final fun setTextShadowOffset (Lcom/facebook/react/bridge/ReadableMap;)V
6144-
protected final fun setTextShadowOffsetDx (F)V
6145-
protected final fun setTextShadowOffsetDy (F)V
61466100
public final fun setTextShadowRadius (F)V
61476101
public final fun setTextTransform (Ljava/lang/String;)V
6148-
protected final fun setUnderlineTextDecorationSet (Z)V
6149-
protected final fun spannedFromShadowNode (Lcom/facebook/react/views/text/ReactBaseTextShadowNode;Ljava/lang/String;ZLcom/facebook/react/uimanager/NativeViewHierarchyOptimizer;)Landroid/text/Spannable;
61506102
}
61516103

61526104
public final class com/facebook/react/views/text/ReactBaseTextShadowNode$Companion {

0 commit comments

Comments
 (0)