Loading api/test-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -44484,10 +44484,13 @@ package android.view { } public final class Choreographer { method public static long getFrameDelay(); method public static android.view.Choreographer getInstance(); method public void postFrameCallback(android.view.Choreographer.FrameCallback); method public void postFrameCallbackDelayed(android.view.Choreographer.FrameCallback, long); method public void removeFrameCallback(android.view.Choreographer.FrameCallback); method public static void setFrameDelay(long); field public static final int CALLBACK_ANIMATION = 1; // 0x1 } public static abstract interface Choreographer.FrameCallback { core/java/android/view/Choreographer.java +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.view; import static android.view.DisplayEventReceiver.VSYNC_SOURCE_APP; import static android.view.DisplayEventReceiver.VSYNC_SOURCE_SURFACE_FLINGER; import android.annotation.TestApi; import android.hardware.display.DisplayManagerGlobal; import android.os.Handler; import android.os.Looper; Loading Loading @@ -195,6 +196,7 @@ public final class Choreographer { * Callback type: Animation callback. Runs before traversals. * @hide */ @TestApi public static final int CALLBACK_ANIMATION = 1; /** Loading Loading @@ -286,6 +288,7 @@ public final class Choreographer { * @return the requested time between frames, in milliseconds * @hide */ @TestApi public static long getFrameDelay() { return sFrameDelay; } Loading @@ -305,6 +308,7 @@ public final class Choreographer { * @param frameDelay the requested time between frames, in milliseconds * @hide */ @TestApi public static void setFrameDelay(long frameDelay) { sFrameDelay = frameDelay; } Loading Loading
api/test-current.txt +3 −0 Original line number Diff line number Diff line Loading @@ -44484,10 +44484,13 @@ package android.view { } public final class Choreographer { method public static long getFrameDelay(); method public static android.view.Choreographer getInstance(); method public void postFrameCallback(android.view.Choreographer.FrameCallback); method public void postFrameCallbackDelayed(android.view.Choreographer.FrameCallback, long); method public void removeFrameCallback(android.view.Choreographer.FrameCallback); method public static void setFrameDelay(long); field public static final int CALLBACK_ANIMATION = 1; // 0x1 } public static abstract interface Choreographer.FrameCallback {
core/java/android/view/Choreographer.java +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.view; import static android.view.DisplayEventReceiver.VSYNC_SOURCE_APP; import static android.view.DisplayEventReceiver.VSYNC_SOURCE_SURFACE_FLINGER; import android.annotation.TestApi; import android.hardware.display.DisplayManagerGlobal; import android.os.Handler; import android.os.Looper; Loading Loading @@ -195,6 +196,7 @@ public final class Choreographer { * Callback type: Animation callback. Runs before traversals. * @hide */ @TestApi public static final int CALLBACK_ANIMATION = 1; /** Loading Loading @@ -286,6 +288,7 @@ public final class Choreographer { * @return the requested time between frames, in milliseconds * @hide */ @TestApi public static long getFrameDelay() { return sFrameDelay; } Loading @@ -305,6 +308,7 @@ public final class Choreographer { * @param frameDelay the requested time between frames, in milliseconds * @hide */ @TestApi public static void setFrameDelay(long frameDelay) { sFrameDelay = frameDelay; } Loading