SurfaceMountingManager

Constructors

Link copied to clipboard
constructor(surfaceId: Int, @NonNull jsResponderHandler: JSResponderHandler, @NonNull viewManagerRegistry: ViewManagerRegistry, @NonNull rootViewManager: RootViewManager, @NonNull mountItemExecutor: MountingManager.MountItemExecutor, @NonNull reactContext: ThemedReactContext)

Properties

Link copied to clipboard
val TAG: String

Functions

Link copied to clipboard
open fun addViewAt(parentTag: Int, tag: Int, index: Int)
Link copied to clipboard
open fun attachRootView(rootView: View, themedReactContext: ThemedReactContext)
Link copied to clipboard
open fun createView(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, @Nullable eventEmitterWrapper: EventEmitterWrapper, isLayoutable: Boolean)
Link copied to clipboard
open fun createViewUnsafe(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, @Nullable eventEmitterWrapper: EventEmitterWrapper, isLayoutable: Boolean)
Perform view creation without any safety checks.
Link copied to clipboard
open fun deleteView(reactTag: Int)
Link copied to clipboard
open fun enqueuePendingEvent(reactTag: Int, eventName: String, canCoalesceEvent: Boolean, @Nullable params: WritableMap, eventCategory: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSurfaceId(): Int
Link copied to clipboard
open fun getView(reactTag: Int): View
Link copied to clipboard
open fun getViewExists(tag: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isStopped(): Boolean
Link copied to clipboard
open fun markActiveTouchForTag(reactTag: Int)
Link copied to clipboard
open fun preallocateView(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, isLayoutable: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun receiveCommand(reactTag: Int, commandId: Int, @Nullable commandArgs: ReadableArray)
open fun receiveCommand(reactTag: Int, @NonNull commandId: String, @Nullable commandArgs: ReadableArray)
Link copied to clipboard
open fun removeViewAt(tag: Int, parentTag: Int, index: Int)
Link copied to clipboard
open fun scheduleMountItemOnViewAttach(item: MountItem)
Link copied to clipboard
open fun sendAccessibilityEvent(reactTag: Int, eventType: Int)
Link copied to clipboard
open fun setJSResponder(reactTag: Int, initialReactTag: Int, blockNativeResponder: Boolean)
Link copied to clipboard
Stop surface and all operations within it.
Link copied to clipboard
open fun sweepActiveTouchForTag(reactTag: Int)
Link copied to clipboard
open fun updateEventEmitter(reactTag: Int, @NonNull eventEmitter: EventEmitterWrapper)
We update the event emitter from the main thread when the view is mounted.
Link copied to clipboard
open fun updateLayout(reactTag: Int, parentTag: Int, x: Int, y: Int, width: Int, height: Int, displayType: Int, layoutDirection: Int)
Link copied to clipboard
open fun updateOverflowInset(reactTag: Int, overflowInsetLeft: Int, overflowInsetTop: Int, overflowInsetRight: Int, overflowInsetBottom: Int)
Link copied to clipboard
open fun updatePadding(reactTag: Int, left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun updateProps(reactTag: Int, props: ReadableMap)
Link copied to clipboard
open fun updateState(reactTag: Int, @Nullable stateWrapper: StateWrapper)