Home
last modified time | relevance | path

Searched refs:maxFileSize (Results 1 – 3 of 3) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java1229 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder() local
1230 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() local
1362 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeEffectsRecording()
1363 maxFileSize = requestedSizeLimit; in initializeEffectsRecording()
1365 mEffectsRecorder.setMaxFileSize(maxFileSize); in initializeEffectsRecording()
DEffectsRecorder.java205 public synchronized void setMaxFileSize(long maxFileSize) { in setMaxFileSize() argument
214 mMaxFileSize = maxFileSize; in setMaxFileSize()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1163 long maxFileSize = mActivity.getStorageSpaceBytes() - Storage.LOW_STORAGE_THRESHOLD_BYTES; in initializeRecorder() local
1164 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeRecorder()
1165 maxFileSize = requestedSizeLimit; in initializeRecorder()
1169 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()