/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 104 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::SwapBuffersCompleted); in calculateLegacyJank() local 114 if (forgiveAmount >= totalDuration) { in calculateLegacyJank() 117 forgiveAmount, totalDuration); in calculateLegacyJank() 120 totalDuration -= forgiveAmount; in calculateLegacyJank() 124 if (totalDuration <= 0) { in calculateLegacyJank() 126 totalDuration, frame[FrameInfoIndex::IntendedVsync], in calculateLegacyJank() 136 if (totalDuration > mFrameIntervalLegacy) { in calculateLegacyJank() 152 || totalDuration < mFrameIntervalLegacy) { in calculateLegacyJank() 177 int64_t totalDuration = frame.duration(FrameInfoIndex::IntendedVsync, in finishFrame() local 180 if (totalDuration <= 0) { in finishFrame() [all …]
|
D | FrameInfoVisualizer.cpp | 158 if (mFrameSource[fi].totalDuration() <= mFrameInterval) { in initializeRects() 191 if (mFrameSource[fi].totalDuration() <= mFrameInterval) { in nextBarSegment()
|
D | FrameInfo.h | 170 inline int64_t totalDuration() const { in totalDuration() function
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | NavBarFadeAnimationController.java | 101 void fadeOutAndInSequentially(long totalDuration, SurfaceControl fadeOutParent, in fadeOutAndInSequentially() argument 104 if (totalDuration > 0) { in fadeOutAndInSequentially() 107 final long fadeInDuration = totalDuration * 2L / 3L; in fadeOutAndInSequentially() 108 mFadeOutAnimation.setDuration(totalDuration - fadeInDuration); in fadeOutAndInSequentially()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 678 long totalDuration = 0; in getDuration() local 684 totalDuration += segmentDuration; in getDuration() 686 return totalDuration; in getDuration() 692 long totalDuration = getDuration(); in isHapticFeedbackCandidate() local 693 if (totalDuration > MAX_HAPTIC_FEEDBACK_DURATION) { in isHapticFeedbackCandidate() 704 totalDuration = 0; in isHapticFeedbackCandidate() 712 totalDuration += segmentDuration; in isHapticFeedbackCandidate() 716 return totalDuration <= MAX_HAPTIC_FEEDBACK_DURATION; in isHapticFeedbackCandidate()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | UiBenchmarkResult.java | 130 double totalDuration = getMetricAtIndex(i, FrameMetrics.TOTAL_DURATION); in getScore() local 131 if (totalDuration >= 12) { in getScore() 132 badFramesStats.addValue(totalDuration); in getScore()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | RenderingJitter.java | 230 long totalDuration = frameMetrics.getMetric(FrameMetrics.TOTAL_DURATION); 231 long jitter = Math.abs(totalDuration - mPreviousFrameTotal); 236 mTotalFrametimeMma = totalDuration; 243 mTotalFrametimeMma = add(mTotalFrametimeMma, totalDuration); 246 mPreviousFrameTotal = totalDuration;
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/animation/ |
D | FakeLaunchAnimator.kt | 30 totalDuration = 0L,
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | LaunchAnimator.kt | 54 (linearProgress * timings.totalDuration - delay) / duration, in <lambda>() 164 val totalDuration: Long, in <lambda>() constant in com.android.systemui.animation.LaunchAnimator.Timings 269 animator.duration = timings.totalDuration in <lambda>()
|
D | ActivityLaunchAnimator.kt | 67 totalDuration = 500L, 98 TIMINGS.totalDuration - ANIMATION_DURATION_NAV_FADE_IN 190 TIMINGS.totalDuration, in startIntentWithAnimation() 191 TIMINGS.totalDuration - 150 /* statusBarTransitionDelay */ in startIntentWithAnimation()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.cpp | 122 const auto totalDuration = mFrameTimes.back().queueTime - mFrameTimes.front().queueTime; in hasEnoughDataForHeuristic() local 123 if (mFrameTimes.size() < HISTORY_SIZE && totalDuration < HISTORY_DURATION.count()) { in hasEnoughDataForHeuristic() 125 totalDuration / 1e9f); in hasEnoughDataForHeuristic()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | AssociationState.java | 843 long totalDuration = mTotalActiveDuration; in dumpStats() local 845 totalDuration += now - mTotalActiveStartUptime; in dumpStats() 847 if (totalDuration > 0 || mTotalActiveCount != 0) { in dumpStats() 853 TimeUtils.formatDuration(totalDuration, pw); in dumpStats() 858 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats() 869 totalDuration = mTotalDuration; in dumpStats() 871 totalDuration += now - mTotalStartUptime; in dumpStats() 873 if (totalDuration > 0 || mTotalCount != 0) { in dumpStats() 879 TimeUtils.formatDuration(totalDuration, pw); in dumpStats() 884 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | Fingerprint21UdfpsMock.java | 476 final int totalDuration = captureDuration + matchingDuration; in onPointerDown() local 477 setDebugMessage("Duration: " + totalDuration in onPointerDown() 481 mHandler.postDelayed(mFakeAcceptRunnable, totalDuration); in onPointerDown() 486 mHandler.postDelayed(mFakeRejectRunnable, totalDuration); in onPointerDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarLaunchAnimatorController.kt | 35 ActivityLaunchAnimator.TIMINGS.totalDuration.toInt()) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorSetActivityTest.java | 148 long totalDuration = 0; in testTotalDuration() local 152 totalDuration += list.get(i).getDuration(); in testTotalDuration() 154 assertEquals(totalDuration, s1.getTotalDuration()); in testTotalDuration() 158 assertEquals(totalDuration + 200, s1.getTotalDuration()); in testTotalDuration() 161 assertEquals(totalDuration + 200 + 100, s1.getTotalDuration()); in testTotalDuration()
|
D | ValueAnimatorTests.java | 361 final long totalDuration = a1.getTotalDuration(); in testResume() local 377 Thread.sleep(totalDuration / 2); in testResume() 389 Thread.sleep(totalDuration); in testResume() 412 long entireSpan = totalDuration * 2; in testResume()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 700 int totalDuration = 0; in updateFrames() local 704 totalDuration += duration; in updateFrames() 707 mTotalDuration = totalDuration; in updateFrames() 708 return totalDuration; in updateFrames()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 457 nsecs_t totalDuration = mFrameDelayDuration + in estimateWorkDuration() local 465 nsecs_t combinedDuration = combineTimingEstimates(totalDuration, flingerDuration); in estimateWorkDuration() 470 nsecs_t PowerAdvisor::combineTimingEstimates(nsecs_t totalDuration, nsecs_t flingerDuration) { in combineTimingEstimates() argument 480 nsecs_t normalizedTotalDuration = (targetDuration * totalDuration) / *mTotalFrameTargetDuration; in combineTimingEstimates()
|
D | PowerAdvisor.h | 249 nsecs_t combineTimingEstimates(nsecs_t totalDuration, nsecs_t flingerDuration);
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 798 final float totalDuration = (float) Math.sqrt( in fitOnBounceCurve() local 800 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 802 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 817 long totalDuration = now - mCameraGestureOnTimeMs; in trackCameraLaunchEvent() local 825 long sensor1OnTime = (long) (totalDuration * (double) values[0]); in trackCameraLaunchEvent() 826 long sensor2OnTime = (long) (totalDuration * (double) values[1]); in trackCameraLaunchEvent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppFGSTracker.java | 410 final long totalDuration = getTotalDurations(pkg, now); in checkLongRunningFgs() local 411 if (totalDuration >= threshold) { in checkLongRunningFgs() 412 pkgWithLongFgs.put(pkg, totalDuration); in checkLongRunningFgs() 418 + TimeUtils.formatDuration(totalDuration) in checkLongRunningFgs()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 315 std::chrono::milliseconds totalDuration(0); in vibratorPerformPwleEffect() local 324 totalDuration += std::chrono::milliseconds(activePwle.duration); in vibratorPerformPwleEffect() 336 return result.isOk() ? totalDuration.count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformPwleEffect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemStatusAnimationSchedulerLegacyImpl.kt | 180 if (animSet.totalDuration > 500) { in <lambda>()
|
D | SystemStatusAnimationSchedulerImpl.kt | 285 if (animSet.totalDuration > 500) { in <lambda>()
|