Searched refs:totalDuration (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 111 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in finishFrame() local 120 LOG_ALWAYS_FATAL_IF(forgiveAmount >= totalDuration, in finishFrame() 123 forgiveAmount, totalDuration); in finishFrame() 124 totalDuration -= forgiveAmount; in finishFrame() 128 LOG_ALWAYS_FATAL_IF(totalDuration <= 0, "Impossible totalDuration %" PRId64, totalDuration); in finishFrame() 129 mData->reportFrame(totalDuration); in finishFrame() 130 (*mGlobalData)->reportFrame(totalDuration); in finishFrame() 137 if (totalDuration > mFrameInterval) { in finishFrame() 148 if (frame[FrameInfoIndex::FrameCompleted] < mSwapDeadline || totalDuration < mFrameInterval) { in finishFrame() 173 if (totalDuration >= 700_ms) { 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 | 142 inline int64_t totalDuration() const { in totalDuration() function
|
/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/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/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/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 490 long totalDuration = now - mCameraGestureOnTimeMs; in trackCameraLaunchEvent() local 498 long sensor1OnTime = (long) (totalDuration * (double) values[0]); in trackCameraLaunchEvent() 499 long sensor2OnTime = (long) (totalDuration * (double) values[1]); in trackCameraLaunchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 814 final float totalDuration = (float) Math.sqrt( in fitOnBounceCurve() local 816 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 818 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3337 long totalDuration = 0; in printWakeLockCheckin() local 3343 totalDuration = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin() 3359 sb.append(totalDuration); in printWakeLockCheckin()
|