Searched refs:newFile (Results 1 – 3 of 3) sorted by relevance
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | DragSourceFragment.java | 204 File newFile = new File(filePath, targetName); in getFileUri() local 205 if (!newFile.exists()) { in getFileUri() 206 copyImageResourceToFile(sourceResourceId, newFile); in getFileUri() 210 return FileProvider.getUriForFile(getContext(), CONTENT_AUTHORITY, newFile); in getFileUri()
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
D | DragSourceFragment.java | 204 File newFile = new File(filePath, targetName); in getFileUri() local 205 if (!newFile.exists()) { in getFileUri() 206 copyImageResourceToFile(sourceResourceId, newFile); in getFileUri() 210 return FileProvider.getUriForFile(getContext(), CONTENT_AUTHORITY, newFile); in getFileUri()
|
/developers/samples/android/content/SharingShortcuts/Application/src/main/java/com/example/android/sharingshortcuts/ |
D | MainActivity.java | 145 File newFile = new File(imagePath, IMAGE_FILE); in saveImageThumbnail() local 146 return FileProvider.getUriForFile(this, FILE_PROVIDER_AUTHORITY, newFile); in saveImageThumbnail()
|