Skip to content

Commit 876914b

Browse files
Nivaldo Bondançafacebook-github-bot
authored andcommitted
Update ktfmt component on FBS:master (#44184)
Summary: Pull Request resolved: #44184 Reviewed By: zertosh Differential Revision: D56421174 fbshipit-source-id: 686e23775f53d67980c2e84a17d0a5c490dbec2a
1 parent 57663f7 commit 876914b

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UIManagerListener.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,29 @@ public interface UIManagerListener {
1919
* <p>This is called by Paper only.
2020
*/
2121
public fun willDispatchViewUpdates(uiManager: UIManager): Unit
22+
2223
/**
2324
* Called on UIThread right before view updates are executed.
2425
*
2526
* <p>This is called by Fabric only.
2627
*/
2728
public fun willMountItems(uiManager: UIManager): Unit
29+
2830
/**
2931
* Called on UIThread right after view updates are executed.
3032
*
3133
* <p>This is called by Fabric only.
3234
*/
3335
public fun didMountItems(uiManager: UIManager): Unit
36+
3437
/**
3538
* Called on UIThread right after view updates are dispatched for a frame. Note that this will be
3639
* called for every frame even if there are no updates.
3740
*
3841
* <p>This is called by Fabric only.
3942
*/
4043
public fun didDispatchMountItems(uiManager: UIManager): Unit
44+
4145
/**
4246
* Called right after scheduleMountItems is called in Fabric, after a new tree is committed.
4347
*

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/DevSplitBundleCallback.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ package com.facebook.react.devsupport.interfaces
1111
public interface DevSplitBundleCallback {
1212
/** Called when the split JS bundle has been downloaded and evaluated. */
1313
public fun onSuccess()
14+
1415
/** Called when the split JS bundle failed to load. */
1516
public fun onError(url: String?, cause: Throwable?)
1617
}

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/interfaces/TurboModuleRegistry.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public interface TurboModuleRegistry {
2828

2929
/** Has the NativeModule with name `moduleName` been instantiated? */
3030
public fun hasModule(moduleName: String): Boolean
31+
3132
/**
3233
* Return the names of all the NativeModules that are supposed to be eagerly initialized. By
3334
* calling getModule on each name, this allows the application to eagerly initialize its

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactSurfaceView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public class ReactSurfaceView(context: Context?, private val surface: ReactSurfa
102102
// views disallow that, but propagate it up the tree if possible.
103103
parent?.requestDisallowInterceptTouchEvent(disallowIntercept)
104104
}
105+
105106
/**
106107
* Called when a child starts a native gesture (e.g. a scroll in a ScrollView). Should be called
107108
* from the child's onTouchIntercepted implementation.

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/ViewUtil.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ package com.facebook.react.uimanager.common
1010
public object ViewUtil {
1111

1212
public const val NO_SURFACE_ID: Int = -1
13+
1314
/**
1415
* Counter for uniquely identifying views. - % 2 === 0 means it is a Fabric tag. See
1516
* https://github.com/facebook/react/pull/12587
@@ -56,6 +57,7 @@ public object ViewUtil {
5657
}
5758
return uiManagerType
5859
}
60+
5961
/**
6062
* @param viewTag react tag
6163
* @return if the react tag received by parameter is a RootTag or not.

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ public object ReactScrollViewHelper {
538538
* default value is zero, which means the scroll events are sent with no throttle.
539539
*/
540540
public var scrollEventThrottle: Int
541+
541542
/** Get the scroll view dispatch time for throttling */
542543
/** Set the scroll view's last dispatch time for throttling */
543544
public var lastScrollDispatchTime: Long

0 commit comments

Comments
 (0)