mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
Move PerformanceLoggerFlag to onDraw
Differential Revision: D2585417 fb-gh-sync-id: 342f7a05dc53cb0af0871b0dc8504dc48680cde4
This commit is contained in:
parent
f916ec26a6
commit
2b491b45c8
@ -26,15 +26,21 @@ import com.facebook.react.common.ReactConstants;
|
|||||||
public class ReactChoreographer {
|
public class ReactChoreographer {
|
||||||
|
|
||||||
public static enum CallbackType {
|
public static enum CallbackType {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* For use by perf markers that need to happen immediately after draw
|
||||||
|
*/
|
||||||
|
PERF_MARKERS(0),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For use by {@link com.facebook.react.uimanager.UIManagerModule}
|
* For use by {@link com.facebook.react.uimanager.UIManagerModule}
|
||||||
*/
|
*/
|
||||||
DISPATCH_UI(0),
|
DISPATCH_UI(1),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Events that make JS do things.
|
* Events that make JS do things.
|
||||||
*/
|
*/
|
||||||
TIMERS_EVENTS(1),
|
TIMERS_EVENTS(2),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final int mOrder;
|
private final int mOrder;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user