Litho UIImplementation

Reviewed By: marco-cova

Differential Revision: D5880274

fbshipit-source-id: e6741579d3de6090dea8d26cd07241d57adba84d
This commit is contained in:
Andrew Chen (Eng)
2017-10-04 08:23:09 -07:00
committed by Facebook Github Bot
parent d07279c978
commit 7677af1d10
3 changed files with 8 additions and 7 deletions

View File

@@ -44,14 +44,14 @@ import javax.annotation.Nullable;
*/
public class UIImplementation {
protected final EventDispatcher mEventDispatcher;
protected final ReactApplicationContext mReactContext;
protected final ShadowNodeRegistry mShadowNodeRegistry = new ShadowNodeRegistry();
private final Set<Integer> mMeasuredRootNodes = new HashSet<>();
private final ShadowNodeRegistry mShadowNodeRegistry = new ShadowNodeRegistry();
private final ViewManagerRegistry mViewManagers;
private final UIViewOperationQueue mOperationsQueue;
private final NativeViewHierarchyOptimizer mNativeViewHierarchyOptimizer;
private final int[] mMeasureBuffer = new int[4];
private final ReactApplicationContext mReactContext;
protected final EventDispatcher mEventDispatcher;
private long mLastCalculateLayoutTime = 0;