text
stringlengths
1
24.5M
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> /** * Defines a View that wants to support auto insets adjustment */ @protocol RCTAutoInsetsProtocol ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, RCTBorderCurve) { RCTBorderCurveContinuous = 0, RCTBorderCurveC...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTBorderStyle.h> #import <React/RCTDefines.h> typedef struct { CGFloat topLeftHorizon...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, RCTBorderStyle) { RCTBorderStyleUnset = 0, RCTBorderStyleSolid,...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <CoreGraphics/CoreGraphics.h> #import <Foundation/Foundation.h> /** * These block types can be used for mapping input ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <React/RCTComponent.h> #import <React/RCTDefines.h> #import <React/RCTViewManager.h> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <CoreLocation/CoreLocation.h> #import <React/RCTConvert.h> @interface RCTConvert (CoreLocation) + (CLLocationDegrees)C...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTConvert.h> #import "UIView+React.h" @interface RCTConvert (Transform) + (CATransform3D)CATransform3D:(id)json...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, RCTCursor) { RCTCursorAuto, RCTCursorPointer, };
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTView.h> @interface TraceUpdateTuple : NSObject @property (nonatomic, strong, readonl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This API will be removed along with ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTDefines.h> NS_ASSUME_NONNULL_BEGIN RCT_EXTERN UIFont *__nullable RCTGetLegacyDefault...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <React/RCTConvert.h> typedef UIFont * (^RCTFontHandler)(CGFloat fontSize, NSString *f...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTDefines.h> #import <yoga/Yoga.h> NS_ASSUME_NONNULL_BEGIN @class RCTShadowView; type...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTInvalidating.h> #import <React/RCTModalHostViewManager...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This API will be removed along with the legac...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTConvert.h> #import <React/RCTInvalidating.h> #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTBridgeModule.h> #import <React/RCTEventEmitter.h> __a...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, RCTPointerEvents) { RCTPointerEventsUnspecified = 0, // Default ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTShadowView.h> #import <yoga/YGEnums.h> __attribute__((deprecated("This API will be removed along with the lega...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTShadowView.h> @class RCTRootShadowView; @interface RCTShadowView (Internal) @proper...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTShadowView.h> @interface RCTShadowView (Layout) #pragma mark - Computed Layout-Infer...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTComponent.h> // Keeps RCTConvert.h here before yoga for clang module to generate corre...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTComponent.h> __attribute__((deprecated("This API will...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This API will be removed along with ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, RCTTextDecorationLineType) { RCTTextDecorationLineTypeNone = 0, ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTBorderCurve.h> #import <React/RCTBorderStyle.h> #import <React/RCTComponent.h> #import...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTBridgeModule.h> #import <React/RCTConvert.h> #import <React/RCTDefines.h> #import <Rea...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTDefines.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN RCT_EXTERN_C_BEGIN UIEdgeInsets RCTContentInsets(...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> @class RCTWrapperViewController; @interface RCTWrapperViewController : UIViewController - (instancetyp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> @interface UIView (Private) // remove clipped subviews implementation - (void)react_remountAllSubviews;...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <React/RCTComponent.h> #import <React/RCTConvert.h> #import <yoga/YGEnums.h> @class RCTShadowVi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTComponent.h> #import <UIKit/UIKit.h> /** * Protocol used to dispatch commands in `RCTRefreshControlManager.h`...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTComponent.h> #import <React/RCTScrollableProtocol.h> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This API will be removed along with ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTShadowView.h> #ifndef RCT_REMOVE_LEGACY_ARCH NS_ASSUME_NONNULL_BEGIN __attribute__((deprecated("This API wil...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTView.h> NS_ASSUME_NONNULL_BEGIN @class RCTBridge; _...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH NS_ASSUME_NONNULL_BEGIN __attribute__((deprecated("This API will be rem...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH NS_ASSUME_NONNULL_BEGIN __attribute__((deprecated("This API wi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTComponent.h> #import <UIKit/UIKit.h> /** * Contains any methods related to scrolling. Any `RCTView` that has ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTShadowView.h> __attribute__((deprecated("This API wil...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTView.h> __attribute__((deprecated("This API will be r...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This API will be removed along with ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <React/RCTEventDispatcherProtocol.h> @interface RCTScrollEvent : NSObject <RCTEvent> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIScrollView.h> #ifndef RCT_REMOVE_LEGACY_ARCH #import <React/RCTAutoInsetsProtocol.h> #import <React/RCTDefines...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <React/RCTConvert.h> #import <React/RCTViewManager.h> #ifndef RCT_REMOVE_LEGACY_ARCH __attribute__((deprecated("This AP...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // This C++ file is part of the default configuration used by apps and is placed // inside react-native to encapsulate it from us...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "fb/glog_init.h" #include <iostream> #include <mutex> #include <stdexcept> #include <glog/logging.h> #ifdef __ANDROID...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> namespace facebook::gloginit { void initialize(const char *tag = "ReactNativeJNI"); }
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifdef __ANDROID__ #include_next <jni.h> #else #include "real/jni.h" #endif
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // To be linked into merged libraries. #define _GNU_SOURCE #include <assert.h> #include <ctype.h> #include <stdlib.h> #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jni.h> #include <stddef.h> #ifdef JNI_MERGE_PRINT_ONLOAD #ifdef __ANDROID__ #include <android/log.h> #de...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "common.h" namespace facebook::yoga::vanillajni { void registerNatives( JNIEnv* env, const char* className, ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "ScopedGlobalRef.h" #include "ScopedLocalRef.h" namespace facebook::yoga::vanillajni { /** * Registers a...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "corefunctions.h" #include "YogaJniException.h" #include "macros.h" namespace facebook::yoga::vanillajni { namespace {...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jni.h> #include <cstddef> namespace facebook::yoga::vanillajni { /** * This method has to be called be...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <stack> #include "LayoutContext.h" namespace facebook::yoga::vanillajni { namespace { std::stack<PtrJNodeMapVanilla*>...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <yoga/Yoga.h> #include "YGJTypesVanilla.h" namespace facebook::yoga::vanillajni { // TODO: This should n...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cstdlib> #ifdef __ANDROID__ #include <android/log.h> #endif #ifdef __ANDROID__ #define VANILLAJNI_LOG_E...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jni.h> #include <cstddef> #include <type_traits> #include "corefunctions.h" namespace facebook::yoga::va...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * This is a modified version of Android's ScopedLocalRef class that can be * found in the Android's JNI code. */ #pragma o...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <yoga/Yoga.h> const short int LAYOUT_EDGE_SET_FLAG_INDEX = 0; const short int LAYOUT_WIDTH_INDEX = 1; const short int L...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "YGJNIVanilla.h" #include <bit> #include <cstring> #include <iostream> #include <memory> #include "LayoutContext.h" #inc...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "jni.h" namespace YGJNIVanilla { void registerNatives(JNIEnv* env); };
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <map> #include <vector> #include <yoga/Yoga.h> #include "common.h" #include "jni.h" class PtrJNodeMapVa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "YGJNIVanilla.h" #include "common.h" using namespace facebook::yoga; jint JNI_OnLoad(JavaVM* vm, void* /*unused*/) { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "YogaJniException.h" #include <stdexcept> #include <string> #include "common.h" namespace facebook::yoga::vanillajni { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <stdexcept> #include <string> #include "common.h" namespace facebook::yoga::vanillajni { /** * This class wraps a Java...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JCxxInspectorPackagerConnection.h" #include <fbjni/NativeRunnable.h> using namespace facebook::jni; namespace facebo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "JCxxInspectorPackagerConnectionDelegateImpl.h" #include <fbjni/fbjni.h> #include <jsinspector-modern/Ins...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JCxxInspectorPackagerConnectionDelegateImpl.h" #include "JCxxInspectorPackagerConnectionWebSocket.h" #include "JCxxInsp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/InspectorPackagerConnection.h> #include <chrono> #include <f...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/ByteBuffer.h> #include "JCxxInspectorPackagerConnectionWebSocket.h" using namespace facebook::jni; using namesp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/InspectorPackagerConnection.h> #include <memory> namespace ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JCxxInspectorPackagerConnectionWebSocketDelegate.h" #include <optional> #include <utility> using namespace facebook::...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/InspectorPackagerConnection.h> #include <memory> #include <s...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JFrameTiming.h" #include <jsinspector-modern/tracing/PerformanceTracer.h> #include <react/timing/primitives.h> namesp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react::jsinspector_modern { /** * JNI wrapper for reporting frame t...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JInspectorFlags.h" #include <jsinspector-modern/InspectorFlags.h> namespace facebook::react::jsinspector_modern { bo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react::jsinspector_modern { /** * JNI wrapper for `jsinspector_mode...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JInspectorNetworkReporter.h" #include <react/networking/NetworkReporter.h> #include <cstddef> #include <string> #ifde...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> namespace facebook::react::jsinspector_modern { class JInspectorNetworkReporter : public...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JCxxInspectorPackagerConnection.h" #include "JCxxInspectorPackagerConnectionWebSocketDelegate.h" #include "JFrameTiming...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <jsi/jsi.h> #include <react/renderer/core/EventBeat.h> #include <react/renderer/uimanager/primitives.h> #include "Andro...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/core/EventBeat.h> #include "EventBeatManager.h" namespace facebook::react { class Andro...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once // This header exists for backwards compatibility with libraries importing // <react/fabric/Binding.h> #include "Fa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ComponentFactory.h" #include <android/log.h> #include <fbjni/fbjni.h> #include <jsi/jsi.h> #include <react/renderer/com...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/renderer/componentregistry/ComponentDescriptorFactory.h> #include <react/r...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CoreComponentsRegistry.h" #include <android/log.h> #include <react/renderer/componentregistry/ComponentDescriptorRegi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h> namespace facebook::react::CoreC...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "EventBeatManager.h" using namespace facebook::jni; namespace facebook::react { void EventBeatManager::initHybrid(jni...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <mutex> #include <unordered_set> #include <fbjni/fbjni.h> namespace facebook::react { class EventBeatMa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "EventEmitterWrapper.h" #include <fbjni/fbjni.h> #include <utility> using namespace facebook::jni; namespace facebook...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/jni/ReadableNativeMap.h> #include <react/renderer/core/EventEmitter.h> na...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FabricMountingManager.h" #include "EventEmitterWrapper.h" #include "MountItem.h" #include "StateWrapperImpl.h" #inclu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <mutex> #include <unordered_map> #include <unordered_set> #include <fbjni/fbjni.h> #include <react/fabric...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FabricUIManagerBinding.h" #include "AndroidEventBeat.h" #include "ComponentFactory.h" #include "EventBeatManager.h" #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <mutex> #include <shared_mutex> #include <unordered_map> #include <fbjni/fbjni.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FocusOrderingHelper.h" #include <android/log.h> #include <react/renderer/uimanager/UIManager.h> namespace facebook::re...