Searched refs:totalDuration (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
H A DJankTracker.cpp256 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); local
267 LOG_ALWAYS_FATAL_IF(forgiveAmount >= totalDuration,
269 ", total duration %" PRId64, forgiveAmount, totalDuration);
270 totalDuration -= forgiveAmount;
273 LOG_ALWAYS_FATAL_IF(totalDuration <= 0, "Impossible totalDuration %" PRId64, totalDuration);
274 uint32_t framebucket = frameCountIndexForFrameTime(totalDuration);
277 if (CC_LIKELY(totalDuration < mFrameInterval)) {
290 framebucket = (ns2ms(totalDuration)
[all...]
H A DFrameInfoVisualizer.cpp149 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) {
181 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) {
H A DFrameInfo.h156 inline int64_t totalDuration() const { function in class:android::uirenderer::FrameInfo
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationCluster.java140 long totalDuration = (mNewHistogram.containsKey(timeOfWeek)) ?
142 mNewHistogram.put(timeOfWeek, totalDuration);
145 totalDuration = (mNewHistogram.containsKey(timeOfDay)) ?
147 mNewHistogram.put(timeOfDay, totalDuration);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DRenderingJitter.java230 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/services/core/java/com/android/server/
H A DGestureLauncherService.java361 long totalDuration = now - mCameraGestureOnTimeMs;
369 long sensor1OnTime = (long) (totalDuration * (double) values[0]);
370 long sensor2OnTime = (long) (totalDuration * (double) values[1]);
386 if (DBG) Slog.d(TAG, String.format("totalDuration: %d, sensor1OnTime: %s, " +
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialSelectorView.java367 int totalDuration = (int) (duration * totalDurationMultiplier);
368 float delayPoint = (delayMultiplier * duration) / totalDuration;
384 this, radiusReappear, fadeIn).setDuration(totalDuration);
H A DRadialTextsView.java314 int totalDuration = (int) (duration * totalDurationMultiplier);
315 float delayPoint = (delayMultiplier * duration) / totalDuration;
331 this, radiusReappear, fadeIn).setDuration(totalDuration);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedStateListDrawable.java695 int totalDuration = 0;
699 totalDuration += duration;
702 mTotalDuration = totalDuration;
703 return totalDuration;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetActivityTest.java122 long totalDuration = 0;
126 totalDuration += list.get(i).getDuration();
128 assertEquals(totalDuration, s1.getTotalDuration());
132 assertEquals(totalDuration + 200, s1.getTotalDuration());
135 assertEquals(totalDuration + 200 + 100, s1.getTotalDuration());
H A DValueAnimatorTests.java349 final long totalDuration = a1.getTotalDuration();
365 Thread.sleep(totalDuration / 2);
377 Thread.sleep(totalDuration);
399 // Time between pause and resume: totalDuration
400 long entireSpan = totalDuration * 2;
/frameworks/base/core/java/android/widget/
H A DOverScroller.java806 final float totalDuration = (float) Math.sqrt(
808 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex));
810 mVelocity = (int) (- mDeceleration * totalDuration);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java2824 long totalDuration = 0;
2830 totalDuration = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000);
2841 // Partial, full, and window wakelocks are pooled, so totalDuration is meaningful (albeit
2843 // totalDuration independent of totalTimeMicros (since they are not pooled).
2846 sb.append(totalDuration);

Completed in 366 milliseconds