Home
last modified time | relevance | path

Searched refs:mChoreographer (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/
DSfVsyncFrameCallbackProvider.java29 private final Choreographer mChoreographer; field in SfVsyncFrameCallbackProvider
32 mChoreographer = Choreographer.getSfInstance(); in SfVsyncFrameCallbackProvider()
36 mChoreographer = choreographer; in SfVsyncFrameCallbackProvider()
41 mChoreographer.postFrameCallback(callback); in postFrameCallback()
46 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback()
51 return mChoreographer.getFrameTime(); in getFrameTime()
/frameworks/base/core/java/android/view/
DBatchedInputEventReceiver.java27 Choreographer mChoreographer; field in BatchedInputEventReceiver
34 mChoreographer = choreographer; in BatchedInputEventReceiver()
65 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null); in scheduleBatchedInput()
72 mChoreographer.removeCallbacks( in unscheduleBatchedInput()
80 doConsumeBatchedInput(mChoreographer.getFrameTimeNanos()); in run()
DRenderNodeAnimator.java456 private final Choreographer mChoreographer; field in RenderNodeAnimator.DelayedAnimationHelper
460 mChoreographer = Choreographer.getInstance(); in DelayedAnimationHelper()
475 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, this, null); in scheduleCallback()
481 long frameTimeMs = mChoreographer.getFrameTime(); in run()
DViewRootImpl.java388 Choreographer mChoreographer; field in ViewRootImpl
623 mChoreographer = Choreographer.getInstance(); in ViewRootImpl()
1693 mChoreographer.postCallback( in scheduleTraversals()
1707 mChoreographer.removeCallbacks( in unscheduleTraversals()
2262 mChoreographer.mFrameInfo.addFlags(FrameInfo.FLAG_WINDOW_LAYOUT_CHANGED); in performTraversals()
3291 mChoreographer.removeFrameCallback(mRenderProfiler); in profileRendering()
3301 mChoreographer.postFrameCallback(mRenderProfiler); in profileRendering()
3306 mChoreographer.postFrameCallback(mRenderProfiler); in profileRendering()
3569 mChoreographer.getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in draw()
7067 mChoreographer.dump(prefix, writer); in dump()
[all …]
DThreadedRenderer.java651 final Choreographer choreographer = attachInfo.mViewRootImpl.mChoreographer; in draw()
DInsetsController.java590 mViewRoot.mChoreographer.postCallback(Choreographer.CALLBACK_INSETS_ANIMATION, in scheduleApplyChangeInsets()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java30 private final Choreographer mChoreographer; field in RampAnimator
47 mChoreographer = Choreographer.getInstance(); in RampAnimator()
124 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in postAnimationCallback()
128 mChoreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in cancelAnimationCallback()
134 final long frameTimeNanos = mChoreographer.getFrameTimeNanos();
DDisplayPowerState.java56 private final Choreographer mChoreographer; field in DisplayPowerState
75 mChoreographer = Choreographer.getInstance(); in DisplayPowerState()
293 mChoreographer.postCallback(Choreographer.CALLBACK_TRAVERSAL, in scheduleColorFadeDraw()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java56 Choreographer mChoreographer; field in SurfaceAnimationRunner
85 SurfaceAnimationThread.getHandler().runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner()
91 : new SfVsyncFrameCallbackProvider(mChoreographer)); in SurfaceAnimationRunner()
119 mChoreographer.postFrameCallback(this::startAnimations); in continueStartingAnimations()
131 mChoreographer.postFrameCallback(this::startAnimations); in startAnimation()
221 anim.setCurrentPlayTime(mChoreographer.getFrameIntervalNanos() / NANOS_PER_MS); in startAnimationLocked()
226 anim.doAnimationFrame(mChoreographer.getFrameTime()); in startAnimationLocked()
245 mChoreographer.postCallback(CALLBACK_TRAVERSAL, mApplyTransactionRunnable, in scheduleApplyTransaction()
DWindowAnimator.java71 private Choreographer mChoreographer; field in WindowAnimator
93 () -> mChoreographer = Choreographer.getSfInstance(), 0 /* timeout */); in WindowAnimator()
367 mChoreographer.postFrameCallback(mAnimationFrameCallback); in scheduleAnimation()
374 mChoreographer.removeFrameCallback(mAnimationFrameCallback); in cancelAnimation()
391 return mChoreographer; in getChoreographer()
DWindowTracing.java55 private final Choreographer mChoreographer; field in WindowTracing
83 mChoreographer = choreographer; in WindowTracing()
274 mChoreographer.postFrameCallback(mFrameCallback); in schedule()
DBoundsAnimationController.java124 private Choreographer mChoreographer; field in BoundsAnimationController
140 mChoreographer = Choreographer.getSfInstance(); in BoundsAnimationController()
141 animationHandler.setProvider(new SfVsyncFrameCallbackProvider(mChoreographer)); in BoundsAnimationController()
/frameworks/base/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java34 private final Choreographer mChoreographer; field in SurfaceFlingerVsyncChoreographer
45 mChoreographer = choreographer; in SurfaceFlingerVsyncChoreographer()
91 final long sinceFrameStart = System.nanoTime() - mChoreographer.getLastFrameTimeNanos(); in calculateDelay()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java244 final Choreographer mChoreographer = Choreographer.getInstance(); field in AnimationHandler.MyFrameCallbackProvider
248 mChoreographer.postFrameCallback(callback); in postFrameCallback()
253 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback()
258 return mChoreographer.getFrameTime(); in getFrameTime()
/frameworks/opt/gamesdk/src/swappy/
DChoreographerThread.cpp72 AChoreographer *mChoreographer GUARDED_BY(mWaitingMutex) = nullptr;
108 return mChoreographer != nullptr; in NDKChoreographerThread()
142 mChoreographer = mAChoreographer_getInstance(); in looperThread()
143 if (!mChoreographer) { in looperThread()
189 mAChoreographer_postFrameCallbackDelayed(mChoreographer, frameCallback, this, 1); in scheduleNextFrameCallback()
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java52 private Choreographer mChoreographer; field in BackdropFrameRenderer
215 mChoreographer = Choreographer.getInstance(); in run()
223 mChoreographer = null; in run()
409 if (mChoreographer != null && !drawImmediate) { in pingRenderLocked()
410 mChoreographer.postFrameCallback(this); in pingRenderLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTracingTest.java79 private Choreographer mChoreographer; field in WindowTracingTest
91 mWindowTracing = new WindowTracing(mFile, mWmMock, mChoreographer, in setUp()
DSurfaceAnimationRunnerTest.java199 mSurfaceAnimationRunner.mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, in waitUntilNextFrame()
/frameworks/opt/gamesdk/src/swappyVk/
DSwappyVk.cpp184 AChoreographer *mChoreographer = nullptr; member in SwappyVkBase
236 mWaitingCondition.wait(lock, [&]() { return mChoreographer != nullptr; }); in startChoreographerThread()
264 mChoreographer = mAChoreographer_getInstance(); in looperThread()
265 if (!mChoreographer) { in looperThread()
298 mAChoreographer_postFrameCallbackDelayed(mChoreographer, frameCallback, this, 1); in onDisplayRefresh()
304 mAChoreographer_postFrameCallbackDelayed(mChoreographer, frameCallback, this, 1); in postChoreographerCallback()
/frameworks/base/core/java/android/widget/
DTextView.java13211 private final Choreographer mChoreographer; field in TextView.Drawables.Marquee
13229 mChoreographer = Choreographer.getInstance(); in Marquee()
13243 mLastAnimationMs = mChoreographer.getFrameTime();
13265 mChoreographer.removeFrameCallback(mTickCallback); in tick()
13269 long currentMs = mChoreographer.getFrameTime(); in tick()
13276 mChoreographer.postFrameCallbackDelayed(mRestartCallback, MARQUEE_DELAY); in tick()
13278 mChoreographer.postFrameCallback(mTickCallback); in tick()
13286 mChoreographer.removeFrameCallback(mStartCallback); in stop()
13287 mChoreographer.removeFrameCallback(mRestartCallback); in stop()
13288 mChoreographer.removeFrameCallback(mTickCallback); in stop()
[all …]