Searched refs:durationUs (Results 1 – 3 of 3) sorted by relevance
143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local145 if (durationUs > mDurationUs) { in prepareAudio()146 mDurationUs = durationUs; in prepareAudio()176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local178 if (durationUs > mDurationUs) { in prepareVideo()179 mDurationUs = durationUs; in prepareVideo()
190 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio() local192 if (durationUs > mDurationUs) { in prepareAudio()193 mDurationUs = durationUs; in prepareAudio()228 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo() local230 if (durationUs > mDurationUs) { in prepareVideo()231 mDurationUs = durationUs; in prepareVideo()
1245 long durationUs = 0; in validateRecording() local1254 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()1263 int duration = (int) (durationUs / 1000); in validateRecording()