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.java172 float durationSeconds = startGradient * diff / velAbs; in getProperties() local
174 if (durationSeconds <= maxLengthSeconds) { in getProperties()
179 durationSeconds = maxLengthSeconds; in getProperties()
181 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties()
188 durationSeconds = maxLengthSeconds; in getProperties()
191 mAnimatorProperties.duration = (long) (durationSeconds * 1000); in getProperties()
258 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties() local
259 if (durationSeconds <= maxLengthSeconds) { in getDismissingProperties()
265 durationSeconds = maxLengthSeconds; in getDismissingProperties()
267 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties()
[all …]
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp86 int32_t durationSeconds; in testOpenPlayClose() local
90 durationSeconds = argParser.getDurationSeconds(); in testOpenPlayClose()
94 durationSeconds = 2; // just wait briefly when quiet in testOpenPlayClose()
110 for (int second = 0; second < durationSeconds; second++) { in testOpenPlayClose()
/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.java489 long durationSeconds = (durationMillis / 1000); in computeDuration() local
490 if (start.allDay && (durationSeconds % 86400) == 0) { in computeDuration()
491 return "P" + (durationSeconds / 86400) + "D"; // Server wants this instead of P86400S in computeDuration()
493 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()