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<<76de3194871662436634e25b8485341e>>
* @generated SignedSource<<3c2494d2482efe3dded741dd746d4309>>
*/

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

/**
* Force disable view preallocation for images triggered from createNode off the main thread on Android
*/
@JvmStatic
public fun disableImageViewPreallocationAndroid(): Boolean = accessor.disableImageViewPreallocationAndroid()

/**
* Prevent FabricMountingManager from reordering mountItems, which may lead to invalid state on the UI thread
*/
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<<9b5e3dd88d7b506366fe255d80b17d3c>>
* @generated SignedSource<<14682373d73e29327ec3c39882e59af5>>
*/

/**
Expand All @@ -27,7 +27,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
private var disableEarlyViewCommandExecutionCache: Boolean? = null
private var disableIdleEventDispatchFrameCallbackRearmAndroidCache: Boolean? = null
private var disableIdleMountItemFrameCallbackRearmAndroidCache: Boolean? = null
private var disableImageViewPreallocationAndroidCache: Boolean? = null
private var disableMountItemReorderingAndroidCache: Boolean? = null
private var disableTextLayoutManagerCacheAndroidCache: Boolean? = null
private var disableViewPreallocationAndroidCache: Boolean? = null
Expand Down Expand Up @@ -187,15 +186,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
return cached
}

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

override fun disableMountItemReorderingAndroid(): Boolean {
var cached = disableMountItemReorderingAndroidCache
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<<d61dce9d52b51e0a00144d0f9f6b330e>>
* @generated SignedSource<<bf090f6eea05b190d2f1ec51e5a0643a>>
*/

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

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

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

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

@DoNotStrip @JvmStatic public external fun disableTextLayoutManagerCacheAndroid(): 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<<b7d74a3f02bd03cdb690692033bfa634>>
* @generated SignedSource<<d7d3d71a9022be2e753263699b3e2ec0>>
*/

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

override fun disableIdleMountItemFrameCallbackRearmAndroid(): Boolean = false

override fun disableImageViewPreallocationAndroid(): Boolean = false

override fun disableMountItemReorderingAndroid(): Boolean = false

override fun disableTextLayoutManagerCacheAndroid(): 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<<fc376313e5c15a111d04d1a680fe23f5>>
* @generated SignedSource<<d09180773543b2c01eeeced9ec2205a7>>
*/

/**
Expand All @@ -31,7 +31,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
private var disableEarlyViewCommandExecutionCache: Boolean? = null
private var disableIdleEventDispatchFrameCallbackRearmAndroidCache: Boolean? = null
private var disableIdleMountItemFrameCallbackRearmAndroidCache: Boolean? = null
private var disableImageViewPreallocationAndroidCache: Boolean? = null
private var disableMountItemReorderingAndroidCache: Boolean? = null
private var disableTextLayoutManagerCacheAndroidCache: Boolean? = null
private var disableViewPreallocationAndroidCache: Boolean? = null
Expand Down Expand Up @@ -198,16 +197,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
return cached
}

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

override fun disableMountItemReorderingAndroid(): Boolean {
var cached = disableMountItemReorderingAndroidCache
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<<3bbe32435500fc5b114f4c2781d62335>>
* @generated SignedSource<<bedaafe067d7c527f3c3d7b834f31888>>
*/

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

@DoNotStrip public fun disableIdleMountItemFrameCallbackRearmAndroid(): Boolean

@DoNotStrip public fun disableImageViewPreallocationAndroid(): Boolean

@DoNotStrip public fun disableMountItemReorderingAndroid(): Boolean

@DoNotStrip public fun disableTextLayoutManagerCacheAndroid(): 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<<c3a2dca0c66d20793b969aba3a95c95c>>
* @generated SignedSource<<b6a5b98eda5fd2c8d06bc3812d85fd18>>
*/

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

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

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

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

bool JReactNativeFeatureFlagsCxxInterop::disableMountItemReorderingAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::disableMountItemReorderingAndroid();
Expand Down Expand Up @@ -1228,9 +1217,6 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
makeNativeMethod(
"disableIdleMountItemFrameCallbackRearmAndroid",
JReactNativeFeatureFlagsCxxInterop::disableIdleMountItemFrameCallbackRearmAndroid),
makeNativeMethod(
"disableImageViewPreallocationAndroid",
JReactNativeFeatureFlagsCxxInterop::disableImageViewPreallocationAndroid),
makeNativeMethod(
"disableMountItemReorderingAndroid",
JReactNativeFeatureFlagsCxxInterop::disableMountItemReorderingAndroid),
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<<0af9522f02a71959936872cbcceb4416>>
* @generated SignedSource<<61b3685bb0e41ac62de7cef4927b577c>>
*/

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

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

static bool disableMountItemReorderingAndroid(
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<<da249cc6a0786db45dfe78ea379608a2>>
* @generated SignedSource<<81cd9f64e05f8e5d59eb79c0ecfeda86>>
*/

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

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

bool ReactNativeFeatureFlags::disableMountItemReorderingAndroid() {
return getAccessor().disableMountItemReorderingAndroid();
}
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<<426c3b0a032da06ae64790ad3a2eaacc>>
* @generated SignedSource<<8dca25c44632b8b14c5cdac75a3f36f8>>
*/

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

/**
* Force disable view preallocation for images triggered from createNode off the main thread on Android
*/
RN_EXPORT static bool disableImageViewPreallocationAndroid();

/**
* Prevent FabricMountingManager from reordering mountItems, which may lead to invalid state on the UI thread
*/
Expand Down
Loading
Loading