Home
last modified time | relevance | path

Searched refs:choreographer (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp36 static inline Choreographer* AChoreographer_to_Choreographer(AChoreographer* choreographer) { in AChoreographer_to_Choreographer() argument
37 return reinterpret_cast<Choreographer*>(choreographer); in AChoreographer_to_Choreographer()
41 const AChoreographer* choreographer) { in AChoreographer_to_Choreographer() argument
42 return reinterpret_cast<const Choreographer*>(choreographer); in AChoreographer_to_Choreographer()
64 void AChoreographer_routePostFrameCallback(AChoreographer* choreographer, in AChoreographer_routePostFrameCallback() argument
68 return AChoreographer_postFrameCallback(choreographer, callback, data); in AChoreographer_routePostFrameCallback()
71 void AChoreographer_routePostFrameCallbackDelayed(AChoreographer* choreographer, in AChoreographer_routePostFrameCallbackDelayed() argument
76 return AChoreographer_postFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_routePostFrameCallbackDelayed()
79 void AChoreographer_routePostFrameCallback64(AChoreographer* choreographer, in AChoreographer_routePostFrameCallback64() argument
81 return AChoreographer_postFrameCallback64(choreographer, callback, data); in AChoreographer_routePostFrameCallback64()
[all …]
/frameworks/base/native/android/
Dchoreographer.cpp24 void AChoreographer_postFrameCallback(AChoreographer* choreographer, in AChoreographer_postFrameCallback() argument
26 return AChoreographer_routePostFrameCallback(choreographer, callback, data); in AChoreographer_postFrameCallback()
28 void AChoreographer_postFrameCallbackDelayed(AChoreographer* choreographer, in AChoreographer_postFrameCallbackDelayed() argument
31 return AChoreographer_routePostFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_postFrameCallbackDelayed()
33 void AChoreographer_postFrameCallback64(AChoreographer* choreographer, in AChoreographer_postFrameCallback64() argument
35 return AChoreographer_routePostFrameCallback64(choreographer, callback, data); in AChoreographer_postFrameCallback64()
37 void AChoreographer_postFrameCallbackDelayed64(AChoreographer* choreographer, in AChoreographer_postFrameCallbackDelayed64() argument
40 return AChoreographer_routePostFrameCallbackDelayed64(choreographer, callback, data, in AChoreographer_postFrameCallbackDelayed64()
43 void AChoreographer_postVsyncCallback(AChoreographer* choreographer, in AChoreographer_postVsyncCallback() argument
45 return AChoreographer_routePostVsyncCallback(choreographer, callback, data); in AChoreographer_postVsyncCallback()
[all …]
Dsurface_control_input_receiver.cpp109 BatchedInputReceiver(Choreographer& choreographer, in BatchedInputReceiver() argument
114 : InputReceiver(choreographer.getLooper(), inputChannel, clientToken, inputTransferToken, in BatchedInputReceiver()
116 mChoreographer(choreographer) {} in BatchedInputReceiver()
/frameworks/native/libs/nativedisplay/include-private/private/android/
Dchoreographer.h35 int64_t AChoreographer_getFrameInterval(const AChoreographer* choreographer);
43 void AChoreographer_routePostFrameCallback(AChoreographer* choreographer,
45 void AChoreographer_routePostFrameCallbackDelayed(AChoreographer* choreographer,
48 void AChoreographer_routePostFrameCallback64(AChoreographer* choreographer,
50 void AChoreographer_routePostFrameCallbackDelayed64(AChoreographer* choreographer,
53 void AChoreographer_routePostVsyncCallback(AChoreographer* choreographer,
55 void AChoreographer_routeRegisterRefreshRateCallback(AChoreographer* choreographer,
58 void AChoreographer_routeUnregisterRefreshRateCallback(AChoreographer* choreographer,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DFlowUtilTests.kt255 val choreographer = createChoreographer(this) in <lambda>() constant
264 .throttle(1000, choreographer.fakeClock) in <lambda>()
269 choreographer.advanceAndRun(0) in <lambda>()
275 choreographer.advanceAndRun(999) in <lambda>()
281 choreographer.advanceAndRun(1) in <lambda>()
293 val choreographer = createChoreographer(this) in <lambda>() constant
302 .throttle(1000, choreographer.fakeClock) in <lambda>()
307 choreographer.advanceAndRun(0) in <lambda>()
313 choreographer.advanceAndRun(500) in <lambda>()
314 choreographer.advanceAndRun(499) in <lambda>()
[all …]
/frameworks/native/include/android/
Dchoreographer.h167 void AChoreographer_postFrameCallback(AChoreographer* choreographer,
190 void AChoreographer_postFrameCallbackDelayed(AChoreographer* choreographer,
206 void AChoreographer_postFrameCallback64(AChoreographer* choreographer,
221 void AChoreographer_postFrameCallbackDelayed64(AChoreographer* choreographer,
236 void AChoreographer_postVsyncCallback(AChoreographer* choreographer,
268 void AChoreographer_registerRefreshRateCallback(AChoreographer* choreographer,
286 void AChoreographer_unregisterRefreshRateCallback(AChoreographer* choreographer,
/frameworks/native/libs/nativedisplay/include/apex/
Dchoreographer.h36 void AChoreographer_destroy(AChoreographer* choreographer);
46 int AChoreographer_getFd(const AChoreographer* choreographer);
57 void AChoreographer_handlePendingEvents(AChoreographer* choreographer, void* data);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java68 Choreographer choreographer, final InputEventListener listener) { in InputEventReceiver() argument
69 this("unknown", inputChannel, looper, choreographer, listener); in InputEventReceiver()
73 Choreographer choreographer, final InputEventListener listener) { in InputEventReceiver() argument
75 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver()
DInputMonitorCompat.java77 public InputEventReceiver getInputReceiver(Looper looper, Choreographer choreographer, in getInputReceiver() argument
81 return new InputEventReceiver(mName, mInputMonitor.getInputChannel(), looper, choreographer, in getInputReceiver()
DInputConsumerController.java67 Choreographer choreographer) { in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
/frameworks/base/tests/ChoreographerTests/jni/
Dandroid_view_tests_ChoreographerNativeTest.cpp66 AChoreographer* choreographer = nullptr; member
98 AChoreographer_postVsyncCallback(cb->choreographer, vsyncCallback, data); in vsyncCallback()
131 AChoreographer* choreographer = reinterpret_cast<AChoreographer*>(choreographerPtr); in android_view_ChoreographerNativeTest_testPostVsyncCallbackAtFrameRate() local
133 cb.choreographer = choreographer; in android_view_ChoreographerNativeTest_testPostVsyncCallbackAtFrameRate()
136 AChoreographer_postVsyncCallback(choreographer, vsyncCallback, &cb); in android_view_ChoreographerNativeTest_testPostVsyncCallbackAtFrameRate()
/frameworks/base/core/java/android/view/
DBatchedInputEventReceiver.java43 InputChannel inputChannel, Looper looper, Choreographer choreographer) { in BatchedInputEventReceiver() argument
45 mChoreographer = choreographer; in BatchedInputEventReceiver()
156 Choreographer choreographer, InputEventListener listener) { in SimpleBatchedInputEventReceiver() argument
157 super(inputChannel, looper, choreographer); in SimpleBatchedInputEventReceiver()
/frameworks/libs/systemui/toruslib/torus-framework-canvas/src/main/java/com/google/android/torus/canvas/engine/
DCanvasWallpaperEngine.kt56 private val choreographer = Choreographer.getInstance() constant in com.google.android.torus.canvas.engine.CanvasWallpaperEngine
189 choreographer.removeFrameCallback(frameScheduler) in destroy()
259 choreographer.postFrameCallback(frameScheduler) in startUpdateLoop()
269 choreographer.removeFrameCallback(frameScheduler) in stopUpdateLoop()
307 if (running) choreographer.postFrameCallback(this) in getCurrentSurfaceHolder()
/frameworks/native/libs/gui/tests/
DChoreographer_test.cpp53 Choreographer* choreographer = Choreographer::getForThread(); in TEST_F() local
57 choreographer->postFrameCallbackDelayed(nullptr, nullptr, vsyncCallback, &animationCb, 0, in TEST_F()
59 choreographer->postFrameCallbackDelayed(nullptr, nullptr, vsyncCallback, &inputCb, 0, in TEST_F()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldFrameCallbackScheduler.kt37 private val choreographer = Choreographer.getInstance() constant in com.android.systemui.unfold.progress.UnfoldFrameCallbackScheduler
42 choreographer.postFrameCallback { frameCallback.run() } in postFrameCallback()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarInputEventReceiver.java34 Choreographer choreographer, BubblesNavBarMotionEventHandler motionEventHandler) { in BubblesNavBarInputEventReceiver() argument
35 super(inputChannel, Looper.myLooper(), choreographer); in BubblesNavBarInputEventReceiver()
/frameworks/base/core/java/com/android/internal/graphics/
DSfVsyncFrameCallbackProvider.java36 public SfVsyncFrameCallbackProvider(Choreographer choreographer) { in SfVsyncFrameCallbackProvider() argument
37 mChoreographer = choreographer; in SfVsyncFrameCallbackProvider()
/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/
DAttachedChoreographerTest.java405 Choreographer choreographer = sc.getChoreographer(); in testChoreographerDivisorRefreshRate()
413 () -> verifyVsyncCallbacks(choreographer, in testChoreographerDivisorRefreshRate()
483 Choreographer choreographer = sc.getChoreographer(); in testChoreographerAttachedAfterSetFrameRate()
484 verifyVsyncCallbacks(choreographer, callbackDurationMs, in testChoreographerAttachedAfterSetFrameRate()
502 Choreographer choreographer = sc.getChoreographer(); in testChoreographerNonDivisorFixedSourceRefreshRate()
510 () -> verifyVsyncCallbacks(choreographer, in testChoreographerNonDivisorFixedSourceRefreshRate()
528 Choreographer choreographer = sc.getChoreographer(); in testChoreographerNonDivisorRefreshRate()
537 () -> verifyVsyncCallbacks(choreographer, in testChoreographerNonDivisorRefreshRate()
547 private void verifyVsyncCallbacks(Choreographer choreographer, long callbackDurationMs, in verifyVsyncCallbacks() argument
549 choreographer.postVsyncCallback(frameData -> { in verifyVsyncCallbacks()
[all …]
/frameworks/libs/native_bridge_support/android_api/libandroid/proxy/
Dlibandroid_trampolines.cc145 auto [choreographer, guest_callback, data] = in DoCustomTrampoline_AChoreographer_postFrameCallback()
149 AChoreographer_postFrameCallback(choreographer, host_callback, data); in DoCustomTrampoline_AChoreographer_postFrameCallback()
157 auto [choreographer, guest_callback, data, delay] = in DoCustomTrampoline_AChoreographer_postFrameCallbackDelayed()
161 AChoreographer_postFrameCallbackDelayed(choreographer, host_callback, data, delay); in DoCustomTrampoline_AChoreographer_postFrameCallbackDelayed()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java85 Choreographer choreographer) { in createDefaultAndStartLooper() argument
87 return new WindowTracing(file, service, choreographer, BUFFER_CAPACITY_TRIM); in createDefaultAndStartLooper()
90 private WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing() argument
92 this(file, service, choreographer, service.mGlobalLock, bufferCapacity); in WindowTracing()
95 WindowTracing(File file, WindowManagerService service, Choreographer choreographer, in WindowTracing() argument
97 mChoreographer = choreographer; in WindowTracing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DInputSession.java66 Choreographer choreographer, in InputSession() argument
72 mInputEventReceiver = mInputMonitor.getInputReceiver(looper, choreographer, in InputSession()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellConcurrencyModule.java155 final Choreographer[] choreographer = new Choreographer[1]; in provideShellMainChoreographer() local
156 executor.executeBlocking(() -> choreographer[0] = Choreographer.getInstance()); in provideShellMainChoreographer()
157 return choreographer[0]; in provideShellMainChoreographer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifPipelineChoreographerTest.kt51 .choreographer
112 val choreographer: NotifPipelineChoreographer constant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipInputConsumer.java67 Choreographer choreographer) { in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipInputConsumer.java67 Choreographer choreographer) { in InputEventReceiver() argument
68 super(inputChannel, looper, choreographer); in InputEventReceiver()

12