Codemod format for trailing commas incoming change [300/n] (#1848)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1848 X-link: https://github.com/facebook/react-native/pull/53338 Adding trailing commas to folders: - xplat/js/react-native-github/packages/react-native - xplat/kotlin/ast_tools/core/src - xplat/kotlin_compiler_plugins/template/src/main - xplat/kotlin/kotlin_multiplatform_template/src/commonMain - xplat/libraries/bloks/bloks-debugging/src - xplat/libraries/bloks/bloks-lispy/src - xplat/libraries/bloks/bloks-step-debugger/src - xplat/mdv/uifiddle-prototype/android-server/playground - xplat/mdv/uifiddle-prototype/android-server/server - xplat/oxygen/common/src/test - xplat/oxygen/mpts/src/main - xplat/oxygen/mpts/src/test - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaAccessoryTest - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaWearableSDKSampleApp - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaWearableSDK - xplat/prototypes/smartglasses/AndroidStudioProjects/Voice - xplat/ReactNative/react-native-cxx/react/renderer - xplat/rtc/media/tools/audio - xplat/security/prodsec/android/codetransparency - xplat/security/prodsec/siggy/java - xplat/simplesql/codegen/java/com - xplat/sonar/android/plugins/jetpack-compose - xplat/sonar/android/plugins/leakcanary2 - xplat/sonar/android/plugins/litho - xplat/sonar/android/plugins/retrofit2-protobuf - xplat/sonar/android/sample/src - xplat/sonar/android/src/facebook Reviewed By: dtolnay Differential Revision: D80452590 fbshipit-source-id: 2bc79edba21e913f6121a25a269c1a4258f5f31c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
89fc160151
commit
f16fee8c2e
@@ -10,7 +10,7 @@ package com.facebook.yoga
|
|||||||
public abstract class YogaConfig {
|
public abstract class YogaConfig {
|
||||||
public abstract fun setExperimentalFeatureEnabled(
|
public abstract fun setExperimentalFeatureEnabled(
|
||||||
feature: YogaExperimentalFeature,
|
feature: YogaExperimentalFeature,
|
||||||
enabled: Boolean
|
enabled: Boolean,
|
||||||
)
|
)
|
||||||
|
|
||||||
public abstract fun setUseWebDefaults(useWebDefaults: Boolean)
|
public abstract fun setUseWebDefaults(useWebDefaults: Boolean)
|
||||||
|
@@ -26,7 +26,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGConfigSetExperimentalFeatureEnabledJNI(
|
public external fun jni_YGConfigSetExperimentalFeatureEnabledJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
feature: Int,
|
feature: Int,
|
||||||
enabled: Boolean
|
enabled: Boolean,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
@@ -59,7 +59,7 @@ public object YogaNative {
|
|||||||
@JvmStatic
|
@JvmStatic
|
||||||
public external fun jni_YGNodeSetIsReferenceBaselineJNI(
|
public external fun jni_YGNodeSetIsReferenceBaselineJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
isReferenceBaseline: Boolean
|
isReferenceBaseline: Boolean,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeIsReferenceBaselineJNI(nativePointer: Long): Boolean
|
@JvmStatic public external fun jni_YGNodeIsReferenceBaselineJNI(nativePointer: Long): Boolean
|
||||||
@@ -74,7 +74,7 @@ public object YogaNative {
|
|||||||
width: Float,
|
width: Float,
|
||||||
height: Float,
|
height: Float,
|
||||||
nativePointers: LongArray,
|
nativePointers: LongArray,
|
||||||
nodes: Array<YogaNodeJNIBase>
|
nodes: Array<YogaNodeJNIBase>,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeMarkDirtyJNI(nativePointer: Long)
|
@JvmStatic public external fun jni_YGNodeMarkDirtyJNI(nativePointer: Long)
|
||||||
@@ -171,7 +171,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGNodeStyleSetMarginPercentJNI(
|
public external fun jni_YGNodeStyleSetMarginPercentJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
edge: Int,
|
edge: Int,
|
||||||
percent: Float
|
percent: Float,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeStyleSetMarginAutoJNI(nativePointer: Long, edge: Int)
|
@JvmStatic public external fun jni_YGNodeStyleSetMarginAutoJNI(nativePointer: Long, edge: Int)
|
||||||
@@ -185,7 +185,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGNodeStyleSetPaddingPercentJNI(
|
public external fun jni_YGNodeStyleSetPaddingPercentJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
edge: Int,
|
edge: Int,
|
||||||
percent: Float
|
percent: Float,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeStyleGetBorderJNI(nativePointer: Long, edge: Int): Float
|
@JvmStatic public external fun jni_YGNodeStyleGetBorderJNI(nativePointer: Long, edge: Int): Float
|
||||||
@@ -202,7 +202,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGNodeStyleSetPositionPercentJNI(
|
public external fun jni_YGNodeStyleSetPositionPercentJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
edge: Int,
|
edge: Int,
|
||||||
percent: Float
|
percent: Float,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeStyleSetPositionAutoJNI(nativePointer: Long, edge: Int)
|
@JvmStatic public external fun jni_YGNodeStyleSetPositionAutoJNI(nativePointer: Long, edge: Int)
|
||||||
@@ -305,7 +305,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGNodeStyleSetGapPercentJNI(
|
public external fun jni_YGNodeStyleSetGapPercentJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
gutter: Int,
|
gutter: Int,
|
||||||
gapLength: Float
|
gapLength: Float,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
@@ -318,7 +318,7 @@ public object YogaNative {
|
|||||||
public external fun jni_YGNodeSetStyleInputsJNI(
|
public external fun jni_YGNodeSetStyleInputsJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
styleInputsArray: FloatArray,
|
styleInputsArray: FloatArray,
|
||||||
size: Int
|
size: Int,
|
||||||
)
|
)
|
||||||
|
|
||||||
@JvmStatic public external fun jni_YGNodeCloneJNI(nativePointer: Long): Long
|
@JvmStatic public external fun jni_YGNodeCloneJNI(nativePointer: Long): Long
|
||||||
@@ -326,6 +326,6 @@ public object YogaNative {
|
|||||||
@JvmStatic
|
@JvmStatic
|
||||||
public external fun jni_YGNodeSetAlwaysFormsContainingBlockJNI(
|
public external fun jni_YGNodeSetAlwaysFormsContainingBlockJNI(
|
||||||
nativePointer: Long,
|
nativePointer: Long,
|
||||||
alwaysFormContainingBlock: Boolean
|
alwaysFormContainingBlock: Boolean,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user