File tree Expand file tree Collapse file tree
ReactAndroid/src/main/java/com/facebook/react/fabric
ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -642,7 +642,7 @@ public long measureText(
642642 @ AnyThread
643643 @ ThreadConfined (ANY )
644644 @ UnstableReactNativeAPI
645- public PreparedLayout prepareLayout (
645+ public PreparedLayout prepareTextLayout (
646646 int surfaceId ,
647647 ReadableMapBuffer attributedString ,
648648 ReadableMapBuffer paragraphAttributes ,
@@ -651,7 +651,7 @@ public PreparedLayout prepareLayout(
651651 float minHeight ,
652652 float maxHeight ) {
653653 SurfaceMountingManager surfaceMountingManager =
654- mMountingManager .getSurfaceManagerEnforced (surfaceId , "prepareLayout " );
654+ mMountingManager .getSurfaceManagerEnforced (surfaceId , "prepareTextLayout " );
655655 ViewManager textViewManager = mViewManagerRegistry .get (ReactTextViewManager .REACT_CLASS );
656656
657657 return TextLayoutManager .createPreparedLayout (
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ TextLayoutManager::PreparedLayout TextLayoutManager::prepareLayout(
300300 const auto & fabricUIManager =
301301 contextContainer_->at <jni::global_ref<jobject>>(" FabricUIManager" );
302302
303- static auto prepareLayout =
303+ static auto prepareTextLayout =
304304 jni::findClassStatic (" com/facebook/react/fabric/FabricUIManager" )
305305 ->getMethod <JPreparedLayout::javaobject (
306306 jint,
@@ -309,7 +309,7 @@ TextLayoutManager::PreparedLayout TextLayoutManager::prepareLayout(
309309 jfloat,
310310 jfloat,
311311 jfloat,
312- jfloat)>(" prepareLayout " );
312+ jfloat)>(" prepareTextLayout " );
313313
314314 auto attributedStringMB =
315315 JReadableMapBuffer::createWithContents (toMapBuffer (attributedString));
@@ -321,7 +321,7 @@ TextLayoutManager::PreparedLayout TextLayoutManager::prepareLayout(
321321
322322 // T222682416: We don't have any global cache here. We should investigate
323323 // whether that is desirable
324- return {jni::make_global (prepareLayout (
324+ return {jni::make_global (prepareTextLayout (
325325 fabricUIManager,
326326 layoutContext.surfaceId ,
327327 attributedStringMB.get (),
You can’t perform that action at this time.
0 commit comments