Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java/com/facebook/yoga/YogaConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package com.facebook.yoga
public abstract class YogaConfig {
public abstract fun setExperimentalFeatureEnabled(
feature: YogaExperimentalFeature,
enabled: Boolean
enabled: Boolean,
)

public abstract fun setUseWebDefaults(useWebDefaults: Boolean)
Expand Down
18 changes: 9 additions & 9 deletions java/com/facebook/yoga/YogaNative.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public object YogaNative {
public external fun jni_YGConfigSetExperimentalFeatureEnabledJNI(
nativePointer: Long,
feature: Int,
enabled: Boolean
enabled: Boolean,
)

@JvmStatic
Expand Down Expand Up @@ -59,7 +59,7 @@ public object YogaNative {
@JvmStatic
public external fun jni_YGNodeSetIsReferenceBaselineJNI(
nativePointer: Long,
isReferenceBaseline: Boolean
isReferenceBaseline: Boolean,
)

@JvmStatic public external fun jni_YGNodeIsReferenceBaselineJNI(nativePointer: Long): Boolean
Expand All @@ -74,7 +74,7 @@ public object YogaNative {
width: Float,
height: Float,
nativePointers: LongArray,
nodes: Array<YogaNodeJNIBase>
nodes: Array<YogaNodeJNIBase>,
)

@JvmStatic public external fun jni_YGNodeMarkDirtyJNI(nativePointer: Long)
Expand Down Expand Up @@ -171,7 +171,7 @@ public object YogaNative {
public external fun jni_YGNodeStyleSetMarginPercentJNI(
nativePointer: Long,
edge: Int,
percent: Float
percent: Float,
)

@JvmStatic public external fun jni_YGNodeStyleSetMarginAutoJNI(nativePointer: Long, edge: Int)
Expand All @@ -185,7 +185,7 @@ public object YogaNative {
public external fun jni_YGNodeStyleSetPaddingPercentJNI(
nativePointer: Long,
edge: Int,
percent: Float
percent: Float,
)

@JvmStatic public external fun jni_YGNodeStyleGetBorderJNI(nativePointer: Long, edge: Int): Float
Expand All @@ -202,7 +202,7 @@ public object YogaNative {
public external fun jni_YGNodeStyleSetPositionPercentJNI(
nativePointer: Long,
edge: Int,
percent: Float
percent: Float,
)

@JvmStatic public external fun jni_YGNodeStyleSetPositionAutoJNI(nativePointer: Long, edge: Int)
Expand Down Expand Up @@ -305,7 +305,7 @@ public object YogaNative {
public external fun jni_YGNodeStyleSetGapPercentJNI(
nativePointer: Long,
gutter: Int,
gapLength: Float
gapLength: Float,
)

@JvmStatic
Expand All @@ -318,14 +318,14 @@ public object YogaNative {
public external fun jni_YGNodeSetStyleInputsJNI(
nativePointer: Long,
styleInputsArray: FloatArray,
size: Int
size: Int,
)

@JvmStatic public external fun jni_YGNodeCloneJNI(nativePointer: Long): Long

@JvmStatic
public external fun jni_YGNodeSetAlwaysFormsContainingBlockJNI(
nativePointer: Long,
alwaysFormContainingBlock: Boolean
alwaysFormContainingBlock: Boolean,
)
}
Loading