Searched refs:maxFileSize (Results 1 – 3 of 3) sorted by relevance
1229 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder() local1230 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeRecorder()1231 maxFileSize = requestedSizeLimit; in initializeRecorder()1235 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()1361 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeEffectsRecording() local1362 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeEffectsRecording()1363 maxFileSize = requestedSizeLimit; in initializeEffectsRecording()1365 mEffectsRecorder.setMaxFileSize(maxFileSize); in initializeEffectsRecording()
205 public synchronized void setMaxFileSize(long maxFileSize) { in setMaxFileSize() argument214 mMaxFileSize = maxFileSize; in setMaxFileSize()
1163 long maxFileSize = mActivity.getStorageSpaceBytes() - Storage.LOW_STORAGE_THRESHOLD_BYTES; in initializeRecorder() local1164 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeRecorder()1165 maxFileSize = requestedSizeLimit; in initializeRecorder()1169 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()