Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<6ee52545e85d6c96c00087c3dd3d2b91>>
* @generated SignedSource<<9a675a67a9ce5e7ca443dd319e2af91a>>
*/

/**
Expand Down Expand Up @@ -90,12 +90,6 @@ public object ReactNativeFeatureFlags {
@JvmStatic
public fun disableMountItemReorderingAndroid(): Boolean = accessor.disableMountItemReorderingAndroid()

/**
* Force disable subview clipping for ReactViewGroup on Android
*/
@JvmStatic
public fun disableSubviewClippingAndroid(): Boolean = accessor.disableSubviewClippingAndroid()

/**
* Turns off the global measurement cache used by TextLayoutManager on Android.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<650b684ffd6117e349156de6598035e3>>
* @generated SignedSource<<6b668cbb1ef60126d7e08b2d853b1262>>
*/

/**
Expand All @@ -30,7 +30,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
private var disableIdleMountItemFrameCallbackRearmAndroidCache: Boolean? = null
private var disableImageViewPreallocationAndroidCache: Boolean? = null
private var disableMountItemReorderingAndroidCache: Boolean? = null
private var disableSubviewClippingAndroidCache: Boolean? = null
private var disableTextLayoutManagerCacheAndroidCache: Boolean? = null
private var disableViewPreallocationAndroidCache: Boolean? = null
private var enableAccessibilityOrderCache: Boolean? = null
Expand Down Expand Up @@ -215,15 +214,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
return cached
}

override fun disableSubviewClippingAndroid(): Boolean {
var cached = disableSubviewClippingAndroidCache
if (cached == null) {
cached = ReactNativeFeatureFlagsCxxInterop.disableSubviewClippingAndroid()
disableSubviewClippingAndroidCache = cached
}
return cached
}

override fun disableTextLayoutManagerCacheAndroid(): Boolean {
var cached = disableTextLayoutManagerCacheAndroidCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<511d3d1110dd38f9dae019b4cc26000b>>
* @generated SignedSource<<0890a0b7979d00172b0a79abd94f6c3e>>
*/

/**
Expand Down Expand Up @@ -48,8 +48,6 @@ public object ReactNativeFeatureFlagsCxxInterop {

@DoNotStrip @JvmStatic public external fun disableMountItemReorderingAndroid(): Boolean

@DoNotStrip @JvmStatic public external fun disableSubviewClippingAndroid(): Boolean

@DoNotStrip @JvmStatic public external fun disableTextLayoutManagerCacheAndroid(): Boolean

@DoNotStrip @JvmStatic public external fun disableViewPreallocationAndroid(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<48d155fc648fd425ad85f950771c122c>>
* @generated SignedSource<<3ca183dbeeb3fdeac98780267df9dff2>>
*/

/**
Expand Down Expand Up @@ -43,8 +43,6 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun disableMountItemReorderingAndroid(): Boolean = false

override fun disableSubviewClippingAndroid(): Boolean = false

override fun disableTextLayoutManagerCacheAndroid(): Boolean = false

override fun disableViewPreallocationAndroid(): Boolean = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<755f4d7a47ce52392948a9c60f73afa6>>
* @generated SignedSource<<ba5e55492e7f521229dd62ac1274924e>>
*/

/**
Expand Down Expand Up @@ -34,7 +34,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
private var disableIdleMountItemFrameCallbackRearmAndroidCache: Boolean? = null
private var disableImageViewPreallocationAndroidCache: Boolean? = null
private var disableMountItemReorderingAndroidCache: Boolean? = null
private var disableSubviewClippingAndroidCache: Boolean? = null
private var disableTextLayoutManagerCacheAndroidCache: Boolean? = null
private var disableViewPreallocationAndroidCache: Boolean? = null
private var enableAccessibilityOrderCache: Boolean? = null
Expand Down Expand Up @@ -229,16 +228,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
return cached
}

override fun disableSubviewClippingAndroid(): Boolean {
var cached = disableSubviewClippingAndroidCache
if (cached == null) {
cached = currentProvider.disableSubviewClippingAndroid()
accessedFeatureFlags.add("disableSubviewClippingAndroid")
disableSubviewClippingAndroidCache = cached
}
return cached
}

override fun disableTextLayoutManagerCacheAndroid(): Boolean {
var cached = disableTextLayoutManagerCacheAndroidCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<43bf244bab835c8890910c4e3d00bdec>>
* @generated SignedSource<<8d21b1b7d2bd5c5fe3a111c0d411f742>>
*/

/**
Expand Down Expand Up @@ -43,8 +43,6 @@ public interface ReactNativeFeatureFlagsProvider {

@DoNotStrip public fun disableMountItemReorderingAndroid(): Boolean

@DoNotStrip public fun disableSubviewClippingAndroid(): Boolean

@DoNotStrip public fun disableTextLayoutManagerCacheAndroid(): Boolean

@DoNotStrip public fun disableViewPreallocationAndroid(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<26984d266b1f68d96ace6c23903b9d4a>>
* @generated SignedSource<<fed02254c80f001c5de5b8df9353b2ba>>
*/

/**
Expand Down Expand Up @@ -99,12 +99,6 @@ class ReactNativeFeatureFlagsJavaProvider
return method(javaProvider_);
}

bool disableSubviewClippingAndroid() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("disableSubviewClippingAndroid");
return method(javaProvider_);
}

bool disableTextLayoutManagerCacheAndroid() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("disableTextLayoutManagerCacheAndroid");
Expand Down Expand Up @@ -717,11 +711,6 @@ bool JReactNativeFeatureFlagsCxxInterop::disableMountItemReorderingAndroid(
return ReactNativeFeatureFlags::disableMountItemReorderingAndroid();
}

bool JReactNativeFeatureFlagsCxxInterop::disableSubviewClippingAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::disableSubviewClippingAndroid();
}

bool JReactNativeFeatureFlagsCxxInterop::disableTextLayoutManagerCacheAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::disableTextLayoutManagerCacheAndroid();
Expand Down Expand Up @@ -1248,9 +1237,6 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
makeNativeMethod(
"disableMountItemReorderingAndroid",
JReactNativeFeatureFlagsCxxInterop::disableMountItemReorderingAndroid),
makeNativeMethod(
"disableSubviewClippingAndroid",
JReactNativeFeatureFlagsCxxInterop::disableSubviewClippingAndroid),
makeNativeMethod(
"disableTextLayoutManagerCacheAndroid",
JReactNativeFeatureFlagsCxxInterop::disableTextLayoutManagerCacheAndroid),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<f363974d68125d206d18589632a4d717>>
* @generated SignedSource<<beae68275d923b3d5981340a6861348d>>
*/

/**
Expand Down Expand Up @@ -60,9 +60,6 @@ class JReactNativeFeatureFlagsCxxInterop
static bool disableMountItemReorderingAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool disableSubviewClippingAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool disableTextLayoutManagerCacheAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<db35aac5a4331da133025d422bf44a85>>
* @generated SignedSource<<44185d291de75775e5b1b41fc6aacb8c>>
*/

/**
Expand Down Expand Up @@ -66,10 +66,6 @@ bool ReactNativeFeatureFlags::disableMountItemReorderingAndroid() {
return getAccessor().disableMountItemReorderingAndroid();
}

bool ReactNativeFeatureFlags::disableSubviewClippingAndroid() {
return getAccessor().disableSubviewClippingAndroid();
}

bool ReactNativeFeatureFlags::disableTextLayoutManagerCacheAndroid() {
return getAccessor().disableTextLayoutManagerCacheAndroid();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<bd4dd18dfd7fd3107ee1151bfcceeb82>>
* @generated SignedSource<<399726570a1c326455da3a015add1d9b>>
*/

/**
Expand Down Expand Up @@ -91,11 +91,6 @@ class ReactNativeFeatureFlags {
*/
RN_EXPORT static bool disableMountItemReorderingAndroid();

/**
* Force disable subview clipping for ReactViewGroup on Android
*/
RN_EXPORT static bool disableSubviewClippingAndroid();

/**
* Turns off the global measurement cache used by TextLayoutManager on Android.
*/
Expand Down
Loading
Loading