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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java132 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs;
133 if (durationSeconds <= maxLengthSeconds) {
138 durationSeconds = maxLengthSeconds;
140 = new VelocityInterpolator(durationSeconds, velAbs, diff);
147 durationSeconds = maxLengthSeconds;
150 mAnimatorProperties.duration = (long) (durationSeconds * 1000);
204 float durationSeconds = startGradient * diff / velAbs;
205 if (durationSeconds <= maxLengthSeconds) {
211 durationSeconds = maxLengthSeconds;
213 = new VelocityInterpolator(durationSeconds, velAb
281 VelocityInterpolator(float durationSeconds, float velocity, float diff) argument
[all...]
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java132 double durationSeconds = Long.parseLong(hours) * 3600;
134 durationSeconds += Long.parseLong(minutes) * 60;
136 durationSeconds += Long.parseLong(seconds);
138 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0;
140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0;
142 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes))
145 return (long)(durationSeconds * 1000);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceSet.java491 long durationSeconds = (durationMillis / 1000);
492 if (start.allDay && (durationSeconds % 86400) == 0) {
493 return "P" + (durationSeconds / 86400) + "D"; // Server wants this instead of P86400S
495 return "P" + durationSeconds + "S";
/frameworks/wilhelm/tools/permute/
H A Dpermute.c212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; local
217 s.mSegmentMax = durationSeconds / meanSegmentLengthSeconds;
/frameworks/base/core/java/android/text/format/
H A DFormatter.java250 return context.getString(com.android.internal.R.string.durationSeconds, seconds);

Completed in 151 milliseconds