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

/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/libs/hwui/
H A DJankTracker.cpp215 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); local
216 uint32_t framebucket = frameCountIndexForFrameTime(totalDuration);
218 if (CC_LIKELY(totalDuration < mFrameInterval)) {
231 framebucket = (ns2ms(totalDuration) - kSlowFrameBucketStartMs)
H A DFrameInfoVisualizer.cpp152 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) {
184 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) {
H A DFrameInfo.h152 inline int64_t totalDuration() const { function in class:android::uirenderer::FrameInfo
/frameworks/base/services/core/java/com/android/server/
H A DGestureLauncherService.java360 long totalDuration = now - mCameraGestureOnTimeMs;
368 long sensor1OnTime = (long) (totalDuration * (double) values[0]);
369 long sensor2OnTime = (long) (totalDuration * (double) values[1]);
385 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.java804 final float totalDuration = (float) Math.sqrt(
806 mStartTime -= (int) (1000.0f * (totalDuration - durationToApex));
808 mVelocity = (int) (- mDeceleration * totalDuration);

Completed in 5222 milliseconds