Package-level declarations
Types
BackgroundStyleApplicator is responsible for applying backgrounds, borders, and related effects, to an Android view
This is a base implementation of ViewManagerDelegate which supports setting properties that every view should support, such as rotation, background color, etc.
Holds an instance of the current DisplayMetrics so we don't have to thread it through all the classes that need it.
Abstract base for a Choreographer FrameCallback that should have any RuntimeExceptions it throws handled by the JSExceptionHandler registered if the app is in dev mode.
An exception caused by JS requesting the UI manager to perform an illegal view operation.
Interface providing children management API for view managers of classes extending ViewGroup.
Provides helper methods for converting transform operations into a matrix and then into a list of translate, scale and rotate commands.
Shared utility for asserting on MeasureSpecs.
Event used to notify JS component about changes of its position or dimensions.
Possible values for pointer events that a view and its descendants should receive. See https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events for more info.
Some Views may not function if added directly to a ViewGroup that clips them. For example, TTRC markers may rely on onDraw
functionality to work properly, and will break if they're clipped out of the View hierarchy for any resaon.
Interface that should be implemented by View subclasses that support removeClippedSubviews
property. When this property is set for the ViewGroup subclass it's responsible for detaching it's child views that are clipped by the view boundaries. Those view boundaries should be determined based on it's parent clipping area and current view's offset in parent and doesn't necessarily reflect the view visible area (in a sense of a value that View.getGlobalVisibleRect may return). In order to determine the clipping rect for current view helper method ReactClippingViewGroupHelper.calculateClippingRect can be used that takes into account parent view settings.
removeClippedSubviews
.This interface should be implemented by native View subclasses that can represent more than a single react node (e.g. TextView). It is use by touch event emitter for determining the react tag of the inner-view element that was touched.
This interface should be implemented by native ViewGroup subclasses that can represent more than a single react node. In that case, virtual and non-virtual (mapping to a View) elements can overlap, and TouchTargetHelper may incorrectly dispatch touch event to a wrong element because it prioritizes children over parents.
Interface that should be implemented by View subclasses that support overflow style. This allows the overflow information to be used by TouchTargetHelper to determine if a View is touchable.
This interface should be implemented by native View subclasses that support pointer events handling. It is used to find the target View of a touch event.
Incremental counter for React Root View tag.
The stage of the Surface
ViewGroup that supports z-index.
Common base class for most of the ViewManagers. It provides support for most common properties through extending BaseViewManager. It also reduces boilerplate by specifying the type of shadow node to be ReactShadowNode and providing default, empty implementation for some of the methods of ViewManager interface.
Class representing CSS spacing (padding, margin, and borders). This is mostly necessary to properly implement interactions and updates for properties like margin, marginLeft, and marginHorizontal.
This is a wrapper that can be used for passing State objects from Fabric C++ core to platform-specific components in Java. State allows you to break out of uni-directional dataflow by calling updateState, which communicates state back to the C++ layer.
Listener used to hook into the UIManager update process.
Data structure that couples view tag to it's index in parent view. Used for managing children operation.
Default property values for Views to be shared between Views and ShadowViews.
This is an interface that must be implemented by classes that wish to take over the responsibility of setting properties of all views managed by the view manager and executing view commands.
Enables lazy discovery of a specific ViewManager by its name.
Marker interface to be extended by all code-generated ViewManagerInterface.