Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/main/java/io/opencensus/common/
DTimestamp.java142 long durationSeconds = getSeconds() - timestamp.getSeconds(); in subtractTimestamp() local
144 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()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DScriptTagPayloadReader.java87 double durationSeconds = (double) metadata.get(KEY_DURATION); in parsePayload() local
88 if (durationSeconds > 0.0) { in parsePayload()
89 durationUs = (long) (durationSeconds * C.MICROS_PER_SECOND); in parsePayload()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DManualGlitchActivity.java162 int durationSeconds = mBundleFromIntent.getInt(KEY_DURATION, VALUE_DEFAULT_DURATION); in startAutomaticTest() local
178 }, durationSeconds * 1000); in startAutomaticTest()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlDecoder.java763 double durationSeconds = Long.parseLong(hours) * 3600; in parseTimeExpression() local
765 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()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1040 double durationSeconds = (years != null) ? Double.parseDouble(years) * 31556908 : 0; in parseXsDuration() local
1042 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()
/external/perfetto/ui/src/controller/
Drecord_controller_jsdomtest.ts26 config.durationSeconds = 10;