Searched refs:totalDuration (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 114 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in finishFrame() local 125 LOG_ALWAYS_FATAL_IF(forgiveAmount >= totalDuration, in finishFrame() 127 ", total duration %" PRId64, forgiveAmount, totalDuration); in finishFrame() 128 totalDuration -= forgiveAmount; in finishFrame() 131 LOG_ALWAYS_FATAL_IF(totalDuration <= 0, "Impossible totalDuration %" PRId64, totalDuration); in finishFrame() 132 mData->reportFrame(totalDuration); in finishFrame() 133 (*mGlobalData)->reportFrame(totalDuration); in finishFrame() 136 if (CC_LIKELY(totalDuration < mFrameInterval)) { in finishFrame()
|
D | FrameInfoVisualizer.cpp | 149 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) { in initializeRects() 181 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) { in nextBarSegment()
|
D | FrameInfo.h | 156 inline int64_t totalDuration() const { in totalDuration() function
|
/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/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 367 int totalDuration = (int) (duration * totalDurationMultiplier); in getReappearAnimator() local 368 float delayPoint = (delayMultiplier * duration) / totalDuration; in getReappearAnimator() 384 this, radiusReappear, fadeIn).setDuration(totalDuration); in getReappearAnimator()
|
D | RadialTextsView.java | 314 int totalDuration = (int) (duration * totalDurationMultiplier); in renderAnimations() local 315 float delayPoint = (delayMultiplier * duration) / totalDuration; in renderAnimations() 331 this, radiusReappear, fadeIn).setDuration(totalDuration); in renderAnimations()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedStateListDrawable.java | 695 int totalDuration = 0; in updateFrames() local 699 totalDuration += duration; in updateFrames() 702 mTotalDuration = totalDuration; in updateFrames() 703 return totalDuration; in updateFrames()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorSetActivityTest.java | 122 long totalDuration = 0; in testTotalDuration() local 126 totalDuration += list.get(i).getDuration(); in testTotalDuration() 128 assertEquals(totalDuration, s1.getTotalDuration()); in testTotalDuration() 132 assertEquals(totalDuration + 200, s1.getTotalDuration()); in testTotalDuration() 135 assertEquals(totalDuration + 200 + 100, s1.getTotalDuration()); in testTotalDuration()
|
D | ValueAnimatorTests.java | 349 final long totalDuration = a1.getTotalDuration(); in testResume() local 365 Thread.sleep(totalDuration / 2); in testResume() 377 Thread.sleep(totalDuration); in testResume() 400 long entireSpan = totalDuration * 2; in testResume()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 474 long totalDuration = now - mCameraGestureOnTimeMs; in trackCameraLaunchEvent() local 482 long sensor1OnTime = (long) (totalDuration * (double) values[0]); in trackCameraLaunchEvent() 483 long sensor2OnTime = (long) (totalDuration * (double) values[1]); in trackCameraLaunchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 806 final float totalDuration = (float) Math.sqrt( in fitOnBounceCurve() local 808 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 810 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2910 long totalDuration = 0; in printWakeLockCheckin() local 2916 totalDuration = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin() 2932 sb.append(totalDuration); in printWakeLockCheckin()
|