Searched refs:durationSeconds (Results 1 – 6 of 6) sorted by relevance
142 long durationSeconds = getSeconds() - timestamp.getSeconds(); in subtractTimestamp() local144 if (durationSeconds < 0 && durationNanos > 0) { in subtractTimestamp()145 durationSeconds += 1; in subtractTimestamp()147 } else if (durationSeconds > 0 && durationNanos < 0) { in subtractTimestamp()148 durationSeconds -= 1; in subtractTimestamp()151 return Duration.create(durationSeconds, durationNanos); in subtractTimestamp()
87 double durationSeconds = (double) metadata.get(KEY_DURATION); in parsePayload() local88 if (durationSeconds > 0.0) { in parsePayload()89 durationUs = (long) (durationSeconds * C.MICROS_PER_SECOND); in parsePayload()
162 int durationSeconds = mBundleFromIntent.getInt(KEY_DURATION, VALUE_DEFAULT_DURATION); in startAutomaticTest() local178 }, durationSeconds * 1000); in startAutomaticTest()
763 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() local765 durationSeconds += Long.parseLong(minutes) * 60; in parseTimeExpression()767 durationSeconds += Long.parseLong(seconds); in parseTimeExpression()769 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0; in parseTimeExpression()771 durationSeconds += (frames != null) in parseTimeExpression()774 durationSeconds += (subframes != null) in parseTimeExpression()778 return (long) (durationSeconds * C.MICROS_PER_SECOND); in parseTimeExpression()
1040 double durationSeconds = (years != null) ? Double.parseDouble(years) * 31556908 : 0; in parseXsDuration() local1042 durationSeconds += (months != null) ? Double.parseDouble(months) * 2629739 : 0; in parseXsDuration()1044 durationSeconds += (days != null) ? Double.parseDouble(days) * 86400 : 0; in parseXsDuration()1046 durationSeconds += (hours != null) ? Double.parseDouble(hours) * 3600 : 0; in parseXsDuration()1048 durationSeconds += (minutes != null) ? Double.parseDouble(minutes) * 60 : 0; in parseXsDuration()1050 durationSeconds += (seconds != null) ? Double.parseDouble(seconds) : 0; in parseXsDuration()1051 long durationMillis = (long) (durationSeconds * 1000); in parseXsDuration()
26 config.durationSeconds = 10;