mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
More markers for view operations
Reviewed By: astreet Differential Revision: D2679126 fb-gh-sync-id: 882e815a7551d23b4594fdc2dd257b4f1cdbbab7
This commit is contained in:
committed by
facebook-github-bot-8
parent
27f2e08a6c
commit
0f98dedefe
@@ -113,10 +113,12 @@ public class UIViewOperationQueue {
|
||||
mY = y;
|
||||
mWidth = width;
|
||||
mHeight = height;
|
||||
Systrace.startAsyncFlow(Systrace.TRACE_TAG_REACT_VIEW, "updateLayout", mTag);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
Systrace.endAsyncFlow(Systrace.TRACE_TAG_REACT_VIEW, "updateLayout", mTag);
|
||||
mNativeViewHierarchyManager.updateLayout(mParentTag, mTag, mX, mY, mWidth, mHeight);
|
||||
}
|
||||
}
|
||||
@@ -136,10 +138,12 @@ public class UIViewOperationQueue {
|
||||
mThemedContext = themedContext;
|
||||
mClassName = className;
|
||||
mInitialProps = initialProps;
|
||||
Systrace.startAsyncFlow(Systrace.TRACE_TAG_REACT_VIEW, "createView", mTag);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
Systrace.endAsyncFlow(Systrace.TRACE_TAG_REACT_VIEW, "createView", mTag);
|
||||
mNativeViewHierarchyManager.createView(
|
||||
mThemedContext,
|
||||
mTag,
|
||||
|
||||
Reference in New Issue
Block a user