HomeSort by relevance Sort by last modified time
    Searched refs:Choreographer (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/base/tools/layoutlib/bridge/src/android/view/
Choreographer_Delegate.java 26 * Delegate used to provide new implementation of a select few methods of {@link Choreographer}
28 * Through the layoutlib_create tool, the original methods of Choreographer have been
33 static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>();
36 public static Choreographer getInstance() {
38 mInstance.compareAndSet(null, Choreographer.getInstance_Original());
50 static void scheduleVsyncLocked(Choreographer thisChoreographer) {
55 Choreographer thisChoreographer = Choreographer.getInstance();
60 thisChoreographer.doCallbacks(Choreographer.CALLBACK_INPUT, frameTimeNanos)
    [all...]
  /frameworks/base/native/android/
choreographer.cpp 17 #define LOG_TAG "Choreographer"
24 #include <android/choreographer.h>
50 class Choreographer : public DisplayEventDispatcher, public MessageHandler {
61 static Choreographer* getForThread();
64 virtual ~Choreographer() = default;
67 Choreographer(const sp<Looper>& looper);
68 Choreographer(const Choreographer&) = delete;
85 static thread_local Choreographer* gChoreographer;
86 Choreographer* Choreographer::getForThread()
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java 20 import android.view.Choreographer;
28 private Choreographer mChoreographer;
36 mChoreographer = Choreographer.getInstance();
42 assertTrue(Choreographer.getFrameDelay() > 0);
44 long oldFrameDelay = Choreographer.getFrameDelay();
46 Choreographer.setFrameDelay(newFrameDelay);
47 assertEquals(newFrameDelay, Choreographer.getFrameDelay());
49 Choreographer.setFrameDelay(oldFrameDelay);
59 Choreographer.CALLBACK_ANIMATION, addedCallback1, null);
61 Choreographer.CALLBACK_ANIMATION, addedCallback2, null)
    [all...]
ChoreographerNativeTest.java 20 import android.view.Choreographer;
24 private Choreographer mChoreographer;
45 fail("Failed to setup choreographer tests");
  /frameworks/base/core/java/android/view/
BatchedInputEventReceiver.java 26 Choreographer mChoreographer;
30 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
32 mChoreographer = choreographer;
63 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null);
71 Choreographer.CALLBACK_INPUT, mBatchedInputRunnable, null);
Choreographer.java 35 * The choreographer receives timing pulses (such as vertical synchronization)
39 * Applications typically interact with the choreographer indirectly using
59 * choreographer directly in your application. Here are some examples.
65 * {@link Choreographer#postFrameCallback}.</li>
69 * Each {@link Looper} thread has its own choreographer. Other threads can
70 * post callbacks to run on the choreographer but they will run on the {@link Looper}
71 * to which the choreographer belongs.
74 public final class Choreographer {
75 private static final String TAG = "Choreographer";
96 // Thread local storage for the choreographer
    [all...]
RenderNodeAnimator.java 438 private final Choreographer mChoreographer;
442 mChoreographer = Choreographer.getInstance();
457 mChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, this, null);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
DejankUtils.java 21 import android.view.Choreographer;
30 private static final Choreographer sChoreographer = Choreographer.getInstance();
70 sChoreographer.postCallback(Choreographer.CALLBACK_ANIMATION, sAnimationCallbackRunnable,
  /frameworks/base/core/java/android/animation/
AnimationHandler.java 21 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.CALLBACK_COMMIT, runnable, null)
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
RampAnimator.java 21 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
DisplayPowerState.java 26 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/
FallbackLUTInterpolator.java 21 import android.view.Choreographer;
48 long frameIntervalNanos = Choreographer.getInstance().getFrameIntervalNanos();
  /frameworks/base/core/java/com/android/internal/policy/
BackdropFrameRenderer.java 23 import android.view.Choreographer;
33 * executed via the Choreographer.
36 public class BackdropFrameRenderer extends Thread implements Choreographer.FrameCallback {
52 private Choreographer mChoreographer;
211 mChoreographer = Choreographer.getInstance();
220 Choreographer.releaseInstance();
  /cts/tests/tests/transition/src/android/transition/cts/
BaseTransitionTest.java 26 import android.view.Choreographer;
27 import android.view.Choreographer.FrameCallback;
  /cts/tests/tests/media/src/android/media/cts/
PresentationSyncTest.java 27 import android.view.Choreographer;
64 * This test does not use Choreographer. The longer the test runs, the farther out of
202 * Exercises the test code, driving it off of Choreographer. The animation is driven at
318 private class ChoRunner implements Choreographer.FrameCallback {
323 private Choreographer mChocho;
336 mChocho = Choreographer.getInstance();
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 22 import android.view.Choreographer;
48 final class ColorsGLRenderer implements Choreographer.FrameCallback {
61 private final Choreographer mChoreographer;
78 mChoreographer = Choreographer.getInstance();
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageView.java 33 import android.view.Choreographer;
34 import android.view.Choreographer.FrameCallback;
240 Choreographer.getInstance().postFrameCallback(mFrameCallback);
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageView.java 33 import android.view.Choreographer;
34 import android.view.Choreographer.FrameCallback;
240 Choreographer.getInstance().postFrameCallback(mFrameCallback);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
TiledImageView.java 30 import android.view.Choreographer;
31 import android.view.Choreographer.FrameCallback;
169 Choreographer.getInstance().postFrameCallback(mFrameCallback);
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityInputFilter.java 24 import android.view.Choreographer;
116 private final Choreographer mChoreographer;
149 mChoreographer = Choreographer.getInstance();
273 mChoreographer.postCallback(Choreographer.CALLBACK_INPUT,
309 // Finished with this choreographer frame. Do the rest on the next one.
  /frameworks/data-binding/extensions/library/src/main/java/android/databinding/
ViewDataBinding.java 33 import android.view.Choreographer;
207 private Choreographer mChoreographer;
209 private final Choreographer.FrameCallback mFrameCallback;
234 mChoreographer = Choreographer.getInstance();
235 mFrameCallback = new Choreographer.FrameCallback() {
    [all...]
  /build/target/board/generic/
BoardConfig.mk 49 # vsync. The system's vsync event drives Choreographer and SurfaceFlinger's
  /frameworks/base/services/core/java/com/android/server/wm/
AppWindowAnimator.java 31 import android.view.Choreographer;
347 return -Choreographer.getInstance().getFrameIntervalNanos() / TimeUtils.NANOS_PER_MS;
TaskPositioner.java 46 import android.view.Choreographer;
121 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
122 super(inputChannel, looper, choreographer);
  /frameworks/base/core/tests/coretests/src/android/widget/
EditorCursorTest.java 21 import android.view.Choreographer;

Completed in 1079 milliseconds

1 2