Searched refs:VsyncCallback (Results 1 – 7 of 7) sorted by relevance
64 struct VsyncCallback : Callback { struct65 VsyncCallback(const char* name, JNIEnv* env) : Callback(name), env(env) {} in VsyncCallback() argument116 VsyncCallback* cb = static_cast<VsyncCallback*>(data); in vsyncCallback() argument
143 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback()144 VsyncCallback cb2("cb2", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback()170 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()178 for (const VsyncCallback::FrameTime& frameTime : cb1.getTimeline()) { in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()182 [vsyncId](const VsyncCallback::FrameTime& ft) { in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid()192 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()200 std::vector<VsyncCallback::FrameTime> frameTimelines = cb1.getTimeline(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()232 VsyncCallback cb1("cb1", env); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataExpectedPresentTimeInFuture()
831 VsyncCallback cb1("cb1", env); in SurfaceControlTest_getFrameTimelines()856 VsyncCallback::FrameTime frameTimeline = cb1.getTimeline()[i]; in SurfaceControlTest_getFrameTimelines()
305 private class BasicVsyncCallback implements Choreographer.VsyncCallback {345 final Choreographer.VsyncCallback removedCallback = mock( in testPostVsyncCallbackWithoutDelay()346 Choreographer.VsyncCallback.class); in testPostVsyncCallbackWithoutDelay()563 private class BadVsyncCallback implements Choreographer.VsyncCallback {
1602 Choreographer.VsyncCallback vsyncCallback = new Choreographer.VsyncCallback() { in testSurfaceTransaction_setFrameTimeline_preferredIndex()1653 Choreographer.VsyncCallback vsyncCallback = new Choreographer.VsyncCallback() { in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex()
48 Choreographer.VsyncCallback {
51858 method public void postVsyncCallback(@NonNull android.view.Choreographer.VsyncCallback);51860 method public void removeVsyncCallback(@Nullable android.view.Choreographer.VsyncCallback);51879 public static interface Choreographer.VsyncCallback {