Searched refs:Storage (Results 1 – 24 of 24) sorted by relevance
27 import com.android.camera.Storage;74 Storage.addPlaceholder(placeholder, width, height); in insertPlaceholder()108 …Uri resultUri = Storage.updateImage(session.outputUri, mContext.getContentResolver(), session.outp… in finishPlaceholder()125 Storage.replacePlaceholder(session.outputUri, in replacePlaceholder()155 if (name.toLowerCase().endsWith(Storage.JPEG_POSTFIX)) { in createSessionFromUri()156 name = name.substring(0, name.length() - Storage.JPEG_POSTFIX.length()); in createSessionFromUri()
106 private long mStorageSpace = Storage.LOW_STORAGE_THRESHOLD;310 mStorageSpace = Storage.getAvailableSpace(); in updateStorageSpace()332 if (storageSpace == Storage.UNAVAILABLE) { in updateStorageHint()334 } else if (storageSpace == Storage.PREPARING) { in updateStorageHint()336 } else if (storageSpace == Storage.UNKNOWN_SIZE) { in updateStorageHint()338 } else if (storageSpace <= Storage.LOW_STORAGE_THRESHOLD) { in updateStorageHint()
736 if(mActivity.getStorageSpace() <= Storage.LOW_STORAGE_THRESHOLD) return; in onShutterButtonClick()912 String filepath = Storage.generateFilepath(filename); in savePanorama()932 Storage.writeFile(filepath, jpegData); in savePanorama()935 Storage.writeFile(filepath, jpegData); in savePanorama()942 return Storage.addImage(mContentResolver, filename, mTimeTaken, in savePanorama()
1219 long maxFileSize = mActivity.getStorageSpace() - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder()1364 long maxFileSize = mActivity.getStorageSpace() - Storage.LOW_STORAGE_THRESHOLD; in initializeEffectsRecording()1401 String path = Storage.DIRECTORY + '/' + filename; in generateVideoFilename()1553 if (mActivity.getStorageSpace() <= Storage.LOW_STORAGE_THRESHOLD) { in startVideoRecording()2571 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, loc, orientation, data, in storeImage()
676 Storage.ensureOSXCompatible(); in addIdleHandler()1449 if (mActivity.getStorageSpace() <= Storage.LOW_STORAGE_THRESHOLD) { in onShutterButtonClick()1773 return isCameraIdle() && (mActivity.getStorageSpace() > Storage.LOW_STORAGE_THRESHOLD); in canTakePicture()
134 Uri uri = Storage.addImage(mContentResolver, title, date, loc, in storeImage()
37 public class Storage { class
26 import com.android.camera.Storage;54 Point size = Storage.getSizeForSession(uri); in refreshSize()71 byte[] jpegData = Storage.getJpegForSession(mUri); in getView()72 int currentVersion = Storage.getJpegVersionForSession(mUri); in getView()
25 import com.android.camera.Storage;369 Uri sessionUri = Storage.getSessionUriFromContentUri(localData.getUri()); in onPostExecute()
32 import com.android.camera.Storage;55 private static final String CAMERA_PATH = Storage.DIRECTORY + "%";
686 mStorageSpace = Storage.getAvailableSpace(); in updateAndShowStorageHint()692 if (mStorageSpace == Storage.UNAVAILABLE) { in showStorageHint()694 } else if (mStorageSpace == Storage.PREPARING) { in showStorageHint()696 } else if (mStorageSpace == Storage.UNKNOWN_SIZE) { in showStorageHint()698 } else if (mStorageSpace < Storage.LOW_STORAGE_THRESHOLD) { in showStorageHint()868 mStorageSpace = Storage.getAvailableSpace(); in doOnResume()1229 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder()1361 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeEffectsRecording()1397 mVideoFilename = Storage.DIRECTORY + '/' + filename; in generateVideoFilename()1552 if (mStorageSpace < Storage.LOW_STORAGE_THRESHOLD) { in startVideoRecording()[all …]
410 Storage.ensureOSXCompatible(); in addIdleHandler()995 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, in storeImage()1335 mPicturesRemaining = Storage.getAvailableSpace(); in checkStorage()1336 if (mPicturesRemaining > Storage.LOW_STORAGE_THRESHOLD) { in checkStorage()1337 mPicturesRemaining = (mPicturesRemaining - Storage.LOW_STORAGE_THRESHOLD) in checkStorage()1338 / Storage.PICTURE_SIZE; in checkStorage()1496 if (mPicturesRemaining == Storage.UNAVAILABLE) { in updateStorageHint()1498 } else if (mPicturesRemaining == Storage.PREPARING) { in updateStorageHint()1500 } else if (mPicturesRemaining == Storage.UNKNOWN_SIZE) { in updateStorageHint()
202 ImageColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastImageThumbnail()227 String selection = VideoColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastVideoThumbnail()
32 public class Storage { class
151 .appendQueryParameter("bucketId", Storage.BUCKET_ID).build(); in gotoGallery()
222 private long mStorageSpaceBytes = Storage.LOW_STORAGE_THRESHOLD_BYTES;883 if (!Storage.isSessionUri(uri)) {893 Uri contentUri = Storage.getContentUriForSessionUri(sessionUri);2078 mStorageSpaceBytes = Storage.getAvailableSpace(); in updateStorageSpaceAndHint()2103 if (storageSpace == Storage.UNAVAILABLE) { in updateStorageHint()2105 } else if (storageSpace == Storage.PREPARING) { in updateStorageHint()2107 } else if (storageSpace == Storage.UNKNOWN_SIZE) { in updateStorageHint()2109 } else if (storageSpace <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in updateStorageHint()2765 byte[] jpegData = Storage.getJpegForSession(data.getUri()); in handleMessage()
43 public class Storage { class318 if (Storage.isSessionUri(imageUri)) { in updateImage()
1150 long maxFileSize = mActivity.getStorageSpaceBytes() - Storage.LOW_STORAGE_THRESHOLD_BYTES; in initializeRecorder()1224 String path = Storage.DIRECTORY + '/' + filename; in generateVideoFilename()1338 if (bytes <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in startVideoRecording()
889 Storage.ensureOSXCompatible();1519 if (mActivity.getStorageSpaceBytes() <= Storage.LOW_STORAGE_THRESHOLD_BYTES) {1763 && (mActivity.getStorageSpaceBytes() > Storage.LOW_STORAGE_THRESHOLD_BYTES);
161 return Storage.addImage( in doInBackground()
30 import com.android.camera.Storage;951 Uri uri = Storage.addImage(getContentResolver(), filename, mTimeTaken, null, in savePanorama()954 String filepath = Storage.generateFilepath(filename); in savePanorama()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1402373178, ...