Searched refs:totalDuration (Results 1 – 11 of 11) sorted by relevance
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | LocationCluster.java | 140 long totalDuration = (mNewHistogram.containsKey(timeOfWeek)) ? in updateTemporalHistogram() local 142 mNewHistogram.put(timeOfWeek, totalDuration); in updateTemporalHistogram() 145 totalDuration = (mNewHistogram.containsKey(timeOfDay)) ? in updateTemporalHistogram() 147 mNewHistogram.put(timeOfDay, totalDuration); in updateTemporalHistogram()
|
/frameworks/base/libs/hwui/ |
D | JankTracker.cpp | 215 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in addFrame() local 216 uint32_t framebucket = frameCountIndexForFrameTime(totalDuration); in addFrame() 218 if (CC_LIKELY(totalDuration < mFrameInterval)) { in addFrame() 231 framebucket = (ns2ms(totalDuration) - kSlowFrameBucketStartMs) in addFrame()
|
D | FrameInfoVisualizer.cpp | 152 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) { in initializeRects() 184 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) { in nextBarSegment()
|
D | FrameInfo.h | 152 inline int64_t totalDuration() const { in totalDuration() function
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 360 long totalDuration = now - mCameraGestureOnTimeMs; in trackCameraLaunchEvent() local 368 long sensor1OnTime = (long) (totalDuration * (double) values[0]); in trackCameraLaunchEvent() 369 long sensor2OnTime = (long) (totalDuration * (double) values[1]); in trackCameraLaunchEvent()
|
/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/core/java/android/widget/ |
D | OverScroller.java | 804 final float totalDuration = (float) Math.sqrt( in fitOnBounceCurve() local 806 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex)); in fitOnBounceCurve() 808 mVelocity = (int) (- mDeceleration * totalDuration); in fitOnBounceCurve()
|