Searched refs:durationSeconds (Results 1 – 5 of 5) sorted by relevance
138 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs; in getProperties() local139 if (durationSeconds <= maxLengthSeconds) { in getProperties()144 durationSeconds = maxLengthSeconds; in getProperties()146 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getProperties()153 durationSeconds = maxLengthSeconds; in getProperties()156 mAnimatorProperties.duration = (long) (durationSeconds * 1000); in getProperties()210 float durationSeconds = startGradient * diff / velAbs; in getDismissingProperties() local211 if (durationSeconds <= maxLengthSeconds) { in getDismissingProperties()217 durationSeconds = maxLengthSeconds; in getDismissingProperties()219 = new VelocityInterpolator(durationSeconds, velAbs, diff); in getDismissingProperties()[all …]
144 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() local146 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression()148 durationSeconds += Long.parseLong(seconds); in parseTimeExpression()150 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression()152 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression()154 durationSeconds += (subframes != null) ? ((double)Long.parseLong(subframes)) in parseTimeExpression()157 return (long)(durationSeconds * 1000); in parseTimeExpression()
491 long durationSeconds = (durationMillis / 1000); in computeDuration() local492 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()
212 double durationSeconds = (double) sfinfo_in.frames / (double) sfinfo_in.samplerate; in permute() local217 s.mSegmentMax = durationSeconds / meanSegmentLengthSeconds; in permute()
172 return context.getString(com.android.internal.R.string.durationSeconds, seconds); in formatShortElapsedTime()