Home
last modified time | relevance | path

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

12

/packages/apps/Camera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java96 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
151 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
173 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
195 Uri uri = Uri.fromFile(mFile);
207 uri = Uri.fromFile(mFile2);
DImageCaptureIntentTest.java75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java103 Uri uri = Uri.fromFile(mFile); in testExtraOutput()
158 Uri uri = Uri.fromFile(mFile); in testExtraSizeLimit()
180 Uri uri = Uri.fromFile(mFile); in testExtraDurationLimit()
202 Uri uri = Uri.fromFile(mFile);
214 uri = Uri.fromFile(mFile2);
DImageCaptureIntentTest.java80 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); in testExtraOutput()
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java257 final Uri croppedPhotoUri = Uri.fromFile(new File(croppedPhotoPath)); in getPhotoPickIntent()
268 final Uri inputPhotoUri = Uri.fromFile(new File(inputPhotoPath)); in getCropImageIntent()
269 final Uri croppedPhotoUri = Uri.fromFile(new File(croppedPhotoPath)); in getCropImageIntent()
282 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(newPhotoPath))); in getTakePhotoIntent()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DAttachmentUtilitiesTests.java112 Uri.fromFile(new File("a.png"))); in testInferMimeTypeForUri()
116 Uri.fromFile(new File("/a/b/c/d.png"))); in testInferMimeTypeForUri()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportListActivity.java113 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); in onListItemClick()
141 intent.setDataAndType(Uri.fromFile(file), "vnd.android/bugreport"); in onContextItemSelected()
/packages/apps/Camera/src/com/android/camera/
DThumbnail.java72 public void setFromFile(boolean fromFile) { in setFromFile() argument
73 mFromFile = fromFile; in setFromFile()
76 public boolean fromFile() { in fromFile() method in Thumbnail
DActivityBase.java332 if (mThumbnail != null && !mThumbnail.fromFile()) { in saveThumbnailToFile()
DCamera.java1462 tempUri = Uri.fromFile(path); in doAttach()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java73 public void setFromFile(boolean fromFile) { in setFromFile() argument
74 mFromFile = fromFile; in setFromFile()
77 public boolean fromFile() { in fromFile() method in Thumbnail
DCamera.java1414 tempUri = Uri.fromFile(path); in doAttach()
1595 if (!mIsImageCaptureIntent && mThumbnail != null && !mThumbnail.fromFile()) { in onPause()
/packages/apps/Browser/src/com/android/browser/
DUploadHandler.java80 result = Uri.fromFile(cameraFile); in onResult()
251 cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(mCameraFilePath))); in createCameraIntent()
/packages/apps/Mms/src/com/android/mms/
DTempFileProvider.java156 return Uri.fromFile(newTempFile); in renameScrapFile()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java149 path = Uri.fromFile(new File(fileName)); in queryTransfersInBatch()
187 path = Uri.fromFile(new File(fileName)); in openReceivedFile()
DBluetoothOppLauncherActivity.java223 fileUri = Uri.fromFile(new File(context.getFilesDir(), fileName)); in creatFileForSharedContent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java195 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); in emailFile()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java83 mTempPhotoUri = Uri.fromFile(mTempPhotoFile); in onCreate()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java150 path = Uri.fromFile(new File(filename)); in openDownload()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java465 return Uri.fromFile(outputFile); in createTempEmlFile()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java321 return Uri.fromFile(mTestDirectory).buildUpon().appendPath("testfile.txt").build(); in getExternalUri()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverManager.java1067 uri = Uri.fromFile(new File(uri.getPath()));
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java830 if (mThumbnail != null && !mThumbnail.fromFile()) { in saveThumbnailToFile()
/packages/apps/Music/src/com/android/music/
DMusicUtils.java737 return Uri.fromFile(new File(path)); in getContentURIForPath()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java1585 Uri.fromFile(file))); in copyPart()
2811 Uri uri = Uri.fromFile(file); in onActivityResult()

12