Home
last modified time | relevance | path

Searched refs:frameCallback (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographerTest.kt61 val frameCallback: Choreographer.FrameCallback = withArgCaptor { in scheduleThenEvalFrameCallback() constant
65 frameCallback.doFrame(0) in scheduleThenEvalFrameCallback()
80 val frameCallback: Choreographer.FrameCallback = withArgCaptor { in scheduleThenEvalTimeoutCallback() constant
90 verify(viewChoreographer).removeFrameCallback(frameCallback) in scheduleThenEvalTimeoutCallback()
97 val frameCallback: Choreographer.FrameCallback = withArgCaptor { in scheduleThenCancel() constant
103 verify(viewChoreographer).removeFrameCallback(frameCallback) in scheduleThenCancel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographer.kt71 private val frameCallback = Choreographer.FrameCallback { in <lambda>() constant
82 viewChoreographer.postFrameCallback(frameCallback) in schedule()
93 viewChoreographer.removeFrameCallback(frameCallback) in cancel()
107 viewChoreographer.removeFrameCallback(frameCallback) in onTimeout()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldFrameCallbackScheduler.kt41 override fun postFrameCallback(frameCallback: Runnable) { in postFrameCallback()
42 choreographer.postFrameCallback { frameCallback.run() } in postFrameCallback()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceViewSyncValidatorTestCase.java79 mSyncGroup.add(mSurfaceView, frameCallback ->
80 mRenderingThread.setFrameCallback(frameCallback));
204 public void setFrameCallback(SurfaceSyncGroup.SurfaceViewFrameCallback frameCallback) {
206 mFrameCallback = frameCallback;
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java117 mSyncGroup.add(mSurfaceView, frameCallback -> in surfaceChanged()
118 mRenderingThread.renderFrame(frameCallback, width, height)); in surfaceChanged()
148 public void renderFrame(SurfaceSyncGroup.SurfaceViewFrameCallback frameCallback, int width, in renderFrame() argument
152 mFrameCallback = frameCallback; in renderFrame()
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp118 std::function<std::function<void(bool)>(int32_t, int64_t)> frameCallback = in run() local
130 if (CC_UNLIKELY(frameCallback)) { in run()
131 context->enqueueFrameWork([frameCallback, context, syncResult = mSyncResult, in run()
133 auto frameCommitCallback = frameCallback(syncResult, frameNr); in run()
DRenderThread.cpp129 rt->frameCallback(vsyncId, frameDeadline, frameTimeNanos, frameInterval); in extendedFrameCallback()
132 void RenderThread::frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos, in frameCallback() function in android::uirenderer::renderthread::RenderThread
188 mRenderThread->frameCallback(UiFrameInfoBuilder::INVALID_VSYNC_ID, in requestNextVsync()
195 mRenderThread->frameCallback(UiFrameInfoBuilder::INVALID_VSYNC_ID, in drainPendingEvents()
DRenderThread.h216 void frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos,
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DAnimatorTestRule.java337 Choreographer.FrameCallback frameCallback = mFrameCallback;
339 if (frameCallback != null) {
340 frameCallback.doFrame(getFrameTime());
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp626 jobject clazz, jlong proxyPtr, jobject frameCallback) { in android_view_ThreadedRenderer_setFrameCallback() argument
628 if (!frameCallback) { in android_view_ThreadedRenderer_setFrameCallback()
634 env->NewGlobalRef(frameCallback)); in android_view_ThreadedRenderer_setFrameCallback()
/frameworks/base/core/java/android/window/
DSurfaceSyncGroup.md82 syncGroup.addToSync(surfaceView, frameCallback -> {
84 frameCallback.onFrameStarted()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java199 Choreographer.FrameCallback frameCallback = new Choreographer.FrameCallback() {
215 Choreographer.getInstance().postFrameCallback(frameCallback);