/frameworks/native/services/inputflinger/tests/ |
D | PointerChoreographer_test.cpp | 122 TestPointerChoreographer mChoreographer{mTestListener, mMockPolicy, member in android::PointerChoreographerTest 211 mChoreographer.notify(notifyArgs); in TEST_F() 247 mChoreographer.notifyInputDevicesChanged( in TEST_F() 255 mChoreographer.notifyInputDevicesChanged( in TEST_F() 262 mChoreographer.notifyInputDevicesChanged({/*id=*/1, {}}); in TEST_F() 267 mChoreographer.notifyInputDevicesChanged( in TEST_F() 276 mChoreographer.setDisplayViewports(createViewports({DISPLAY_ID})); in TEST_F() 277 mChoreographer.notifyInputDevicesChanged( in TEST_F() 287 mChoreographer.notifyInputDevicesChanged( in TEST_F() 293 mChoreographer.setDisplayViewports(createViewports({DISPLAY_ID})); in TEST_F() [all …]
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | SfVsyncFrameCallbackProvider.java | 30 private final Choreographer mChoreographer; field in SfVsyncFrameCallbackProvider 33 mChoreographer = Choreographer.getSfInstance(); in SfVsyncFrameCallbackProvider() 37 mChoreographer = choreographer; in SfVsyncFrameCallbackProvider() 42 mChoreographer.postFrameCallback(callback); in postFrameCallback() 47 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback() 52 return mChoreographer.getFrameTime(); in getFrameTime()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 83 private ChoreographerWrapper mChoreographer; field in FrameTrackerTest 115 mChoreographer = mock(ChoreographerWrapper.class); in setup() 139 mSurfaceControlWrapper, mChoreographer, mWrapper, mStatsLog, in spyFrameTracker() 155 when(mChoreographer.getVsyncId()).thenReturn(100L); in testOnlyFirstWindowFrameOverThreshold() 167 when(mChoreographer.getVsyncId()).thenReturn(102L); in testOnlyFirstWindowFrameOverThreshold() 190 when(mChoreographer.getVsyncId()).thenReturn(100L); in testSfJank() 202 when(mChoreographer.getVsyncId()).thenReturn(102L); in testSfJank() 227 when(mChoreographer.getVsyncId()).thenReturn(100L); in testFirstFrameJankyNoTrigger() 239 when(mChoreographer.getVsyncId()).thenReturn(102L); in testFirstFrameJankyNoTrigger() 263 when(mChoreographer.getVsyncId()).thenReturn(100L); in testOtherFrameOverThreshold() [all …]
|
/frameworks/base/core/java/android/view/ |
D | BatchedInputEventReceiver.java | 29 private Choreographer mChoreographer; field in BatchedInputEventReceiver 45 mChoreographer = choreographer; in BatchedInputEventReceiver() 106 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null); in scheduleBatchedInput() 114 mChoreographer.removeCallbacks( in unscheduleBatchedInput() 130 doConsumeBatchedInput(mChoreographer.getFrameTimeNanos()); in run()
|
D | SurfaceControl.java | 490 private Choreographer mChoreographer; field in SurfaceControl 1460 if (mChoreographer == null) { in getChoreographer() 1463 return mChoreographer; in getChoreographer() 1484 if (mChoreographer == null) { in getChoreographer() 1485 mChoreographer = Choreographer.getInstanceForSurfaceControl(mNativeHandle, looper); in getChoreographer() 1486 } else if (!mChoreographer.isTheLooperSame(looper)) { in getChoreographer() 1490 return mChoreographer; in getChoreographer() 1505 return mChoreographer != null; in hasChoreographer() 1575 if (mChoreographer != null) { in release() 1576 mChoreographer.invalidate(); in release() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | RampAnimator.java | 212 private final Choreographer mChoreographer; field in RampAnimator.DualRampAnimator 221 mChoreographer = Choreographer.getInstance(); in DualRampAnimator() 264 mChoreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, in animateTo() 287 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in postAnimationCallback() 293 long frameTimeNanos = mChoreographer.getFrameTimeNanos();
|
D | DisplayPowerState.java | 62 private final Choreographer mChoreographer; field in DisplayPowerState 95 mChoreographer = Choreographer.getInstance(); in DisplayPowerState() 388 mChoreographer.postCallback(Choreographer.CALLBACK_TRAVERSAL, in scheduleColorFadeDraw()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationRunner.java | 83 Choreographer mChoreographer; field in SurfaceAnimationRunner 134 mSurfaceAnimationHandler.runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner() 140 : new SfVsyncFrameCallbackProvider(mChoreographer)); in SurfaceAnimationRunner() 168 mChoreographer.postFrameCallback(this::startAnimations); in continueStartingAnimations() 224 mChoreographer.postFrameCallback(this::startAnimations); in startAnimation() 234 mChoreographer.postFrameCallback(this::startAnimations); in startAnimation() 335 anim.setCurrentPlayTime(mChoreographer.getFrameIntervalNanos() / NANOS_PER_MS); in startAnimationLocked() 340 anim.doAnimationFrame(mChoreographer.getFrameTime()); in startAnimationLocked() 364 mChoreographer.postCallback(CALLBACK_TRAVERSAL, mApplyTransactionRunnable, in scheduleApplyTransaction() 372 mFrameTransaction.setFrameTimelineVsync(mChoreographer.getVsyncId()); in applyTransaction()
|
D | WindowAnimator.java | 70 private Choreographer mChoreographer; field in WindowAnimator 94 () -> mChoreographer = Choreographer.getSfInstance(), 0 /* timeout */); in WindowAnimator() 270 mChoreographer.postFrameCallback(mAnimationFrameCallback); in scheduleAnimation() 277 mChoreographer.removeFrameCallback(mAnimationFrameCallback); in cancelAnimation() 286 return mChoreographer; in getChoreographer()
|
D | WindowTracing.java | 67 private final Choreographer mChoreographer; field in WindowTracing 97 mChoreographer = choreographer; in WindowTracing() 317 mChoreographer.postFrameCallback(mFrameCallback); in schedule()
|
/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 197 if (mChoreographer) { in getChoreographer() 198 return mChoreographer; in getChoreographer() 205 mChoreographer = std::make_shared<Choreographer>(looper, getHandle()); in getChoreographer() 206 status_t result = mChoreographer->initialize(); in getChoreographer() 209 mChoreographer = nullptr; in getChoreographer() 211 return mChoreographer; in getChoreographer()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 128 int64_t frameInterval = AChoreographer_getFrameInterval(rt->mChoreographer); in extendedFrameCallback() 170 AChoreographer_postVsyncCallback(mRenderThread->mChoreographer, in requestNextVsync() 175 AChoreographer_handlePendingEvents(mRenderThread->mChoreographer, mRenderThread); in drainPendingEvents() 249 mChoreographer = AChoreographer_create(); in initializeChoreographer() 250 LOG_ALWAYS_FATAL_IF(mChoreographer == nullptr, "Initialization of Choreographer failed"); in initializeChoreographer() 251 AChoreographer_registerRefreshRateCallback(mChoreographer, in initializeChoreographer() 255 mLooper->addFd(AChoreographer_getFd(mChoreographer), 0, Looper::EVENT_INPUT, in initializeChoreographer() 421 AChoreographer_handlePendingEvents(rt->mChoreographer, data); in choreographerCallback()
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 154 mChoreographer = in InputManager() 157 std::make_unique<TracedInputListener>("PointerChoreographer", *mChoreographer)); in InputManager() 211 return *mChoreographer; in getChoreographer() 245 mChoreographer->dump(dump); in dump()
|
D | InputManager.h | 151 std::unique_ptr<PointerChoreographerInterface> mChoreographer; variable
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | FrameTracker.java | 112 private final ChoreographerWrapper mChoreographer; field in FrameTracker 209 mChoreographer = choreographer; in FrameTracker() 280 final long currentVsync = mChoreographer.getVsyncId(); in begin() 306 mChoreographer.mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, action, null); in postTraceStartMarker() 331 mEndVsyncId = mChoreographer.getVsyncId(); in end() 812 private final Choreographer mChoreographer; field in FrameTracker.ChoreographerWrapper 815 mChoreographer = choreographer; in ChoreographerWrapper() 819 return mChoreographer.getVsyncId(); in getVsyncId()
|
/frameworks/base/native/android/ |
D | surface_control_input_receiver.cpp | 116 mChoreographer(choreographer) {} in BatchedInputReceiver() 134 Choreographer& mChoreographer; member in BatchedInputReceiver 140 mChoreographer.postFrameCallbackDelayed(nullptr, nullptr, vsyncCallback, this, 0, in scheduleBatchedInput()
|
/frameworks/base/core/java/android/animation/ |
D | AnimationHandler.java | 445 final Choreographer mChoreographer = Choreographer.getInstance(); field in AnimationHandler.MyFrameCallbackProvider 449 mChoreographer.postFrameCallback(callback); in postFrameCallback() 454 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback() 459 return mChoreographer.getFrameTime(); in getFrameTime()
|
/frameworks/base/graphics/java/android/graphics/animation/ |
D | RenderNodeAnimator.java | 427 private final Choreographer mChoreographer; field in RenderNodeAnimator.DelayedAnimationHelper 431 mChoreographer = Choreographer.getInstance(); in DelayedAnimationHelper() 446 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, this, null); in scheduleCallback() 452 long frameTimeMs = mChoreographer.getFrameTime(); in run()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/ |
D | InputSessionTest.java | 68 Choreographer mChoreographer; field in InputSessionTest 88 mInputEventListener, mChoreographer, mLooper.getLooper(), pilfer); in createSession()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeInputListener.java | 277 @NonNull private final Choreographer mChoreographer; field in DragResizeInputListener.TaskResizeInputEventReceiver 305 mChoreographer = choreographer; in TaskResizeInputEventReceiver() 309 if (consumeBatchedInputEvents(mChoreographer.getFrameTimeNanos())) { in TaskResizeInputEventReceiver() 370 mChoreographer.postCallback( in scheduleConsumeBatchEvent()
|
D | CaptionWindowDecoration.java | 55 private final Choreographer mChoreographer; field in CaptionWindowDecoration 79 mChoreographer = choreographer; in CaptionWindowDecoration() 226 mChoreographer, in relayout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTracingTest.java | 79 private Choreographer mChoreographer; field in WindowTracingTest 91 mWindowTracing = new WindowTracing(mFile, mWmMock, mChoreographer, in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenWindowCreator.java | 105 private Choreographer mChoreographer; field in SplashscreenWindowCreator 119 mSplashScreenExecutor.execute(() -> mChoreographer = Choreographer.getInstance()); in SplashscreenWindowCreator() 203 mChoreographer.postCallback(CALLBACK_INSETS_ANIMATION, setViewSynchronized, null); in addSplashScreenStartingWindow()
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceControl.h | 137 std::shared_ptr<Choreographer> mChoreographer; variable
|
/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/ |
D | AttachedChoreographerTest.java | 70 private Choreographer mChoreographer; field in AttachedChoreographerTest 152 mChoreographer = sc.getChoreographer(); in testCreateChoreographer() 197 assertEquals(mChoreographer, surfaceControl.getChoreographer()); in testCreateChoreographer()
|