/frameworks/layoutlib/bridge/src/android/view/ |
D | Choreographer_Delegate.java | 34 …private static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>… 39 public static Choreographer getInstance() { in getInstance() 41 mInstance.compareAndSet(null, Choreographer.getInstance_Original()); in getInstance() 53 static void scheduleVsyncLocked(Choreographer thisChoreographer) { in scheduleVsyncLocked() 58 Choreographer thisChoreographer = Choreographer.getInstance(); in doFrame() 65 thisChoreographer.doCallbacks(Choreographer.CALLBACK_INPUT, frameTimeNanos, MS_16); in doFrame() 68 thisChoreographer.doCallbacks(Choreographer.CALLBACK_ANIMATION, frameTimeNanos, MS_16); in doFrame() 71 thisChoreographer.doCallbacks(Choreographer.CALLBACK_TRAVERSAL, frameTimeNanos, MS_16); in doFrame() 73 thisChoreographer.doCallbacks(Choreographer.CALLBACK_COMMIT, frameTimeNanos, MS_16); in doFrame() 80 Choreographer thisChoreographer = Choreographer.getInstance(); in clearFrames() [all …]
|
/frameworks/native/libs/nativedisplay/ |
D | AChoreographer.cpp | 97 class Choreographer; 101 std::vector<Choreographer*> ptrs GUARDED_BY(lock); 107 class Choreographer : public DisplayEventDispatcher, public MessageHandler { class 109 explicit Choreographer(const sp<Looper>& looper) EXCLUDES(gChoreographers.lock); 129 static Choreographer* getForThread(); 130 virtual ~Choreographer() override EXCLUDES(gChoreographers.lock); 136 Choreographer(const Choreographer&) = delete; 161 static thread_local Choreographer* gChoreographer; 162 Choreographer* Choreographer::getForThread() { in getForThread() 169 gChoreographer = new Choreographer(looper); in getForThread() [all …]
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | SfVsyncFrameCallbackProvider.java | 20 import android.view.Choreographer; 29 private final Choreographer mChoreographer; 32 mChoreographer = Choreographer.getSfInstance(); in SfVsyncFrameCallbackProvider() 35 public SfVsyncFrameCallbackProvider(Choreographer choreographer) { in SfVsyncFrameCallbackProvider() 40 public void postFrameCallback(Choreographer.FrameCallback callback) { in postFrameCallback() 46 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback() 56 return Choreographer.getFrameDelay(); in getFrameDelay() 61 Choreographer.setFrameDelay(delay); in setFrameDelay()
|
/frameworks/base/core/java/android/animation/ |
D | AnimationHandler.java | 21 import android.view.Choreographer; 51 private final Choreographer.FrameCallback mFrameCallback = new Choreographer.FrameCallback() { 244 final Choreographer mChoreographer = Choreographer.getInstance(); 247 public void postFrameCallback(Choreographer.FrameCallback callback) { in postFrameCallback() 253 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback() 263 return Choreographer.getFrameDelay(); in getFrameDelay() 268 Choreographer.setFrameDelay(delay); in setFrameDelay() 311 void postFrameCallback(Choreographer.FrameCallback callback); in postFrameCallback()
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 82 public final class Choreographer { class 105 private static final ThreadLocal<Choreographer> sThreadInstance = 106 new ThreadLocal<Choreographer>() { 108 protected Choreographer initialValue() { 113 Choreographer choreographer = new Choreographer(looper, VSYNC_SOURCE_APP); 121 private static volatile Choreographer mMainInstance; 124 private static final ThreadLocal<Choreographer> sSfThreadInstance = 125 new ThreadLocal<Choreographer>() { 127 protected Choreographer initialValue() { 132 return new Choreographer(looper, VSYNC_SOURCE_SURFACE_FLINGER); [all …]
|
D | BatchedInputEventReceiver.java | 27 private Choreographer mChoreographer; 33 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() 84 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null); in scheduleBatchedInput() 92 Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null); in unscheduleBatchedInput()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | RampAnimator.java | 21 import android.view.Choreographer; 30 private final Choreographer mChoreographer; 47 mChoreographer = Choreographer.getInstance(); in RampAnimator() 125 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in postAnimationCallback() 129 mChoreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null); in cancelAnimationCallback()
|
D | DisplayPowerState.java | 26 import android.view.Choreographer; 55 private final Choreographer mChoreographer; 79 mChoreographer = Choreographer.getInstance(); in DisplayPowerState() 357 mChoreographer.postCallback(Choreographer.CALLBACK_TRAVERSAL, in scheduleColorFadeDraw()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 29 import android.view.Choreographer; 68 Choreographer choreographer) { in InputEventReceiver() 157 withSfVsync ? Choreographer.getSfInstance() : Choreographer.getInstance()); in registerInputConsumer()
|
D | InputMonitorCompat.java | 20 import android.view.Choreographer; 56 public InputEventReceiver getInputReceiver(Looper looper, Choreographer choreographer, in getInputReceiver()
|
D | InputChannelCompat.java | 22 import android.view.Choreographer; 69 Choreographer choreographer, final InputEventListener listener) { in InputEventReceiver()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/ |
D | FrameProtoTracer.java | 21 import android.view.Choreographer; 43 implements Choreographer.FrameCallback { 52 private Choreographer mChoreographer; 143 mChoreographer = Choreographer.getMainThreadInstance(); in scheduleFrameUpdate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowTracing.java | 35 import android.view.Choreographer; 62 private final Choreographer mChoreographer; 68 private final Choreographer.FrameCallback mFrameCallback = (frameTimeNanos) -> 78 Choreographer choreographer) { in createDefaultAndStartLooper() 83 private WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing() 88 WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing()
|
D | WindowAnimator.java | 35 import android.view.Choreographer; 61 final Choreographer.FrameCallback mAnimationFrameCallback; 76 private Choreographer mChoreographer; 100 () -> mChoreographer = Choreographer.getSfInstance(), 0 /* timeout */); in WindowAnimator() 314 Choreographer getChoreographer() { in getChoreographer()
|
D | SurfaceAnimationRunner.java | 20 import static android.view.Choreographer.CALLBACK_TRAVERSAL; 21 import static android.view.Choreographer.getSfInstance; 33 import android.view.Choreographer; 59 Choreographer mChoreographer;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 32 import android.view.Choreographer; 49 private static final Choreographer sChoreographer = Choreographer.getInstance(); 249 sChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, sAnimationCallbackRunnable, in postAnimationCallback()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipInputConsumer.java | 27 import android.view.Choreographer; 66 Choreographer choreographer) { in InputEventReceiver() 150 Looper.myLooper(), Choreographer.getSfInstance()); in registerInputConsumer()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 26 import android.view.Choreographer; 37 public class BackdropFrameRenderer extends Thread implements Choreographer.FrameCallback { 53 private Choreographer mChoreographer; 209 mChoreographer = Choreographer.getInstance(); in run() 218 Choreographer.releaseInstance(); in run()
|
/frameworks/base/graphics/java/android/graphics/animation/ |
D | FallbackLUTInterpolator.java | 21 import android.view.Choreographer; 49 long frameIntervalNanos = Choreographer.getInstance().getFrameIntervalNanos(); in createLUT()
|
D | RenderNodeAnimator.java | 28 import android.view.Choreographer; 427 private final Choreographer mChoreographer; 431 mChoreographer = Choreographer.getInstance(); in DelayedAnimationHelper() 446 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, this, null); in scheduleCallback()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashScreenExitAnimation.java | 18 import static android.view.Choreographer.CALLBACK_COMMIT; 35 import android.view.Choreographer; 254 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in onAnimationProgress() 275 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in finish() 290 Choreographer.getSfInstance().postCallback(CALLBACK_COMMIT, in finish()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceAnimationRunnerTest.java | 40 import android.view.Choreographer; 41 import android.view.Choreographer.FrameCallback; 210 mSurfaceAnimationRunner.mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, in waitUntilNextFrame()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | FrameTracker.java | 40 import android.view.Choreographer; 231 mChoreographer.mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, () -> { in postTraceStartMarker() 602 private final Choreographer mChoreographer; 604 public ChoreographerWrapper(Choreographer choreographer) { in ChoreographerWrapper()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 33 import android.view.Choreographer; 34 import android.view.Choreographer.FrameCallback; 240 Choreographer.getInstance().postFrameCallback(mFrameCallback); in invalOnVsync()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
D | PipSurfaceTransactionHelper.java | 22 import android.view.Choreographer; 143 tx.setFrameTimelineVsync(Choreographer.getSfInstance().getVsyncId()); in newSurfaceControlTransaction()
|