Home
last modified time | relevance | path

Searched refs:frameTimeNanos (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/view/
DChoreographer.java742 void doFrame(long frameTimeNanos, int frame, in doFrame() argument
751 FrameData frameData = new FrameData(frameTimeNanos, vsyncEventData); in doFrame()
761 + ((frameTimeNanos - mLastFrameTimeNanos) * 0.000001f) + " ms"); in doFrame()
764 long intendedFrameTimeNanos = frameTimeNanos; in doFrame()
766 final long jitterNanos = startNanos - frameTimeNanos; in doFrame()
788 frameTimeNanos = startNanos - lastFrameOffset; in doFrame()
789 frameData.updateFrameData(frameTimeNanos); in doFrame()
792 if (frameTimeNanos < mLastFrameTimeNanos) { in doFrame()
803 long timeSinceVsync = frameTimeNanos - mLastFrameTimeNanos; in doFrame()
811 mFrameInfo.setVsync(intendedFrameTimeNanos, frameTimeNanos, in doFrame()
[all …]
DBatchedInputEventReceiver.java81 protected void doConsumeBatchedInput(long frameTimeNanos) { in doConsumeBatchedInput() argument
84 if (consumeBatchedInputEvents(frameTimeNanos) && frameTimeNanos != -1) { in doConsumeBatchedInput()
DInputEventReceiver.java60 long frameTimeNanos); in nativeConsumeBatchedInputEvents() argument
242 public final boolean consumeBatchedInputEvents(long frameTimeNanos) { in consumeBatchedInputEvents() argument
247 return nativeConsumeBatchedInputEvents(mReceiverPtr, frameTimeNanos); in consumeBatchedInputEvents()
DViewRootImpl.java4337 public void doFrame(long frameTimeNanos) { in profileRendering()
9283 boolean doConsumeBatchedInput(long frameTimeNanos) { in doConsumeBatchedInput() argument
9286 consumedBatches = mInputEventReceiver.consumeBatchedInputEvents(frameTimeNanos); in doConsumeBatchedInput()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/util/
DChoreographerCallbacksTest.java62 callbacks.add((FrameCallback) frameTimeNanos -> order.add(1), 100); in testAddAndExecuteInOrder()
75 callbacks.add((FrameCallback) frameTimeNanos -> order.add(1), 100); in testAddAndExecuteOnlyDue()
89 callbacks.add((FrameCallback) frameTimeNanos -> order.add(1), 100); in testRemove()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp124 int64_t frameTimeNanos = AChoreographerFrameCallbackData_getFrameTimeNanos(cbData); in extendedFrameCallback() local
127 rt->frameCallback(vsyncId, frameDeadline, frameTimeNanos, frameInterval); in extendedFrameCallback()
130 void RenderThread::frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos, in frameCallback() argument
133 if (timeLord().vsyncReceived(frameTimeNanos, frameTimeNanos, vsyncId, frameDeadline, in frameCallback()
138 nsecs_t runAt = (frameTimeNanos + mDispatchFrameDelay); in frameCallback()
DRenderThread.h215 void frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos,
/frameworks/native/include/android/
Dchoreographer.h85 typedef void (*AChoreographer_frameCallback)(long frameTimeNanos, void* data);
95 typedef void (*AChoreographer_frameCallback64)(int64_t frameTimeNanos, void* data);
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java170 final long frameTimeNanos = mChoreographer.getFrameTimeNanos();
171 final float timeDelta = (frameTimeNanos - mLastFrameTimeNanos)
173 mLastFrameTimeNanos = frameTimeNanos;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DChoreographerCallbacks.java94 private static void executeSafely(@NotNull Object action, long frameTimeNanos, in executeSafely() argument
99 callback.doFrame(frameTimeNanos); in executeSafely()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java405 long frameTimeNanos) { in render() argument
406 return render(bridge, params, frameTimeNanos, null); in render()
412 long frameTimeNanos, in render() argument
421 if (frameTimeNanos != -1) { in render()
422 session.setElapsedFrameTimeNanos(frameTimeNanos); in render()
475 long frameTimeNanos) throws ClassNotFoundException { in renderAndVerify() argument
476 RenderResult result = RenderTestBase.render(sBridge, params, frameTimeNanos); in renderAndVerify()
/frameworks/layoutlib/remote/tests/src/
DRemoteBridgeTest.java51 String goldenFileName, long frameTimeNanos) throws ClassNotFoundException { in renderAndVerify() argument
52 RenderResult result = RenderTestBase.render(bridge, params, frameTimeNanos); in renderAndVerify()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java85 public void doFrame(long frameTimeNanos) {
235 private Choreographer.FrameCallback mPauser = frameTimeNanos -> {
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/
DFrameProtoTracer.java162 public void doFrame(long frameTimeNanos) { in doFrame() argument
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp104 int64_t frameTimeNanos{0}; member
456 return {.frameTimeNanos = timestamp, in createFrameCallbackData()
651 return frameCallbackData->frameTimeNanos; in AChoreographerFrameCallbackData_getFrameTimeNanos()
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp566 jlong frameTimeNanos) { in nativeConsumeBatchedInputEvents() argument
570 status_t status = receiver->consumeEvents(env, true /*consumeBatches*/, frameTimeNanos, in nativeConsumeBatchedInputEvents()
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java228 public void doFrame(long frameTimeNanos) { in doFrame() argument
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTracing.java69 private final Choreographer.FrameCallback mFrameCallback = (frameTimeNanos) ->
DSurfaceAnimationRunner.java334 private void startAnimations(long frameTimeNanos) { in startAnimations() argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java234 public void doFrame(long frameTimeNanos) { in invalOnVsync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java541 frameTimeNanos -> { in startAppearAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java194 public void doFrame(long frameTimeNanos) {
/frameworks/base/core/java/android/widget/
DTextView.java14026 public void doFrame(long frameTimeNanos) {
14033 public void doFrame(long frameTimeNanos) {
14042 public void doFrame(long frameTimeNanos) {