Home
last modified time | relevance | path

Searched refs:durationSeconds (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java137 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs; in getProperties() local
138 if (durationSeconds <= maxLengthSeconds) { in getProperties()
143 durationSeconds = maxLengthSeconds; in getProperties()
145 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties()
152 durationSeconds = maxLengthSeconds; in getProperties()
155 mAnimatorProperties.duration = (long) (durationSeconds * 1000); in getProperties()
209 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties() local
210 if (durationSeconds <= maxLengthSeconds) { in getDismissingProperties()
216 durationSeconds = maxLengthSeconds; in getDismissingProperties()
218 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties()
[all …]
/frameworks/base/media/java/android/media/
DTtmlRenderer.java132 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() local
134 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression()
136 durationSeconds += Long.parseLong(seconds); in parseTimeExpression()
138 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression()
140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression()
142 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes)) in parseTimeExpression()
145 return (long)(durationSeconds * 1000); in parseTimeExpression()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java491 long durationSeconds = (durationMillis / 1000); in computeDuration() local
492 if (start.allDay && (durationSeconds % 86400) == 0) { in computeDuration()
493 return "P" + (durationSeconds / 86400) + "D"; // Server wants this instead of P86400S in computeDuration()
495 return "P" + durationSeconds + "S"; in computeDuration()
/frameworks/wilhelm/tools/permute/
Dpermute.c212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; in permute() local
217 s.mSegmentMax = durationSeconds / meanSegmentLengthSeconds; in permute()
/frameworks/base/core/java/android/text/format/
DFormatter.java245 return context.getString(com.android.internal.R.string.durationSeconds, seconds); in formatShortElapsedTime()