/frameworks/native/libs/input/tests/ |
D | TouchResampling_test.cpp | 69 std::chrono::nanoseconds frameTime); 158 std::chrono::nanoseconds frameTime) { in consumeInputEventEntries() argument 164 status_t status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, frameTime.count(), in consumeInputEventEntries() 221 std::chrono::nanoseconds frameTime; in TEST_F() local 231 frameTime = 5ms; in TEST_F() 236 consumeInputEventEntries(expectedEntries, frameTime); in TEST_F() 245 frameTime = 35ms; in TEST_F() 252 consumeInputEventEntries(expectedEntries, frameTime); in TEST_F() 260 std::chrono::nanoseconds frameTime; in TEST_F() local 270 frameTime = 5ms; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 416 timeRecord->frameTime.frameNumber); in recordReadyLocked() 425 timeRecord->frameTime.acquireTime = timeRecord->acquireFence->getSignalTime(); in recordReadyLocked() 429 timeRecord->frameTime.frameNumber); in recordReadyLocked() 438 timeRecord->frameTime.presentTime = timeRecord->presentFence->getSignalTime(); in recordReadyLocked() 442 timeRecord->frameTime.frameNumber); in recordReadyLocked() 472 timeRecords[0].frameTime.frameNumber, timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked() 505 const int32_t postToAcquireMs = msBetween(timeRecords[0].frameTime.postTime, in flushAvailableRecordsToStatsLocked() 506 timeRecords[0].frameTime.acquireTime); in flushAvailableRecordsToStatsLocked() 508 timeRecords[0].frameTime.frameNumber, postToAcquireMs); in flushAvailableRecordsToStatsLocked() 511 const int32_t postToPresentMs = msBetween(timeRecords[0].frameTime.postTime, in flushAvailableRecordsToStatsLocked() [all …]
|
D | TimeStats.h | 205 FrameTime frameTime; member
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_PowerHintTest.cpp | 113 const TimePoint frameTime = scheduler::SchedulerClock::now(); in TEST_F() local 115 mFlinger.commitAndComposite(frameTime, VsyncId{123}, frameTime + kMockVsyncPeriod); in TEST_F() 134 const TimePoint frameTime = scheduler::SchedulerClock::now(); in TEST_F() local 136 mFlinger.commitAndComposite(frameTime, VsyncId{123}, frameTime + kMockVsyncPeriod); in TEST_F()
|
D | TestableSurfaceFlinger.h | 366 void commit(TimePoint frameTime, VsyncId vsyncId, TimePoint expectedVsyncTime, 377 frameTargeter.beginFrame({.frameBeginTime = frameTime, 399 void commit(TimePoint frameTime, VsyncId vsyncId, bool composite = false) { 400 return commit(frameTime, vsyncId, frameTime + Period(10ms), composite); 404 const TimePoint frameTime = scheduler::SchedulerClock::now(); 405 commit(frameTime, kVsyncId, composite); 408 void commitAndComposite(TimePoint frameTime, VsyncId vsyncId, TimePoint expectedVsyncTime) { in commitAndComposite() argument 410 commit(frameTime, vsyncId, expectedVsyncTime, kComposite); in commitAndComposite()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 1358 public void commitAnimationFrame(long frameTime) { in commitAnimationFrame() argument 1361 long adjustment = frameTime - mLastFrameTime; in commitAnimationFrame() 1511 public final boolean doAnimationFrame(long frameTime) { 1516 ? frameTime 1517 : frameTime + (long) (mStartDelay * resolveDurationScale()); 1522 mPauseTime = frameTime; 1529 mStartTime += (frameTime - mPauseTime); 1536 if (mStartTime > frameTime && mSeekFraction == -1) { 1552 mStartTime = frameTime - seekTime; 1557 mLastFrameTime = frameTime; [all …]
|
D | AnimationHandler.java | 335 private void doAnimationFrame(long frameTime) { in doAnimationFrame() argument 344 callback.doAnimationFrame(frameTime); in doAnimationFrame() 358 private void commitAnimationFrame(AnimationFrameCallback callback, long frameTime) { in commitAnimationFrame() argument 361 callback.commitAnimationFrame(frameTime); in commitAnimationFrame() 484 boolean doAnimationFrame(long frameTime); in doAnimationFrame() argument 501 void commitAnimationFrame(long frameTime); in commitAnimationFrame() argument
|
D | AnimatorSet.java | 1142 public boolean doAnimationFrame(long frameTime) { 1153 mFirstFrame = frameTime; 1161 mPauseTime = frameTime; 1166 mFirstFrame += (frameTime - mPauseTime); 1174 mFirstFrame = (long) (frameTime - mSeekState.getPlayTime() * durationScale); 1176 mFirstFrame = (long) (frameTime - (mSeekState.getPlayTime() + mStartDelay) 1182 if (!mReversing && frameTime < mFirstFrame + mStartDelay * durationScale) { 1189 long unscaledPlayTime = (long) ((frameTime - mFirstFrame) / durationScale); 1190 mLastFrameTime = frameTime; 1240 public void commitAnimationFrame(long frameTime) { [all …]
|
D | Animator.java | 521 boolean pulseAnimationFrame(long frameTime) { in pulseAnimationFrame() argument
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 168 int64_t frameTime = 0; in main() local 171 &framePosition, &frameTime); in main() 178 framePosition, frameTime, in main() 185 (long long) frameTime, in main()
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 183 int64_t frameTime, in createMediaBufferCopy() argument 193 (*newBuffer)->meta_data().setInt64(kKeyTime, frameTime); in createMediaBufferCopy() 199 int64_t frameTime; in fillLastReadBufferCopy() local 200 CHECK(sourceBuffer.meta_data().findInt64(kKeyTime, &frameTime)); in fillLastReadBufferCopy() 201 createMediaBufferCopy(sourceBuffer, frameTime, &mLastReadBufferCopy); in fillLastReadBufferCopy()
|
D | CameraSource.cpp | 879 int64_t frameTime; in read() local 905 frameTime = *mFrameTimes.begin(); in read() 915 (*buffer)->meta_data().setInt64(kKeyTime, frameTime); in read()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.md | 23 … consumeBatches=false, frameTime=-1, ..)`. That is, when `handleEvent` runs, there is no informati… 33 …Batches=true, frameTime=<valid frame time>, ..)`. At this point, the `consume` function will retur… 46 - `consumeBatches=false, frameTime=-1` 47 - `consumeBatches=true, frameTime=<valid time>` 49 I.e., it is never called with `consumeBatches=true, frameTime=-1`.
|
D | android_view_InputEventReceiver.cpp | 86 status_t consumeEvents(JNIEnv* env, bool consumeBatches, nsecs_t frameTime, 301 bool consumeBatches, nsecs_t frameTime, bool* outConsumedBatch) { in consumeEvents() argument 304 getInputChannelName().c_str(), toString(consumeBatches), frameTime); in consumeEvents() 321 consumeBatches, frameTime, &seq, &inputEvent); in consumeEvents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NoRemeasureMotionLayout.kt | 45 Choreographer.getMainThreadInstance()?.frameTime == lastFrame in onMeasure() 54 lastFrame = Choreographer.getMainThreadInstance()?.frameTime in onMeasure()
|
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | DynamicAnimation.java | 671 public boolean doAnimationFrame(long frameTime) { in doAnimationFrame() argument 674 mLastFrameTime = frameTime; in doAnimationFrame() 678 long deltaT = frameTime - mLastFrameTime; in doAnimationFrame() 679 mLastFrameTime = frameTime; in doAnimationFrame() 696 public void commitAnimationFrame(long frameTime) { in commitAnimationFrame() argument 697 doAnimationFrame(frameTime); in commitAnimationFrame()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.cpp | 64 FrameTimeData frameTime = {.presentTime = lastPresentTime, in setLastPresentTime() local 68 mFrameTimes.push_back(frameTime); in setLastPresentTime() 76 bool LayerInfo::isFrameTimeValid(const FrameTimeData& frameTime) const { in isFrameTimeValid() 77 return frameTime.queueTime >= std::chrono::duration_cast<std::chrono::nanoseconds>( in isFrameTimeValid()
|
/frameworks/base/tests/ChoreographerTests/jni/ |
D | android_view_tests_ChoreographerNativeTest.cpp | 68 std::chrono::nanoseconds frameTime GUARDED_BY(mutex){0}; in GUARDED_BY() 86 cb->frameTime = std::chrono::nanoseconds{frameTimeNanos}; in vsyncCallback()
|
/frameworks/native/services/surfaceflinger/ |
D | WindowInfosListenerInvoker.cpp | 90 .frameTime = update.timestamp, in windowInfosChanged() 158 nsecs_t delay = TimePoint::now().ns() - mDelayInfo->frameTime; in updateMaxSendDelay()
|
D | WindowInfosListenerInvoker.h | 80 nsecs_t frameTime; member
|
D | SurfaceFlinger.h | 744 void updateInputFlinger(VsyncId vsyncId, TimePoint frameTime);
|
/frameworks/base/packages/SystemUI/tests/utils/src/androidx/core/animation/ |
D | AndroidXAnimatorIsolationRule.kt | 34 override fun onAnimationFrame(frameTime: Long) = onError() in addAnimationFrameCallback()
|
/frameworks/base/libs/hwui/ |
D | ProfileData.cpp | 45 static uint32_t frameCountIndexForFrameTime(nsecs_t frameTime) { in frameCountIndexForFrameTime() argument 46 uint32_t index = static_cast<uint32_t>(ns2ms(frameTime)); in frameCountIndexForFrameTime()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 491 status_t consume(InputEventFactoryInterface* factory, bool consumeBatches, nsecs_t frameTime, 647 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 652 void resampleTouchState(nsecs_t frameTime, MotionEvent* event,
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 831 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { in consume() argument 834 mChannel->getName().c_str(), toString(consumeBatches), frameTime); in consume() 858 result = consumeBatch(factory, frameTime, outSeq, outEvent); in consume() 1001 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { in consumeBatch() argument 1006 if (frameTime < 0) { in consumeBatch() 1012 nsecs_t sampleTime = frameTime; in consumeBatch()
|