Skip to content

Commit 1957fd2

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Add public API to Choreographer." into jb-dev
2 parents 084c63e + cae8049 commit 1957fd2

File tree

3 files changed

+257
-62
lines changed

3 files changed

+257
-62
lines changed

api/16.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22737,6 +22737,17 @@ package android.view {
2273722737
method public void onPrepareSubMenu(android.view.SubMenu);
2273822738
}
2273922739

22740+
public final class Choreographer {
22741+
method public static android.view.Choreographer getInstance();
22742+
method public void postFrameCallback(android.view.Choreographer.FrameCallback);
22743+
method public void postFrameCallbackDelayed(android.view.Choreographer.FrameCallback, long);
22744+
method public void removeFrameCallback(android.view.Choreographer.FrameCallback);
22745+
}
22746+
22747+
public static abstract interface Choreographer.FrameCallback {
22748+
method public abstract void doFrame(long);
22749+
}
22750+
2274022751
public abstract interface CollapsibleActionView {
2274122752
method public abstract void onActionViewCollapsed();
2274222753
method public abstract void onActionViewExpanded();

api/current.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22737,6 +22737,17 @@ package android.view {
2273722737
method public void onPrepareSubMenu(android.view.SubMenu);
2273822738
}
2273922739

22740+
public final class Choreographer {
22741+
method public static android.view.Choreographer getInstance();
22742+
method public void postFrameCallback(android.view.Choreographer.FrameCallback);
22743+
method public void postFrameCallbackDelayed(android.view.Choreographer.FrameCallback, long);
22744+
method public void removeFrameCallback(android.view.Choreographer.FrameCallback);
22745+
}
22746+
22747+
public static abstract interface Choreographer.FrameCallback {
22748+
method public abstract void doFrame(long);
22749+
}
22750+
2274022751
public abstract interface CollapsibleActionView {
2274122752
method public abstract void onActionViewCollapsed();
2274222753
method public abstract void onActionViewExpanded();

0 commit comments

Comments
 (0)