mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup and internalize FpsDebugFrameCallback (#51982)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51982 This class should not be accessed externally. I'm making it internal. On top of this, it was not fully reimplemented on NewArch so is not working consistently. This is gonna break one library which is unmaintained and not properly udpated to work with NewArch https://github.com/hannojg/react-native-performance-stats Changelog: [Android] [Breaking] - Cleanup and internalize FpsDebugFrameCallback Reviewed By: huntie Differential Revision: D76531175 fbshipit-source-id: 25598eb7c1ecf476b69bb6a2f2f8088a57b9fbc2
This commit is contained in:
1 parent
c64f698e5f
commit
cf6569bc18
2 files changed
+11
-85
No files matched your search
@@ -2747,36 +2747,6 @@ public final class com/facebook/react/modules/debug/DevSettingsModule : com/face
|
||||
public final class com/facebook/react/modules/debug/DevSettingsModule$Companion {
|
||||
}
|
||||
|
||||
public final class com/facebook/react/modules/debug/FpsDebugFrameCallback : android/view/Choreographer$FrameCallback {
|
||||
public fun <init> (Lcom/facebook/react/bridge/ReactContext;)V
|
||||
public fun doFrame (J)V
|
||||
public final fun get4PlusFrameStutters ()I
|
||||
public final fun getExpectedNumFrames ()I
|
||||
public final fun getFps ()D
|
||||
public final fun getFpsInfo (J)Lcom/facebook/react/modules/debug/FpsDebugFrameCallback$FpsInfo;
|
||||
public final fun getJsFPS ()D
|
||||
public final fun getNumFrames ()I
|
||||
public final fun getNumJSFrames ()I
|
||||
public final fun getTotalTimeMS ()I
|
||||
public final fun reset ()V
|
||||
public final fun start ()V
|
||||
public final fun start (D)V
|
||||
public static synthetic fun start$default (Lcom/facebook/react/modules/debug/FpsDebugFrameCallback;DILjava/lang/Object;)V
|
||||
public final fun startAndRecordFpsAtEachFrame ()V
|
||||
public final fun stop ()V
|
||||
}
|
||||
|
||||
public final class com/facebook/react/modules/debug/FpsDebugFrameCallback$FpsInfo {
|
||||
public fun <init> (IIIIDDI)V
|
||||
public final fun getFps ()D
|
||||
public final fun getJsFps ()D
|
||||
public final fun getTotal4PlusFrameStutters ()I
|
||||
public final fun getTotalExpectedFrames ()I
|
||||
public final fun getTotalFrames ()I
|
||||
public final fun getTotalJsFrames ()I
|
||||
public final fun getTotalTimeMs ()I
|
||||
}
|
||||
|
||||
public final class com/facebook/react/modules/debug/SourceCodeModule : com/facebook/fbreact/specs/NativeSourceCodeSpec {
|
||||
public static final field Companion Lcom/facebook/react/modules/debug/SourceCodeModule$Companion;
|
||||
public static final field NAME Ljava/lang/String;
|
||||
|
||||
Reference in new issue
Block a user