Searched refs:Choreographer (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/graphics/
H A DSfVsyncFrameCallbackProvider.java20 import android.view.Choreographer;
23 * Provider of timing pulse that uses SurfaceFlinger Vsync Choreographer for frame callbacks.
29 private final Choreographer mChoreographer = Choreographer.getSfInstance();
32 public void postFrameCallback(Choreographer.FrameCallback callback) {
38 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null);
48 return Choreographer.getFrameDelay();
53 Choreographer.setFrameDelay(delay);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DChoreographer_Delegate.java27 * Delegate used to provide new implementation of a select few methods of {@link Choreographer}
29 * Through the layoutlib_create tool, the original methods of Choreographer have been
34 static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>();
37 public static Choreographer getInstance() {
39 mInstance.compareAndSet(null, Choreographer.getInstance_Original());
51 static void scheduleVsyncLocked(Choreographer thisChoreographer) {
56 Choreographer thisChoreographer = Choreographer.getInstance();
61 thisChoreographer.doCallbacks(Choreographer
[all...]
/frameworks/base/native/android/
H A Dchoreographer.cpp17 #define LOG_TAG "Choreographer"
50 class Choreographer : public DisplayEventDispatcher, public MessageHandler { class in namespace:android
61 static Choreographer* getForThread();
64 virtual ~Choreographer() = default;
67 explicit Choreographer(const sp<Looper>& looper);
68 Choreographer(const Choreographer&) = delete;
85 static thread_local Choreographer* gChoreographer;
86 Choreographer* Choreographer
103 Choreographer::Choreographer(const sp<Looper>& looper) : function in class:android::Choreographer
[all...]
/frameworks/base/core/java/android/view/
H A DBatchedInputEventReceiver.java26 Choreographer mChoreographer;
30 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
63 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null);
71 Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null);
H A DChoreographer.java68 * {@link Choreographer#postFrameCallback}.</li>
77 public final class Choreographer { class
78 private static final String TAG = "Choreographer";
100 private static final ThreadLocal<Choreographer> sThreadInstance =
101 new ThreadLocal<Choreographer>() {
103 protected Choreographer initialValue() {
108 return new Choreographer(looper, VSYNC_SOURCE_APP);
113 private static final ThreadLocal<Choreographer> sSfThreadInstance =
114 new ThreadLocal<Choreographer>() {
116 protected Choreographer initialValu
221 private Choreographer(Looper looper, int vsyncSource) { method in class:Choreographer
[all...]
H A DRenderNodeAnimator.java437 private final Choreographer mChoreographer;
441 mChoreographer = Choreographer.getInstance();
456 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, this, null);
H A DThreadedRenderer.java339 private Choreographer mChoreographer;
754 final Choreographer choreographer = attachInfo.mViewRootImpl.mChoreographer;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDejankUtils.java22 import android.view.Choreographer;
31 private static final Choreographer sChoreographer = Choreographer.getInstance();
71 sChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, sAnimationCallbackRunnable,
/frameworks/support/dynamic-animation/src/android/support/animation/
H A DAnimationHandler.java21 import android.view.Choreographer;
31 * The handler uses the Choreographer by default for doing periodic callbacks. A custom
61 private final Choreographer.FrameCallback mFrameCallback = new Choreographer.FrameCallback() {
89 * By default, the Choreographer is used to provide timing for frame callbacks. A custom
179 * Default provider of timing pulse that uses Choreographer for frame callbacks.
183 final Choreographer mChoreographer = Choreographer.getInstance();
186 public void postFrameCallback(Choreographer.FrameCallback callback) {
194 * timing pulse without using Choreographer
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimationHandler.java21 import android.view.Choreographer;
31 * The handler uses the Choreographer by default for doing periodic callbacks. A custom
51 private final Choreographer.FrameCallback mFrameCallback = new Choreographer.FrameCallback() {
72 * By default, the Choreographer is used to provide timing for frame callbacks. A custom
240 * Default provider of timing pulse that uses Choreographer for frame callbacks.
244 final Choreographer mChoreographer = Choreographer.getInstance();
247 public void postFrameCallback(Choreographer.FrameCallback callback) {
253 mChoreographer.postCallback(Choreographer
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DSurfaceFlingerVsyncChoreographer.java21 import android.view.Choreographer;
34 private final Choreographer mChoreographer;
43 Choreographer choreographer) {
/frameworks/base/services/core/java/com/android/server/display/
H A DRampAnimator.java21 import android.view.Choreographer;
30 private final Choreographer mChoreographer;
47 mChoreographer = Choreographer.getInstance();
124 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null);
128 mChoreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, mAnimationCallback, null);
132 @Override // Choreographer callback
H A DDisplayPowerState.java26 import android.view.Choreographer;
54 private final Choreographer mChoreographer;
73 mChoreographer = Choreographer.getInstance();
290 mChoreographer.postCallback(Choreographer.CALLBACK_TRAVERSAL,
/frameworks/base/core/java/com/android/internal/view/animation/
H A DFallbackLUTInterpolator.java21 import android.view.Choreographer;
48 long frameIntervalNanos = Choreographer.getInstance().getFrameIntervalNanos();
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DInputConsumerController.java25 import android.view.Choreographer;
64 super(inputChannel, looper, Choreographer.getSfInstance());
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java23 import android.view.Choreographer;
33 * executed via the Choreographer.
36 public class BackdropFrameRenderer extends Thread implements Choreographer.FrameCallback {
52 private Choreographer mChoreographer;
215 mChoreographer = Choreographer.getInstance();
224 Choreographer.releaseInstance();
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java32 import android.view.Choreographer;
60 final Choreographer.FrameCallback mAnimationFrameCallback;
86 private Choreographer mChoreographer;
100 () -> mChoreographer = Choreographer.getSfInstance(), 0 /* timeout */);
419 Choreographer getChoreographer() {
H A DAppWindowAnimator.java33 import android.view.Choreographer;
345 return -Choreographer.getInstance().getFrameIntervalNanos() / TimeUtils.NANOS_PER_MS;
H A DTaskPositioner.java46 import android.view.Choreographer;
131 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
H A DBoundsAnimationController.java35 import android.view.Choreographer;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java33 import android.view.Choreographer;
34 import android.view.Choreographer.FrameCallback;
240 Choreographer.getInstance().postFrameCallback(mFrameCallback);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java24 import android.view.Choreographer;
123 private final Choreographer mChoreographer;
156 mChoreographer = Choreographer.getInstance();
281 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT,
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DViewDataBinding.java33 import android.view.Choreographer;
207 private Choreographer mChoreographer;
209 private final Choreographer.FrameCallback mFrameCallback;
234 mChoreographer = Choreographer.getInstance();
235 mFrameCallback = new Choreographer.FrameCallback() {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java21 import android.view.Choreographer;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java24 import android.view.Choreographer;
1130 private ArrayList<Choreographer.FrameCallback> mFrameCallbacks = new ArrayList<>();
1139 public void postFrameCallback(Choreographer.FrameCallback callback) {

Completed in 5597 milliseconds

12