Home
last modified time | relevance | path

Searched refs:Storage (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java28 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()
DStackSaverImpl.java25 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()
/packages/apps/Camera2/src/com/android/camera/data/
DSessionItem.java26 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()
DFilmstripContentQueries.java24 import com.android.camera.Storage;
64 String cameraPath = Storage.instance().DIRECTORY + "%"; in forCameraPath()
DFilmstripItemBase.java22 import com.android.camera.Storage;
149 String cameraPathStr = Storage.instance().DIRECTORY; in deleteIfEmptyCameraSubDir()
DPhotoItem.java29 import com.android.camera.Storage;
225 return Storage.instance().getPlaceholderForSession(data.getUri()); in generateThumbnail()
DCameraFilmstripDataAdapter.java25 import com.android.camera.Storage;
353 Uri sessionUri = Storage.instance().getSessionUriFromContentUri( in onPostExecute()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java30 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()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java48 public class Storage { class
74 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
DCameraActivity.java240 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()
DFatalErrorHandlerImpl.java42 UsageStatistics.instance().storageWarning(Storage.ACCESS_FAILURE); in onMediaStorageFailure()
DMediaSaverImpl.java182 return Storage.instance().addImage( in doInBackground()
DVideoModule.java1163 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()
DPhotoModule.java730 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()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java686 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 …]
DCamera.java410 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()
DThumbnail.java202 ImageColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastImageThumbnail()
227 String selection = VideoColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastVideoThumbnail()
DStorage.java32 public class Storage { class
DMenuHelper.java151 .appendQueryParameter("bucketId", Storage.BUCKET_ID).build(); in gotoGallery()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraServicesImpl.java22 import com.android.camera.Storage;
68 StackSaverFactory mStackSaverFactory = new StackSaverFactory(Storage.instance().DIRECTORY, in CameraServicesImpl()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list481 Smart Storage;toggle_asm
498 Storage;storage_dashboard_screen
499 Storage;storage_settings
500 Storage;top_level_storage
501 Storage type;credential_storage_type
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java30 import com.android.camera.Storage;
951 Uri uri = Storage.addImage(getContentResolver(), filename, mTimeTaken, null, in savePanorama()
954 String filepath = Storage.generateFilepath(filename); in savePanorama()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java47 import com.android.camera.Storage;
325 mRawDirectory = new File(Storage.instance().DIRECTORY, "DNG"); in OneCameraImpl()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12