Home
last modified time | relevance | path

Searched refs:shareIntent (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DMemoryDumpActivity.java118 Intent shareIntent = new Intent(Intent.ACTION_SEND); in dumpHprofAndShare()
119 shareIntent.setType("application/zip"); in dumpHprofAndShare()
122shareIntent.putExtra(Intent.EXTRA_SUBJECT, String.format("Launcher memory dump (%d)", myPid)); in dumpHprofAndShare()
131 shareIntent.putExtra(Intent.EXTRA_TEXT, body.toString()); in dumpHprofAndShare()
136 shareIntent.putExtra(Intent.EXTRA_STREAM, pathUri); in dumpHprofAndShare()
137 context.startActivity(shareIntent); in dumpHprofAndShare()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java112 final Intent shareIntent = new Intent(); in updateShareActionProvider() local
113 shareIntent.setAction(Intent.ACTION_SEND); in updateShareActionProvider()
114 shareIntent.setType(contentType); in updateShareActionProvider()
115 shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(photoUri)); in updateShareActionProvider()
116 mShareActionProvider.setShareIntent(shareIntent); in updateShareActionProvider()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java120 Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND); in onStartCommand() local
121 shareIntent.setType("text/plain"); in onStartCommand()
122 shareIntent.putExtra(Intent.EXTRA_SUBJECT, Stopwatches.getShareTitle( in onStartCommand()
124 shareIntent.putExtra(Intent.EXTRA_TEXT, Stopwatches.buildShareResults( in onStartCommand()
126 Intent chooserIntent = Intent.createChooser(shareIntent, null); in onStartCommand()
DStopwatchFragment.java563 final Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND); in shareResults() local
564 shareIntent.setType("text/plain"); in shareResults()
565 shareIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in shareResults()
566 shareIntent.putExtra(Intent.EXTRA_SUBJECT, in shareResults()
568 shareIntent.putExtra(Intent.EXTRA_TEXT, Stopwatches.buildShareResults( in shareResults()
572 final Intent launchIntent = Intent.createChooser(shareIntent, in shareResults()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java387 final Intent shareIntent = new Intent();
388 shareIntent.setAction(Intent.ACTION_SEND);
390 shareIntent.putExtra(Intent.EXTRA_TEXT, data.getText());
391 shareIntent.setType("text/plain");
393 shareIntent.putExtra(
395 shareIntent.setType(attachmentToShare.getContentType());
398 startActivity(Intent.createChooser(shareIntent, title));
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java425 public void setShareIntents(Intent sharePanoramaIntent, Intent shareIntent, in setShareIntents() argument
431 mShareIntent = shareIntent; in setShareIntents()
433 mShareActionProvider.setShareIntent(shareIntent); in setShareIntents()
DPhotoPage.java364 Intent shareIntent = createShareIntent(mCurrentPhoto); in onCreate()
366 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); in onCreate()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java426 Intent shareIntent = getShareIntentByData(data);
427 if (shareIntent != null) {
429 launchActivityByIntent(shareIntent);