mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Pass isRTL flag from FabricUIManager Fabric core
Summary: Changelog: [Internal] Send `isRTL` flag and `doLeftAndRightSwapInRTL` flags from Java to Fabric Core. Reviewed By: JoshuaGross, mdvacca Differential Revision: D20776005 fbshipit-source-id: 946c239d9a11ebea958b0a6d04f2316b7cd77311
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c5a54ec1b1
commit
e653cb06f8
@@ -51,7 +51,9 @@ public class Binding {
|
||||
float minWidth,
|
||||
float maxWidth,
|
||||
float minHeight,
|
||||
float maxHeight);
|
||||
float maxHeight,
|
||||
boolean isRTL,
|
||||
boolean doLeftAndRightSwapInRTL);
|
||||
|
||||
public native void renderTemplateToSurface(int surfaceId, String uiTemplate);
|
||||
|
||||
@@ -60,7 +62,13 @@ public class Binding {
|
||||
public native void setPixelDensity(float pointScaleFactor);
|
||||
|
||||
public native void setConstraints(
|
||||
int surfaceId, float minWidth, float maxWidth, float minHeight, float maxHeight);
|
||||
int surfaceId,
|
||||
float minWidth,
|
||||
float maxWidth,
|
||||
float minHeight,
|
||||
float maxHeight,
|
||||
boolean isRTL,
|
||||
boolean doLeftAndRightSwapInRTL);
|
||||
|
||||
public void register(
|
||||
@NonNull JavaScriptContextHolder jsContext,
|
||||
|
||||
Reference in New Issue
Block a user