Searched refs:Storage (Results 1 – 25 of 26) sorted by relevance
12
28 import com.android.camera.Storage;72 Uri uri = Storage.instance().addEmptyPlaceholder(size); in insertEmptyPlaceholder()94 Uri uri = Storage.instance().addPlaceholder(placeholder); in insertPlaceholder()137 …Uri resultUri = Storage.instance().updateImage(placeholder.outputUri, mContext.getContentResolver(… in finishPlaceholder()151 Storage.instance().replacePlaceholder(session.outputUri, placeholder); in replacePlaceholder()161 return Storage.instance().getPlaceholderForSession(placeholder.outputUri); in getPlaceholder()171 Storage.instance().removePlaceholder(placeholder.outputUri); in removePlaceholder()199 if (name.toLowerCase().endsWith(Storage.JPEG_POSTFIX)) { in createSessionFromUri()200 name = name.substring(0, name.length() - Storage.JPEG_POSTFIX.length()); in createSessionFromUri()
25 import com.android.camera.Storage;67 Storage.instance().generateFilepath(mStackDirectory.getAbsolutePath(), in saveStackedImage()73 if (Storage.instance().renameFile(inputImagePath, outputImagePath)) { in saveStackedImage()76 return Storage.instance().addImageToMediaStore(mContentResolver, title, in saveStackedImage()
26 import com.android.camera.Storage;55 if (!Storage.instance().containsPlaceholderSize(uri)) { in create()85 Point size = Storage.instance().getSizeForSession(uri); in getSessionSize()104 Optional<Bitmap> placeholder = Storage.instance().getPlaceholderForSession(mData.getUri()); in getView()174 return Storage.instance().getPlaceholderForSession(mUri); in generateThumbnail()
24 import com.android.camera.Storage;64 String cameraPath = Storage.instance().DIRECTORY + "%"; in forCameraPath()
22 import com.android.camera.Storage;149 String cameraPathStr = Storage.instance().DIRECTORY; in deleteIfEmptyCameraSubDir()
29 import com.android.camera.Storage;225 return Storage.instance().getPlaceholderForSession(data.getUri()); in generateThumbnail()
25 import com.android.camera.Storage;353 Uri sessionUri = Storage.instance().getSessionUriFromContentUri( in onPostExecute()
30 import com.google.api.services.storage.Storage;82 Storage storage, MetaBugReport bugReport, String fileName, InputStream data) in uploadSimple()100 Storage.Objects.Insert insertObject = storage.objects().insert(bucket, object, in uploadSimple()119 Storage storage = new Storage.Builder(httpTransport, jsonFactory, credential) in upload()
48 public class Storage { class74 private static final Storage INSTANCE = new Storage(AndroidContext.instance().get());77 public static Storage instance() { in instance()81 private Storage(Context context) { in Storage() method in Storage
240 private long mStorageSpaceBytes = Storage.LOW_STORAGE_THRESHOLD_BYTES;892 if (!Storage.instance().isSessionUri(uri)) {910 Uri contentUri = Storage.instance().getContentUriForSessionUri(sessionUri);939 Storage.instance().getPlaceholderForSession(sessionUri));2383 mStorageSpaceBytes = Storage.instance().getAvailableSpace(); in updateStorageSpaceAndHint()2408 if (storageSpace == Storage.UNAVAILABLE) { in updateStorageHint()2410 } else if (storageSpace == Storage.PREPARING) { in updateStorageHint()2412 } else if (storageSpace == Storage.UNKNOWN_SIZE) { in updateStorageHint()2414 } else if (storageSpace <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in updateStorageHint()
42 UsageStatistics.instance().storageWarning(Storage.ACCESS_FAILURE); in onMediaStorageFailure()
182 return Storage.instance().addImage( in doInBackground()
1163 long maxFileSize = mActivity.getStorageSpaceBytes() - Storage.LOW_STORAGE_THRESHOLD_BYTES; in initializeRecorder()1226 String path = Storage.instance().DIRECTORY + '/' + filename; in generateVideoFilename()1354 if (bytes <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in startVideoRecording()
730 Storage.instance().ensureOSXCompatible(); in addIdleHandler()1374 if (mActivity.getStorageSpaceBytes() <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in onShutterButtonClick()1607 && (mActivity.getStorageSpaceBytes() > Storage.LOW_STORAGE_THRESHOLD_BYTES); in canTakePicture()
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()1348 mPicturesRemaining = Storage.getAvailableSpace(); in checkStorage()1349 if (mPicturesRemaining > Storage.LOW_STORAGE_THRESHOLD) { in checkStorage()1350 mPicturesRemaining = (mPicturesRemaining - Storage.LOW_STORAGE_THRESHOLD) in checkStorage()1351 / Storage.PICTURE_SIZE; in checkStorage()1509 if (mPicturesRemaining == Storage.UNAVAILABLE) { in updateStorageHint()1511 } else if (mPicturesRemaining == Storage.PREPARING) { in updateStorageHint()1513 } 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()
22 import com.android.camera.Storage;68 StackSaverFactory mStackSaverFactory = new StackSaverFactory(Storage.instance().DIRECTORY, in CameraServicesImpl()
481 Smart Storage;toggle_asm498 Storage;storage_dashboard_screen499 Storage;storage_settings500 Storage;top_level_storage501 Storage type;credential_storage_type
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()
47 import com.android.camera.Storage;325 mRawDirectory = new File(Storage.instance().DIRECTORY, "DNG"); in OneCameraImpl()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...