/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
ChoreographerCompat.java | 18 import static android.view.Choreographer.CALLBACK_INPUT; 20 import android.view.Choreographer; 23 * Wraps the internal choreographer. 28 * Posts an input callback to the choreographer. 30 public static void postInputFrame(Choreographer choreographer, Runnable runnable) { 31 choreographer.postCallback(CALLBACK_INPUT, runnable, null); 34 public static Choreographer getSfInstance() { 35 return Choreographer.getSfInstance();
|
/frameworks/native/include/android/ |
choreographer.h | 18 * @addtogroup Choreographer 23 * @file choreographer.h 58 void AChoreographer_postFrameCallback(AChoreographer* choreographer, 65 void AChoreographer_postFrameCallbackDelayed(AChoreographer* choreographer,
|
/frameworks/base/core/java/com/android/internal/graphics/ |
SfVsyncFrameCallbackProvider.java | 20 import android.view.Choreographer; 23 * Provider of timing pulse that uses SurfaceFlinger Vsync Choreographer for frame callbacks. 29 private final Choreographer mChoreographer; 32 mChoreographer = Choreographer.getSfInstance(); 35 public SfVsyncFrameCallbackProvider(Choreographer choreographer) { 36 mChoreographer = choreographer; 40 public void postFrameCallback(Choreographer.FrameCallback callback) { 46 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); 56 return Choreographer.getFrameDelay() [all...] |
/cts/tests/tests/view/jni/ |
android_view_cts_ChoreographerNativeTest.cpp | 18 #include <android/choreographer.h> 84 AChoreographer* choreographer = reinterpret_cast<AChoreographer*>(choreographerPtr); local 85 return choreographer != nullptr; 90 AChoreographer* choreographer = reinterpret_cast<AChoreographer*>(choreographerPtr); local 95 AChoreographer_postFrameCallback(choreographer, frameCallback, cb1); 96 AChoreographer_postFrameCallback(choreographer, frameCallback, cb2); 100 ASSERT(cb1->count == 1, "Choreographer failed to invoke callback 1"); 103 ASSERT(cb2->count == 1, "Choreographer failed to invoke callback 2"); 111 AChoreographer_postFrameCallback(choreographer, frameCallback, cb1); 116 ASSERT(cb1->count == 2, "Choreographer failed to invoke callback 1 a second time") 125 AChoreographer* choreographer = reinterpret_cast<AChoreographer*>(choreographerPtr); local [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 explicit Choreographer(const sp<Looper>& looper); 68 Choreographer(const Choreographer&) = delete; 85 static thread_local Choreographer* gChoreographer; 86 Choreographer* Choreographer::getForThread() [all...] |
/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 | 39 * The choreographer receives timing pulses (such as vertical synchronization) 43 * Applications typically interact with the choreographer indirectly using 63 * choreographer directly in your application. Here are some examples. 69 * {@link Choreographer#postFrameCallback}.</li> 73 * Each {@link Looper} thread has its own choreographer. Other threads can 74 * post callbacks to run on the choreographer but they will run on the {@link Looper} 75 * to which the choreographer belongs. 78 public final class Choreographer { 79 private static final String TAG = "Choreographer"; 100 // Thread local storage for the choreographer [all...] |
ThreadedRenderer.java | 798 final Choreographer choreographer = attachInfo.mViewRootImpl.mChoreographer; local 799 choreographer.mFrameInfo.markDrawStart(); 819 final long[] frameInfo = choreographer.mFrameInfo.mFrameInfo; [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowRenderNodeAnimator.java | 8 import android.view.Choreographer; 9 import android.view.Choreographer.FrameCallback; 22 private Choreographer choreographer = Choreographer.getInstance(); field in class:ShadowRenderNodeAnimator 30 // callbacks on the Choreographer, this is a problem if not reset between tests (as once the 42 // Choreographer callbacks synchronously when unpaused (and thus end up running the full 91 choreographer.postFrameCallback(frameCallback); 97 choreographer.removeFrameCallback(frameCallback);
|
ShadowView.java | 23 import android.view.Choreographer; 480 Choreographer choreographer = ShadowChoreographer.getInstance(); local 482 choreographer.removeCallbacks(Choreographer.CALLBACK_ANIMATION, animationRunner, null); 491 choreographer.postCallbackDelayed(Choreographer.CALLBACK_ANIMATION, this, null, startDelay); 507 ShadowChoreographer.getInstance().postCallback(Choreographer.CALLBACK_ANIMATION, this, null);
|
/frameworks/base/core/java/com/android/internal/view/ |
SurfaceFlingerVsyncChoreographer.java | 21 import android.view.Choreographer; 34 private final Choreographer mChoreographer; 43 Choreographer choreographer) { 45 mChoreographer = choreographer;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
MotionEventQueue.java | 27 import android.view.Choreographer; 71 private final Choreographer mMainChoreographer; 75 private Choreographer mInterimChoreographer; 76 private Choreographer mCurrentChoreographer; 80 public MotionEventQueue(Choreographer choreographer, TouchConsumer consumer) { 81 mMainChoreographer = choreographer; 89 public void setInterimChoreographer(Choreographer choreographer) { 92 setInterimChoreographerLocked(choreographer); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskPositioner.java | 41 import android.view.Choreographer; 124 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 125 super(inputChannel, looper, choreographer);
|
/prebuilts/tools/common/m2/repository/com/facebook/rebound/rebound/0.3.8/ |
rebound-0.3.8.jar | |
/packages/apps/Launcher3/quickstep/libs/ |
sysui_shared.jar | |
/frameworks/base/core/java/android/app/ |
ActivityThread.java | 127 import android.view.Choreographer; 1422 Choreographer choreographer = Choreographer.getMainThreadInstance(); local [all...] |
/prebuilts/misc/common/robolectric/3.1.1/lib/ |
shadows-core-v21-3.1.1.jar | |
shadows-core-v22-3.1.1.jar | |
shadows-core-v23-3.1.1.jar | |
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
framework-3.4.2.jar | |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
shadows-framework-3.5.1.jar | |
/prebuilts/misc/common/robolectric/3.6.1/lib/ |
shadows-framework-3.6.1.jar | |
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/ |
exoplayer_dev-hls_20150123.jar | |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |
shadows-core-3.1-SNAPSHOT-17.jar | |