Searched refs:durationUs (Results 1 – 6 of 6) sorted by relevance
161 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local163 if (durationUs > mDurationUs) { in prepareAudio()164 mDurationUs = durationUs; in prepareAudio()194 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local196 if (durationUs > mDurationUs) { in prepareVideo()197 mDurationUs = durationUs; in prepareVideo()
243 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local245 if (durationUs > mDurationUs) { in prepareAudio()246 mDurationUs = durationUs; in prepareAudio()289 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local291 if (durationUs > mDurationUs) { in prepareVideo()292 mDurationUs = durationUs; in prepareVideo()
90 long durationUs = seekMap.getDurationMicros(); in onSeekMapFound()91 return durationUs != MediaParser.SeekMap.UNKNOWN_DURATION in onSeekMapFound()92 ? durationUs in onSeekMapFound()
719 long durationUs = seekMap.getDurationMicros(); in testAssetExtraction() local723 durationUs == MediaParser.SeekMap.UNKNOWN_DURATION in testAssetExtraction()725 : (durationUs * j) / 3; in testAssetExtraction()733 if (durationUs == MediaParser.SeekMap.UNKNOWN_DURATION) { in testAssetExtraction()
2513 long durationUs = 0; in validateRecording() local2523 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()2539 float duration = (float) (durationUs / 1000); in validateRecording()
23649 field public static final String KEY_DURATION = "durationUs";